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

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

相关推荐
代码老y3 小时前
Redis:现代应用开发的高效内存数据存储利器
数据库·redis·缓存
zz0723204 小时前
第二十周:Redis(二)
数据库·redis·缓存
泽韦德7 小时前
【Redis】笔记|第10节|京东HotKey实现多级缓存架构
redis·笔记·缓存
麓殇⊙9 小时前
redis--黑马点评--Redisson快速入门
数据库·redis·缓存
whltaoin12 小时前
Redis专题-实战篇一-基于Session和Redis实现登录业务
redis·缓存·springboot
华清远见成都中心14 小时前
大语言模型(LLM)中的KV缓存压缩与动态稀疏注意力机制设计
人工智能·缓存·语言模型
张哈大15 小时前
【 java 虚拟机知识 第一篇 】
java·开发语言·jvm·笔记·缓存
伤不起bb19 小时前
Redis 哨兵模式
数据库·redis·缓存
迪迦不喝可乐19 小时前
Redis 知识点一
redis·缓存
呼拉拉呼拉19 小时前
Redis知识体系
数据库·redis·缓存·知识体系