Displaying 1 to 13 from 13 results

Cache - :package: Nothing but Cache.

  •    Swift

Cache doesn't claim to be unique in this area, but it's not another monster library that gives you a god's power. It does nothing but caching, but it does it well. It offers a good public API with out-of-box implementations and great customization possibilities. Cache utilizes Codable in Swift 4 to perform serialization. Cache is built based on Chain-of-responsibility pattern, in which there are many processing objects, each knows how to do 1 task and delegates to the next one. But that's just implementation detail. All you need to know is Storage, it saves and loads Codable objects.

fridge - A cache that resembles storing, restocking and retrieving items from a fridge

  •    Go

fridge is a layer applied on top of a cache that makes interacting with it similar to interacting with a fridge. Items are tagged with a "Best By" and "Use By" timestamps, stored, restocked and retrieved.Typically when using a cache, one would store some value along with a timeout. The value could be retrieved from the cache as long as it has not expired. If the value had expired, then an external call (Such as a database query) is usually made to retrieve the value, put it back in the cache and return it.

simple-cache - Simple Cache Abstraction Layer for PHP

  •    PHP

You can download it from here, or require it using composer. If you have an heavy task e.g. a really-big-loop, then you can also use static-cache. But keep in mind, that this will be stored into PHP (it needs more memory).




quill-cache - Caching layer overtop Quill for Scala

  •    Scala

Scala uses case classes for modeling domain objects. quill-cache optimizes database access for read-mostly domain objects by providing a caching layer overtop Quill. This library depends on has-id, and case classes that need to be cached must extend HasId. HasId is generic and quite flexible, so you are encouraged to subclass all your domain objects from HasId, even if they do not require database caching. The current version of this library has no provision for distributed caches. This could be retrofitted, however the author did not have the need, so the work was not done.

catfs - Cache AnyThing filesystem written in Rust

  •    Rust

Catfs is a caching filesystem written in Rust. Catfs allows you to have cached access to another (possibily remote) filesystem. Caching semantic is read-ahead and write-through (see Current Status). Currently it only provides a data cache and all metadata operations hit the source filesystem.

cachier - Persistent, stale-free, local and cross-machine caching for Python functions.

  •    Python

Persistent, stale-free, local and cross-machine caching for Python functions. Cachier provides a decorator which you can wrap arount your functions to give them a persistent cache. The positional and keyword arguments to the wrapped function must be hashable (i.e. Python's immutable built-in objects, not mutable containers). Also, notice that since objects which are instances of user-defined classes are hashable but all compare unequal (their hash value is their id), equal objects across different sessions will not yield identical keys.

olricdb - Embeddable, in-memory and distributed key/value store for Go

  •    Go

Embeddable, in-memory and distributed key/value store for Go. This project is a work in progress. The implementation is incomplete. The documentation may be inaccurate.


timed-cache - :alarm_clock: A minimalist time-based caching system.

  •    Javascript

A minimalist time-based caching system. This storage module evicts cached key/value pairs based on their time-to-live.

olric - Distributed and in-memory key/value database that persists on disk

  •    Go

Distributed and in-memory key/value database that persists on disk. It can be used both as an embedded Go library and as a language-independent service. Built with Go. This project is a work in progress. The implementation is incomplete. The documentation may be inaccurate.

kache - A simple in memory cache written using go

  •    Go

kache aims to develop a redis compatible in memory db with golang. Currently kache is powered up with RESP Protocol. kache also supports simple text protocol so you can issue commands to kache using netcat or telnet as you please. kache has powered with many features managing a simple codebase with golang. kache is a compiled program, download the one for your platform and extract the package to a directory you wish.

affilicats - 🐈 Progressive Web App demo that showcases flaky network resilience measures (📶 or 🚫📶)

  •    Javascript

A Progressive Web App demo that showcases various flaky network resilience measures. The core idea is to simulate an affiliate or comparison app with various API calls (e.g., for prices, stars, reviews, location, photos) proxied by dummy lorem ipsum type APIs where the conversion action is to click through to a third-party and place the affiliate cookie (that's the click the app never wants to lose).

objstore - A Multi-Master Distributed Caching Layer for Amazon S3.

  •    Go

This project aims to provide an easy to use, self-organising multi-master caching layer for various cloud stoarge backends, e.g. S3. It combines functionality of a simple object storage with added robustness of cross-node journal synchronisation, object replication and cluster auto-discovery. We know that Amazon S3 has proven to be fast and reliable, a PaaS solution that acts like a backbone for many business applications. But the cost of service may become too high depending on your usage patterns, for example, if your application runs in your own datacenter, then the file transfer costs will skyrocket. Also request frequency has its limits.