开源一个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地址

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

相关推荐
产幻少年16 小时前
redis位图
数据库·redis·缓存
短剑重铸之日17 小时前
《7天学会Redis》Day 4 - 高可用架构设计与实践
数据库·redis·缓存
難釋懷17 小时前
认识Redis
数据库·redis·缓存
超级种码17 小时前
Redis:Redis脚本
数据库·redis·缓存
此生只爱蛋19 小时前
【Redis】事务
数据库·redis·缓存
橘子真甜~20 小时前
Reids命令原理与应用5 - Redis 主从同步与高可用集群
运维·网络·数据库·redis·缓存·redis集群·redis高可用
2501_9481949820 小时前
RN for OpenHarmony AnimeHub项目实战:放送时间表页面开发
数据库·redis·缓存
想摆烂的不会研究的研究生20 小时前
每日八股——Redis(3)
数据库·redis·后端·缓存
橘子的代码日记1 天前
[redis]黑马点评-商品类型缓存(课后练习)
缓存
Codeking__1 天前
Redis的value类型介绍——zset
数据库·redis·缓存