Devlog 12
This devlog is now much more about the server side of things as that has been my focus right now.
The way this all works is I have a realtime python server connect to my database and all clients. Clients are put into a realtime channel with all their teammates. When the first user of a team joins, the python server pulls all that team’s scouting data from the database and keeps it in memory. This is to speed up request response times. When a second, third, fourth, so on, user of a team joins, the server instead just gives them the data it has in memory instead of the database. To keep this all in sync, the server updates its version of that group’s data as soon as it is successfully saved to the database.
It takes time to set this all up, and the parts of synchronization that I have completed so far are:
- Competition code changes
- Setting competitions to custom
- Adding an individual team
- Adding teams from API at the start
- Adding an individual match
- Adding matches from API at the start
I have done one thing for the UI though, and that is finally adding a 404 page. I designed this 404 with the magnifying glass in the middle as the 0.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.