需要 PHP 中的分布式键值查找系统

发布于 2024-08-28 10:57:51 字数 233 浏览 4 评论 0原文

这个问题询问java中的一个,

PHP中最好的候选者是什么?

顺便说一句,以下是否成立:

分布式键值存储== 分布式缓存

This question asks for one in java,

what's the best candidate in PHP?

BTW,does the following establish:

distributed key value store ==
distributed cache

?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

话少心凉 2024-09-04 10:57:51

Redis 具有高级缓存操作功能:

Redis 是一种高级键值存储。它与 memcached 类似,但数据集不是易失性的,值可以是字符串,与 memcached 完全相同,但也可以是列表、集合和有序集合。所有这些数据类型都可以通过原子操作进行操作,以推送/弹出元素、添加/删除元素、执行服务器端并集、交集、集合之间的差异等。 Redis支持不同类型的排序能力。

Redis如何支持分布式服务器:

Redis 通过一致性哈希支持客户端分片。目前不支持容错,也不支持在运行时添加或删除集群。

There is Redis with advanced cache manipulation functions:

Redis is an advanced key-value store. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server side union, intersection, difference between sets, and so forth. Redis supports different kind of sorting abilities.

How is Redis supports distributed servers:

Redis supports client-side sharding via consistent hashing. Currently there is no support for fail tolerance nor to add or remove clusters at run time.

一张白纸 2024-09-04 10:57:51

看看 Cassandra,它是 Facebook 使用的,应该很容易与 PHP 一起使用。

Have a look at Cassandra, it is used by Facebook and should be easy to use with PHP.

夏日浅笑〃 2024-09-04 10:57:51

使用 MongoDb 或 Memcached

use MongoDb or Memcached

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文