Batch Saving

I have implemented a new saving process on the server to improving the speed and efficiency when handling multiple updates. Previously, to make sure user updates are properly saved, each request is put to a queue, then processed individually, with an average save time of 3 seconds per update. If the user is at the 8th queue, the total wait time could reach up to 15 seconds.
This setup worked at the time the centralized server went up and the player count was low. Today, the average count is up-to 50 players online daily and even reached ๐ฏโผ๏ธ (a new peak record!). At this point, the old setup was too slow for most users.
With the new batch-saving method, updates are grouped into batches of 8 and processed together. This reduces the overall save time to just 3 seconds per batch, drastically cutting down on delays and improving system responsiveness. The wait time might not be that much but the last in queue would definitely feel this change.
This is just the first step toward a smoother and more optimized experience. Additional changes will be added soon to reinforce this new update.
DT: Basketball
Status | In development |
Author | JayteeGameDev |
Genre | Simulation, Sports, Strategy |
Tags | Basketball, basketball-manager, Indie, Mouse only, Point & Click |
More posts
- Trading is Open (again)Mar 24, 2025
- Server Backup ImprovementsMar 17, 2025
- Spring cleaning in JanuaryJan 11, 2025
- Post-Merger: Success & What's next?Jan 07, 2025
- Merger Day! ๐ ๐ ๐ฅณJan 06, 2025
- Pre-merger day thoughts (1)Jan 05, 2025
- Merger Day 2025!Dec 31, 2024
Comments
Log in with itch.io to leave a comment.
๐๐ป๐๐ป๐๐ป
power
Lets go!