Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6886599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:46:46+00:00 2026-05-27T05:46:46+00:00

Ok, so I previously asked a question asking about my options, I have looked

  • 0

Ok, so I previously asked a question asking about my options, I have looked into sockets.io and redis, and really like what I see.

Anyway, I would like to have multiple clients connected to a node.js server. Then when my redis db has a change, for example some boolean from 0 to 1, I want all node.js connections to send this update to all clients.

I am not looking for some code to loop and check for this change, I am wondering how I can fire an event to specific clients when a change is made in a redis db. Any psuedo code to help me get my mind around this, would be awesome. I would also really appreciate any node.js code that shows how to hook an event to changes in a redis instance.

Cheers, Josh

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:46:47+00:00Added an answer on May 27, 2026 at 5:46 am

    I can’t write any node.js code for you, but sounds like what you want is exactly what Redis’s pub/sub functionality is for:

    http://redis.io/topics/pubsub

    Each node.js client would subscribe to a channel, where they will block/wait for messages to arrive. No looping/polling required.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've previously asked a question of about Delegates does anyone have a must have
Refering to a previously asked question , I would like to know how to
I previously asked a question about chaining conditions in Linq To Entities. Now I
I asked a similar question about this previously, but I did not specify that
I hope I am not repeating any previously asked question. Anyway, so Google Wave
I previously asked a question that I still have not been able to solve:
I previously asked a question about how to chaining exceptions in C++, and one
I previously asked a question on stack overflow about how to format my date
I've previously asked a question about designing a service that receives video files, sends
I have previously asked a question on how to echo the url of images

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.