---
title: "Comment by SnowRSPS on \"First post on creating my game\" | Hashnode"
description: "Good luck with it! A tip for an idle game on Spring + MySQL: don't run a timer per player. Store a last_updated timestamp and compute progress lazily when the p"
url: "https://hashnode.com/posts/first-post-on-creating-my-game/68961e36e57d262366023408/comment/6ae4205edbf0dcc99a55bb8f"
---

[Discussion](https://hashnode.com/posts/first-post-on-creating-my-game/68961e36e57d262366023408)

Comment [First post on creating my game](https://hashnode.com/posts/first-post-on-creating-my-game/68961e36e57d262366023408)

[SnowRSPS](https://hashnode.com/@snowrsps)

[Oct 30](https://hashnode.com/posts/first-post-on-creating-my-game/68961e36e57d262366023408/comment/6ae4205edbf0dcc99a55bb8f)

Good luck with it! A tip for an idle game on Spring + MySQL: don't run a timer per player. Store a `last_updated` timestamp and compute progress lazily when the player loads or acts (elapsed time × rate, capped). It scales much better and makes offline progress free. I've run a Java game server (SnowRSPS) for years, and anything ticking per player on the DB was always the first bottleneck. Looking forward to the next devlog.
