半路出家○猿

0 声望

这家伙太懒,什么都没留下

个人动态
  • 半兽人 回复 半路出家○猿kafka持久化 中 :

    感谢,已优化。

    6年前
  • 半路出家○猿kafka持久化 发表评论:

    This suggests a design which is very simple: rather than maintain as much as possible in-memory and flush it all out to the filesystem in a panic when we run out of space, we invert that. All data is immediately written to a persistent log on the filesystem without necessarily flushing to disk. In effect this just means that it is transferred into the kernel's pagecache.
    感觉这里这样翻译可能更合适。
    这带来一种更简单设计:所有数据不需要落盘,直接写入文件系统的持久日志。而不是在内存中存储尽可能多的数据,然后在内存用尽崩溃时才全部写入文件系统

    6年前