> For the complete documentation index, see [llms.txt](https://docs.proudnet.com/proudnet.eng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.proudnet.com/proudnet.eng/proudnet/db_system/db_cache_ver2.md).

# DB Cache System ver.2

<mark style="color:orange;">ProudNet Database Cache System version 2</mark> reduces the number of database accesses with cache techniques, while at the same time allowing game server developers to develop games without having to consider the time spent waiting for database accesses.

It can be more useful if you do not have much experience in implementing database schemas and DB cache systems for online games.

## Roles

> 1. Accessing game-related databases cache
> 2. Arbitrating asynchronous database access
> 3. Non-exclusive access features:\
>    Prevent database access from web services and billing systems, not just game servers, from disturbing the database

It provides access to a wide range of user-defined data and is useful for handling data such as a gamer's character, inventory items, friend list, etc. or the state of the game world (e.g. items on the ground, monster distribution, battlefield occupancy, etc.) from the game server to the database.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.proudnet.com/proudnet.eng/proudnet/db_system/db_cache_ver2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
