Py学习  »  Python

【moka-py:一个用Rust实现的高性能Python缓存库,-20241204193654

爱可可-爱生活 • 7 月前 • 177 次点击  

2024-12-04 19:36

【moka-py:一个用Rust实现的高性能Python缓存库,提供线程安全的内存缓存功能。支持TTL(生存时间)和TTI(空闲时间)自动失效机制,基于TinyLFU策略的大小限制淘汰,以及高并发访问优化。可作为Python内置@lru_cache的替代品,且支持异步函数缓存】

'A high performance caching library for Python written in Rust - This library allows you to leverage the power of Moka's high-performance, feature-rich cache in your Python projects'

GitHub: github.com/deliro/moka-py

#Python缓存# #高性能# #并发编程# #Rust#
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/176541
 
177 次点击