Skip to content

Optimize socket connections from the server #7

@cforcomputer

Description

@cforcomputer
  • Implement Progressive Loading:

  • Optimize DOM Updates:

  • Use the 24 hour client killmail store (~3000 killmails) and keep it in sync

  • What should happen is that the server performs all the calculations using a single central store that is synced with the server using the current socket system.

  • No separate socket for camps, roams, battles,salvage,etc.

  • All use the single socket connection store established when the server starts for the calculations, which are done on the client. This means that for example, camps would be processed as the killmails arrived, but would still be in sync with all other clients because they all have the exact same killmails store.

  • The server uses its cache store of killmails and spits them all over to a connected client (last 24 hours of kills), so that server and client have the same number of kills at all times.

  • The server sends to client in order of newest first to oldest killmails so camps,salvagefields, and roams (all occur the in the last 2 hours) can be calculated first for the new clients.

  • campManager and roamManager should be moved clientside (rip)

  • server.js calculations should be moved into campManager and roamManager. Since we are keeping server and client separate, they should be moved into campManager and roamManager respectively.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions