开源一个C缓存库

简介

在当下的视频点播应用场景下,端侧对视频缓存的需求可谓刚需,一方面可以为公司节省流量成本,一方面可以提升用户的播放体验,有一石二鸟之效。

近期,本人用C写了一个缓存库,支持iOS/Android/harmony系统,并在以上3个平台自测过,MIT license,开箱即用。

特性

  1. Cross-Platform Support: Supports video caching on Android, iOS, and HarmonyOS.
  2. Video Format Support: Supports caching of MP4 and HLS video formats.
  3. HTTP Caching Proxy : A high-performance HTTP caching proxy built with libevent.
  4. HTTP 302 Redirection Support: Handles HTTP 302 redirects to ensure proper video resource access.
  5. Domain IP Pool Support: Configurable IP pools for domains, offering flexible resource access.
  6. Cache Management: Supports customizable cache eviction mechanisms.
  7. LRU Eviction Strategy: Implements an LRU (Least Recently Used) cache eviction strategy to ensure cache efficiency.

github地址

C缓存库Github地址

欢迎使用,欢迎就使用问题交流。

相关推荐
Hello.Reader2 小时前
Redis 延迟排查与优化全攻略
数据库·redis·缓存
在肯德基吃麻辣烫14 小时前
《Redis》缓存与分布式锁
redis·分布式·缓存
先睡20 小时前
Redis的缓存击穿和缓存雪崩
redis·spring·缓存
CodeWithMe1 天前
【Note】《深入理解Linux内核》 Chapter 15 :深入理解 Linux 页缓存
linux·spring·缓存
大春儿的试验田2 天前
高并发收藏功能设计:Redis异步同步与定时补偿机制详解
java·数据库·redis·学习·缓存
likeGhee2 天前
python缓存装饰器实现方案
开发语言·python·缓存
C182981825752 天前
OOM电商系统订单缓存泄漏,这是泄漏还是溢出
java·spring·缓存
西岭千秋雪_2 天前
Redis性能优化
数据库·redis·笔记·学习·缓存·性能优化
en-route2 天前
HTTP 缓存
网络协议·http·缓存
苦夏木禾2 天前
js请求避免缓存的三种方式
开发语言·javascript·缓存