与Redis相比,记忆快取是恐龙吗? [英] Is memcached a dinosaur in comparison to Redis?

查看:58
本文介绍了与Redis相比,记忆快取是恐龙吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几周中,我与memcached进行了相当多的合作,并发现了有关Redis的信息.当我阅读他们的自述文件的这一部分时,我突然感到肠胃温暖,舒适:

I have worked quite a bit with memcached the last weeks and just found out about Redis. When I read this part of their readme, I suddenly got a warm, cozy feeling in my stomach:

Redis可以用作对类固醇的内存缓存,因为它的速度与 记忆快取,但有许多 功能更多. 像memcached一样,Redis还支持将超时设置为键,因此 该键将自动 在给定的时间内删除 通过.

Redis can be used as a memcached on steroids because is as fast as memcached but with a number of features more. Like memcached, Redis also supports setting timeouts to keys so that this key will be automatically removed when a given amount of time passes.

这听起来很棒.我还发现此页面具有基准: http://www.ruturaj .net/redis-memcached-tokyo-tyrant-mysql-comparison

This sounds amazing. I'd also found this page with benchmarks: http://www.ruturaj.net/redis-memcached-tokyo-tyrant-mysql-comparison

因此,说真的-内存缓存真的是那种旧的dinousaur,从性能的角度来看,与这个新手Redis相比,它是一个糟糕的选择吗?

So, honestly - Is memcache really that old dinousaur that is a bad choice from a performance perspective when compared to this newcomer called Redis?

我以前对Redis的了解很少,因此我的问题就解决了!

I haven't heard lot about Redis previously, thereby the approach for my question!

推荐答案

Memcache仍然是出色的工具,非常可靠.

Memcache is an excellent tool still and VERY reliable.

而不是从确定谁更快的角度来看待这个问题.在100毫秒范围内,查看该软件类"的性能.

instead of looking at this issue from the perspective getting down the who is faster at the < 100 ms range, look at the performance per "class" of the software.

  • 它仅使用本地ram吗? ->最快
  • 它使用远程ram吗? ->快速
  • 它使用ram和hardddisk吗?->哦,哼!
  • 它仅使用硬盘->运行!

这篇关于与Redis相比,记忆快取是恐龙吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆