跟踪系统的NoSQL存储

时间:2021-04-24 03:41:30

I have a use case which includes a system that can trace data, to explain the case the system has to intercept each request and check if that request is already exist to do some map/reduce on the body, it suppose to be real time. I'm sorry that I can't elaborate more due to the sensitivity of the system I'm working on.

我有一个用例,其中包括一个可以跟踪数据的系统,解释系统必须拦截每个请求的情况,并检查该请求是否已经存在,以便对身体进行一些map / reduce,它假设是实时的。很抱歉,由于我正在研究的系统的灵敏度,我无法详细说明。

I'm focusing mainly on NoSql key/value store, so I'm thinking of Rocksdb / Riak. My question is does it fit for this use case or there is a better alternative?

我主要关注NoSql键/值存储,所以我在考虑Rocksdb / Riak。我的问题是它适合这个用例还是有更好的选择?

2 个解决方案

#1


0  

First lets say that Riak and Rocksdb both are key/value storage but Riak is used as a distributed and highly available database but Rocksdb is an embedded database solution. Also neither of them is suitable for doing map reduce in real-time.

首先让我们说Riak和Rocksdb都是键/值存储,但Riak用作分布式和高可用性数据库,但Rocksdb是一个嵌入式数据库解决方案。它们也都不适合实时地减少地图。

In the Hadoop ecosystem there are solutions which can be used for doing map reduce in real-time:

在Hadoop生态系统中,有一些解决方案可用于实时地减少地图:

#2


0  

Riak with bitcask can be very fast in concepts of IO. If you want to speed up the process you can add some cache layer (redis for example), before you go with your key to riak.

带有bitcask的Riak在IO的概念上可以非常快。如果你想加快这个过程,可以先添加一些缓存层(例如redis),然后再使用你的密钥进行riak。

But do you want to check either the value exists or not, and then, if not exists perform some map/reduce task by your site or it should be part of the key value store solution?

但是,您是否要检查值是否存在,然后,如果不存在,请执行您的站点执行某些map / reduce任务,或者它应该是键值存储解决方案的一部分?

#1


0  

First lets say that Riak and Rocksdb both are key/value storage but Riak is used as a distributed and highly available database but Rocksdb is an embedded database solution. Also neither of them is suitable for doing map reduce in real-time.

首先让我们说Riak和Rocksdb都是键/值存储,但Riak用作分布式和高可用性数据库,但Rocksdb是一个嵌入式数据库解决方案。它们也都不适合实时地减少地图。

In the Hadoop ecosystem there are solutions which can be used for doing map reduce in real-time:

在Hadoop生态系统中,有一些解决方案可用于实时地减少地图:

#2


0  

Riak with bitcask can be very fast in concepts of IO. If you want to speed up the process you can add some cache layer (redis for example), before you go with your key to riak.

带有bitcask的Riak在IO的概念上可以非常快。如果你想加快这个过程,可以先添加一些缓存层(例如redis),然后再使用你的密钥进行riak。

But do you want to check either the value exists or not, and then, if not exists perform some map/reduce task by your site or it should be part of the key value store solution?

但是,您是否要检查值是否存在,然后,如果不存在,请执行您的站点执行某些map / reduce任务,或者它应该是键值存储解决方案的一部分?