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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:41:55+00:00 2026-06-13T06:41:55+00:00

I have server objects that have corresponding client objects. The data to be kept

  • 0

I have server objects that have corresponding client objects. The data to be kept in sync is inside the server object’s key/value dictionary. To keep the client objects in sync with the sever objects, I want the server to send the key/value dictionary every frame for each object.

What data-structure/algorithm will allow me to send a list of key/value dictionaries using the least amount of bits?

Bonus constraint 1: For each type of object, the values of some keys change more often than others.
Bonus constraint 2: Memory usage on the server side is relatively expensive.

  • 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-13T06:41:56+00:00Added an answer on June 13, 2026 at 6:41 am

    You don’t need to send the whole dictionary. Instead, send just what’s changed.

    You don’t need to send it each frame. Instead, send it on regular intervals that have nothing to do with the frame rate.

    An important idea to keep in mind in the second point is that clients can predict changes in game state – the game can go on to be simulated in between receiving information from the server, and then only has to correct the mistakes after it receives authoritative information from the server again.

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

Sidebar

Related Questions

I have some code that uses the SQL Server 2005 SMO objects to backup
I have a Javascript object that requires 2 calls out to an external server
I have a Python application in the bottle web-server that accesses a C shared-object
I have a few Java classes that implements Serialization, and corresponding AS objects (self-generated
i have a java process that reads data from a socket server. Thus i
I have a List of Java objects on my server which is sent to
I have a server application with such structure: There is one object, call him
I have an object I pass to a WCF service. Then on the server,
Currently I have an object which I receive from a server, this contains two
I have a client-server Silverlight application, which is use Socets. I have server appliaction

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.