iOS/OS X 对象缓存解决方案 YMCache

码农软件 · 软件分类 · 其他(Others) · 2019-07-18 07:43:04

软件介绍

YMCache 是 iOS 和 Mac OS X 的轻量级对象缓存解决方案, 设计用于高度并行访问场景。

YMCache 提供一个类似 NSMutableDictionary 的界面,同时利用苹果公司的 Grand Central Dispatch 技术,以便在性能和一致性之间取得平衡。

Yahoo Finance iOS 团队使用 YMCache 以复用接入其有数千实时股票的数据库,这些数据以难以预料的方式和节奏变化着。YMCache 通过提供一组容易理解的 reader-writer 访问语法,帮助缓解多线程访问中央数据库的复杂程度。

特性:

  • Persistence: 一次性或在定义的间隔时间内,从 disk 保存/加载缓存

  • Eviction: 使用任何你需要的逻辑来处理内存不足的情况

  • Serialization: 任意模型转换来,您可以使用 Mantle,或者 NSJSONSerialization,或者你能想到的任何其他格式!

  • Bulk operations: 高效的多值读/写。 (批量操作遵循 Parallel Access 规则,但算作一个单独的操作)

本文地址:https://www.codercto.com/soft/d/10379.html

Twenty Lectures on Algorithmic Game Theory

Twenty Lectures on Algorithmic Game Theory

Tim Roughgarden / Cambridge University Press / 2016-8-31 / USD 34.99

Computer science and economics have engaged in a lively interaction over the past fifteen years, resulting in the new field of algorithmic game theory. Many problems that are central to modern compute......一起来看看 《Twenty Lectures on Algorithmic Game Theory》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具