Chinahoubb/cache
The basic cache tool for java.(java 手写实现渐进式 redis 缓存工具,高性能+可拓展性强)
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
🚀 houbb/cache: Cache Java mở rộng, lập trình fluent, giống Redis
Framework cache Java mã nguồn mở, thiết kế fluent API, hỗ trợ nhiều chiến lược evict/expire/load/persist tùy biến, mô hình giống Redis.
houbb/cache là framework cache địa phương (local cache) cho Java, mục tiêu cung cấp công cụ cache đơn giản, dễ dùng và có khả năng mở rộng cao. Phù hợp cho phát triển đa tầng (multi-level cache) và học tập xây dựng cache tương tự Redis.
✨ Điểm nổi bật
- Fluent API: lập trình theo phong cách fluent, trải nghiệm trôi chảy.
- Cấu hình size cố định: hỗ trợ giới hạn số lượng phần tử cache.
- Chiến lược map tùy biến: hỗ trợ ConcurrentHashMap, HashMap mặc định.
- Chiến lược evict đa dạng: FIFO, LRU, LRU DoubleListMap, LRU2Q, LRU2.
- Hỗ trợ expire: thiết lập thời gian hết hạn cho từng key, tương tự Redis.
- Load/Persist: hỗ trợ khởi tạo dữ liệu và lưu trữ lâu dài (RDB/AOF).
- Listener tùy biến: theo dõi và xử lý sự kiện cache.
- Tích hợp logging thông minh: tự động phát hiện framework log phổ biến.
💡 Vì sao đáng chú ý
Framework này không chỉ cung cấp chức năng cache cơ bản mà còn thiết kế để dễ dàng mở rộng, giúp người dùng tùy chỉnh các chiến lược lưu trữ, xóa bỏ và hết hạn. Đặc biệt phù hợp cho người mới học và các dự án cần cache đơn giản nhưng linh hoạt. Mô hình thiết kế giống Redis giúp người dùng dễ dàng chuyển đổi và tích hợp.
#Java #Cache #Redis #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
A flexible distributed key-value database that is optimized for caching and other realtime workloads.
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
Overlord是哔哩哔哩基于Go语言编写的memcache和redis&cluster的代理及集群管理功能,致力于提供自动化高可用的缓存服务解决方案。
A local reactive cache for Java and Android. Now, it supports heap memory、off-heap memory and disk cache.