Exclusive data loading is a basic usage in DB cache. Please refer to Exclusive Load for more detail.
ProudNet Database Cache System version 2 provide accessing pattern as followed.
Access Pattern | Example | Get cached | Immediately return | Require exclusive loading | Internal process form |
Change a data unilaterally | Change player character information frequently during game play | YES | YES | YES | Get Cached in memory then write in DB |
Change request responding type data | Create new player character with unique name | NO | NO | YES | When write in DB is succeed then get cached in memory |
Accessing non-exclusive data | Buy charge item from web server | NO | NO | NO | When write in DB is succeed then get cached in memory |