java - Caching objects for later reuse to avoid persistence to recreate them -
i have idea of caching objects have been created slight performance gain. types of objects i'm thinking of stuff player objects in game. think beneficial have cached copy of player ready avoid io/persistence.
the idea sounds great have issues(?) guess idea. player data stored on sql database. if make change database, cached copy on server different. run task check objects up-to-date there no point in initial idea.
could have advice on should do?
Comments
Post a Comment