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

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

相关推荐
bing_1585 小时前
在多租户或多服务共享 Redis 时,如何做逻辑隔离或权限控制?
数据库·redis·缓存
zfoo-framework12 小时前
线上redis的使用
数据库·redis·缓存
it自16 小时前
Redisson在Spring Boot项目中的集成与实战
java·spring boot·redis·后端·缓存
爱敲代码的TOM17 小时前
手撕Redis源码1-数据结构实现
数据库·redis·缓存
Juicedata17 小时前
从资源闲置到弹性高吞吐,JuiceFS 如何构建 70GB/s 吞吐的缓存池?
缓存
AI手记叨叨18 小时前
Python LRU缓存应用与示例
python·缓存
CHEN5_0218 小时前
【Java面试题】缓存穿透
java·开发语言·数据库·redis·缓存
泥泞开出花朵19 小时前
LRU缓存淘汰算法的详细介绍与具体实现
java·数据结构·后端·算法·缓存
拾荒的小海螺1 天前
Redis:缓存雪崩、穿透、击穿的技术解析和实战方案
java·redis·缓存