Erlang - Riak 客户端

发布于 2024-09-06 04:39:19 字数 273 浏览 1 评论 0原文

我在为 Riak 寻找“本地 Erlang 客户端”的 API 时遇到了麻烦。

Riak 维基百科是这么说的:

本地 Erlang 客户端是 Riak 紧密集成的一部分,Riak REST 接口在内部使用 Erlang 客户端。您可以在 edoc API 中找到有关 Erlang 原生驱动程序的更多信息。

该链接重定向到维基百科主页。不过,有关 PBC 客户端的信息很多。 两种客户端如何比较?使用其中一种的优缺点是什么?

I am in trouble finding API for the "local Erlang client" for Riak.

Here is what Riak wiki says:

The local Erlang client is a tightly-integrated part of Riak and the Riak REST interface uses the Erlang client internally. You can find more information about the Erlang-native driver in the edoc API.

The link redirects to the main wiki-page. There is plenty of information on PBC Client though.
How do both clients compare and what are the pros and cons in using one or another?

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

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

发布评论

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

评论(3

好菇凉咱不稀罕他 2024-09-13 04:39:19

原生 erlang 客户端或 edoc 的 API 可以在这里找到,

但我想知道什么丹说。然而,请注意,PBC 仍处于开发的 alpha 阶段,据我所知,尚不具备 MapReduce 功能。

The API for the native erlang client or edoc is found here

But I would second what Dan says. However, note that the PBC is still very much at the alpha stage of development and as far as I know does not yet have map reduce capabilities.

ゝ偶尔ゞ 2024-09-13 04:39:19

我建议使用 PBC 客户端。性能与原生erlang客户端相当。将应用程序代码与 Riak 解耦也更容易。本机 erlang 客户端需要整个 Riak 代码库作为依赖项。

I would recommend using the PBC client. The performance is comparable to the native erlang client. It is also easier to decouple your application code from Riak. The native erlang client requires the entire Riak code base as a dependency.

可爱咩 2024-09-13 04:39:19

从 Riak 2.0 及更高版本开始,强烈建议使用 PB(协议缓冲区)API 而不是 HTTP API。它们已成为主要 API,具有更多功能,并且比 HTTP API 更快。

From Riak 2.0 and on, it is highly recommended to use PB (Protocol Buffers) APIs over HTTP APIs. They have become a primary APIs, have more functionality and also is faster than HTTP APIs.

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