# cache **Repository Path**: tercero/cache ## Basic Information - **Project Name**: cache - **Description**: erlang 内数据缓存 - **Primary Language**: Erlang - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-27 - **Last Updated**: 2022-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cache #### 介绍 erlang 内嵌数据缓存 #### 使用说明 1. 数据库每张表对应一个缓存进程 2. db_load 在数据库没有查询到时,请初始化该条数据 3. ets 保证了数据永远是最新的,脏数据复制在进程字典内,与 ets 无关 4. 为了保证数据原子性,缓存为单进程阻塞模式