# 文件写入优化 **Repository Path**: danyumo1/file-write-optimize ## Basic Information - **Project Name**: 文件写入优化 - **Description**: No description available - **Primary Language**: Java - **License**: Unlicense - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-01-18 - **Last Updated**: 2022-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 写入文件优化 参照 MySQL 的 binlog 刷盘机制进行实现,写缓存,而不是写文件。 再使用一个定时任务,定时刷盘。这样丢失数据的话,只会丢失内存中的数据。 有问题欢迎指出哈