java 键值存储_java-键值存储为主数据库

Can I use only redis to store my data ?

这取决于您的要求,但是有150个NoSQL数据库可用,我怀疑redis不是您的唯一选择.

Reason why I am asking is that every article I have seen use Redis/memcached as an intermediate layer for caching.

它比JDBC快,但是您需要更快吗?

Can I just rely on redis to persist my data through out ?

您可以,这取决于您的可靠性要求.例如一些组织仅信任传统的RDBMS数据库.注意:您需要在多台服务器上安装Redis才能防止出现故障.

Where to host/run redis database ?

无论您在哪里.

Since Redis is an in-memory database, its requirement of host will definitely be different than applications that require more processing. Hosts which have more RAM will definitely be better here.

我通常将NoSQL实例放在同一台计算机上.您提供的RAM量取决于所需的数据量.

So where do people normally go on to host their database ?

跨多个服务器进行冗余,可以与应用程序共享它们.

Elasticcaching from AWS, can this be used to host redis(as a primary database, not just caching layer) Any resources ?

我会问他们.

I always ask this, I found lots of good documents online, but nothing really good to start with. Please share any good resource if you are aware of.

没有一种资源,因为没有答案.如果有的话,将有150个NoSQL数据库.

免责声明:我正在研究另一个NoSQL键值存储,该键值存储可以持久存储在内存中,并且速度更快(如果需要此类操作),它的使用/部署也更简单.

https://github.com/OpenHFT/Chronicle-Map

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值