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 6757415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:38:55+00:00 2026-05-26T13:38:55+00:00

Before starting to write my application I need to know what to do when

  • 0

Before starting to write my application I need to know what to do when a single node.js instance (express and (socket.io or nowjs)) isn’t enough anymore.

You might tell me now, that I shouldn’t care about scale until it’s about time but I don’t want to develop an application and run into trouble because you can’t easily scale socket.io or nowjs across multiple instances.

I recently read that socket.io now supports a way to scale using Redis (which I also have no experience in). Nowjs is build on to of socket.io – does it work the same way? On nowjs.org you can read that a “distributed version of NowJS” is under development and is going to cost money.

  • 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-26T13:38:56+00:00Added an answer on May 26, 2026 at 1:38 pm

    If you need to scale node, the first place people usually start is putting a load balancer in front of multiple node instances. The standard for this today is nginx, though I would would like to check out the node balancer ‘bouncy’ that came out recently. Here’s an example of someone using the nginx reverse proxy to manage multiple node instances:

    Node.js + Nginx – What now?

    The second thing you mention is socket.io/nowjs. Depending on how you’re using these frameworks, you could get into a situation where you want to share context between clients who are hitting multiple node.js instances. If this is the case, I would recommend using a persistent store, like redis, to bridge the gap between your node instances. Here’s an example:

    How to reuse redis connection in socket.io?

    Hopefully this is enough information and reading to get you started, let me know if you have any questions.

    Happy coding!

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

Sidebar

Related Questions

As we know UML contains 13 types of diagrams (structural and behavioral) before starting
I'm starting to develop an application using MySQL and although I've developed apps before
I need to write a C# application calling a command line tool (probably written
I am starting to be proficient enough with C++ so that I can write
I am starting to write an application that will output an OpenOffice document. The
I was waiting for the stable release of Netbeans 6.7 before starting to use
Please note that this is not homework and i did search before starting this
My program does some network activity in a background thread. Before starting, it pops
Although I played with it before, I'm finally starting to use Dvorak (Simplified) regularly.
Before you answer this I have never developed anything popular enough to attain high

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.