alternative to memcached that can persist to disk

前端 未结 15 2052
猫巷女王i
猫巷女王i 2020-12-02 07:52

I am currently using memcached with my java app, and overall it\'s working great.

The features of memcached that are most important to me are:

  • it\'s fast,
相关标签:
15条回答
  • 2020-12-02 08:14

    What about Terracotta?

    0 讨论(0)
  • 2020-12-02 08:16

    memcached can be substituted by Couchbase - this is an open source and commercial continuation of this product line. It has data to disk persistence (very efficient and configurable). Also original authors of memcached have been working on Couchbase and its compatible with memcached protocol - so you don't need to change your client application code! Its very performing product and comes with 24/7 clustering and Cross Datacenter Replication (XDCR) built in. See technical paper.

    0 讨论(0)
  • 2020-12-02 08:17

    You could use Tarantool (http://tarantool.org). It is an in-memory database with persistence, master-master replication and scriptable key expiration rules - https://github.com/tarantool/expirationd

    0 讨论(0)
  • 2020-12-02 08:18

    I think membase is what you want.

    0 讨论(0)
  • 2020-12-02 08:19

    Have you looked at BerkeleyDB?

    • Fast, embedded, in-process data management.
    • Key/value store, non-relational.
    • Persistent storage.
    • Free, open-source.

    However, it fails to meet one of your criteria:

    • BDB supports distributed replication, but the data is not partitioned. Each node stores the full data set.
    0 讨论(0)
  • 2020-12-02 08:20

    We are using OSCache. I think it meets almost all your needs except periodically saving cache to the disk, but you should be able to create 2 cache managers (one memory based and one hdd based) and periodically run java cronjob that goes through all in-memory cache key/value pairs and puts them into hdd cache. What's nice about OSCache is that it is very easy to use.

    0 讨论(0)
提交回复
热议问题