Skip to content

Releases: orca-zhang/ecache

v1.1.1

28 Jan 08:34
Compare
Choose a tag to compare

🛠️ 修正桶大小设置为最大值 65535 时会出现panic的问题

感谢 Shinena1998 反馈的 #7


🛠️ fix for panic when bucket size set to max 65535

Thanks to #7 from Shinena1998

v1.1.0

11 Jan 08:10
Compare
Choose a tag to compare
  • 🚀 性能优化
    • ⏱️ GC耗时相关:减少指针,使用预分配空间和索引表重构双链表,复用时间戳标记删除
    • 🔌 添加PutInt64/PutBytes/GetInt64/GetBytes高性能方法适应不同场景
  • 🧪 优化时间回跳场景下的问题
    • 🪛 使用expireAt,防止超过指定的过期时间

注意⚠️: InspectWalk方法签名不兼容,添加了一个[]byte参数


  • 🚀Performance optimization
    • ⏱️ GC time-consuming related: reduce pointer, use pre-allocated space and index table to refactor double-linked list, reuse timestamp to mark deletion
    • 🔌 Add PutInt64/PutBytes/GetInt64/GetBytes high performance methods to adapt to different scenarios
  • 🧪 Optimize the problem under time jump scene
    • 🪛 Use expireAt to prevent exceeding the specified expiration time

Notice⚠️: Inspect and Walk method signatures are NOT compatible, a []byte parameter has been added

v1.0.5

31 Dec 02:35
Compare
Choose a tag to compare
  • rename from orcache to ecache

v1.0.4

29 Dec 09:11
4a088b7
Compare
Choose a tag to compare

🎖️支持缓冲队列模式(support BufferQueue mode)

  • 支持永久有效的缓存项(support permanent items)
  • 补齐监听器回调(make up for inspect events left-behind)
    • PUT在发生驱逐时,插入和更新未回调
    • GET在LRU-2模式下,如果发生了level0->level1,且level1满时,驱逐未回调
  • 监听器添加value字段(add value field for inspector)

v1.0.3

24 Dec 07:42
Compare
Choose a tag to compare

🤏 代码量<300行、30s完成接入
🚀 高性能、极简设计、并发安全
🏳️‍🌈 支持LRU 和 LRU-2两种模式
🦖 额外小组件支持分布式一致性