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

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

相关推荐
xujiangyan_1 小时前
Redis详解
数据库·redis·缓存
程序员小凯6 小时前
Spring Boot缓存机制详解
spring boot·后端·缓存
夜泉_ly9 小时前
Redis -持久化
数据库·redis·缓存
235169 小时前
【LeetCode】146. LRU 缓存
java·后端·算法·leetcode·链表·缓存·职场和发展
zym大哥大13 小时前
Redis-Zest
数据库·redis·缓存
zl97989913 小时前
Redis-stream、bitfield类型
数据库·redis·缓存
心随雨下14 小时前
Redis中Geospatial 实际应用指南
数据库·redis·分布式·缓存
Dreams_l16 小时前
初识redis(分布式系统, redis的特性, 基本命令)
数据库·redis·缓存
lypzcgf19 小时前
FastbuildAI后端Redis模块注册分析
redis·缓存·ai应用·ai创业·智能体平台·ai应用平台·agent平台
Lu Yao_1 天前
Redis 持久化
数据库·redis·缓存