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

  • SEARCH
  • Home
  • 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 9198213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:14:04+00:00 2026-06-17T22:14:04+00:00

I write node.js application with websockets based on sockjs and I need to make

  • 0

I write node.js application with websockets based on sockjs and I need to make minimal update time on client.

Events in application occur every Nms (e.g. 20ms) and I need make broadcast changes to users as fast as I can.

Every update is 100-200 bytes.
Ping to sever is 90-200ms.

If I send message every time event happened – there is some lags on client app and..
It’s bad idea by design.

If I send message every Nms (e.g 200ms) – updates on client looks more smooth, but there is too many "frame drops"

Is this good idea to mix this methods and send

Maybe I need to make "no-necessarily" updates which will overwrite if "second" update will come earlier than "first", because ping.. And how to "drop frame" if there is heap of updates on client.

What’s the best way to broadcast updates to user? Thanks.

  • 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-06-17T22:14:05+00:00Added an answer on June 17, 2026 at 10:14 pm

    Only one thing I can recommend, it’s look at the source code of meteor.js They use latency compensation and SockJS.

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

Sidebar

Related Questions

I am trying to write a node.js application, and we need to deploy it
I can make my program write a .dat file with an array of Node
I write scalable application with node.js and have a problem. When I click on
Before starting to write my application I need to know what to do when
I want to write one web application with node.js and MongoDB and I have
I am developing a webbased business application (JS/node) that, on some client machines, needs
I am trying to write server side for my web application using Node.js. The
I will need to write an interactive web application, where most of the work
I'm trying to write a basic chat application with Node.js (Express), and Socket.io. Everything
I'm trying to write a Ruby script that interacts with a Node.js REPL. When

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.