Live data from Hacker News

Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

redislabs.com

21–30 of 56 posts

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#21
post #19

Questions I would like to see answered: - How does oss redis compare to enterprise redis ? - What are the differences when running the same benchmarks with both oss redis and enterprise redis ? - what is the marginal utility of an additional cpu core/thread ? that is, what happens if I run those benchmarks on an AMD ThreadRipper ?

I'm curious on all of these as well. Also, is this a first party (ie antirez) piece of software? If not, has he blessed calling something "Redis Enterprise"?

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#22
post #21
post #19

Questions I would like to see answered: - How does oss redis compare to enterprise redis ? - What are the differences when running the same benchmarks with both oss redis and enterprise redis ? - what is the marginal utility of an additional cpu core/thread ? that is, what happens if I run those benchmarks on an AMD ThreadRipper ?

I'm curious on all of these as well. Also, is this a first party (ie antirez) piece of software? If not, has he blessed calling something "Redis Enterprise"?

I believe he still works for redislabs, so I'm sure this is all done with his knowledge.

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#23
post #21
post #19

Questions I would like to see answered: - How does oss redis compare to enterprise redis ? - What are the differences when running the same benchmarks with both oss redis and enterprise redis ? - what is the marginal utility of an additional cpu core/thread ? that is, what happens if I run those benchmarks on an AMD ThreadRipper ?

I'm curious on all of these as well. Also, is this a first party (ie antirez) piece of software? If not, has he blessed calling something "Redis Enterprise"?

Redislabs is the primary sponsor for redis and employs antirez.

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#24

Very impressive, especially how it doesn't seem to matter much on the read/write ratio. I've only used redis to cache, do folks really use it as a DB?

Yes. Full disclosure: I work for Redis Labs, but prior to that I designed the back-end of a server-heavy mobile app (EverythingMe launcher) with Redis as its "front-end database". Meaning it wasn't the only source of truth, but it wasn't a cache either - we served data to users from Redis only, while some of it was migrated (live or in batch) from MySQL, and other was the output of machine learning jobs that filled up data in Redis.

Some of it was done with raw Redis commands, and for some we wrote a data-store engine with automatic indexing and optional mapping to models - https://github.com/EverythingMe/meduza

We also used Redis for geo tagging, queuing, caching, and other stuff I forgot probably. It is very flexible, but requires some effort when not used as just a cache.

Right now I'm developing a module for Redis 4.0 that can do full-text and general purpose secondary indexing in Redis. https://github.com/RedisLabsModules/RediSearch

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#25
post #21

Earlier quoted context omitted.

I'm curious on all of these as well. Also, is this a first party (ie antirez) piece of software? If not, has he blessed calling something "Redis Enterprise"?

I believe he still works for redislabs, so I'm sure this is all done with his knowledge.

Yes, of course it is (I work for Redis Labs as well).

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#27
post #19

Questions I would like to see answered: - How does oss redis compare to enterprise redis ? - What are the differences when running the same benchmarks with both oss redis and enterprise redis ? - what is the marginal utility of an additional cpu core/thread ? that is, what happens if I run those benchmarks on an AMD ThreadRipper ?

Re the first question - enterprise Redis includes, besides the management utilities you can expect from such a product - a different cluster architecture (that actually predates Redis cluster) and cluster manager; It doesn't require a cluster aware client as it uses a proxy tier (that also does implicit pipelining and other stuff to increase throughput); And the next version of it will include some extra features like flash support, extra modules, etc.

Re the second and third questions - I'm afraid I cannot answer. I hope the author of the post will reply tomorrow morning (it's the middle of the night here).

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#28
post #14

I don't like to admit but I still don't get it, could I use Redis as a main webapp backend?

As long as your data will fit in RAM in a cost-effective way, and you can scale your cluster when it exhausts its memory. AFAIK Netflix are using it as a "real database", but of course not for everything - https://medium.com/netflix-techblog/introducing-dynomite-mak...

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#29
post #12

Very impressive, especially how it doesn't seem to matter much on the read/write ratio. I've only used redis to cache, do folks really use it as a DB?

I'd also like to know what else is it used for.

I'm using Redis as the main data store for my semi-serious chat app project. For better or worse, all tables, including the userdb is stored in Redis.

In general, an extra layer on top of Redis is a must to make it even simple searchable database. Especially indices can't be ad-hoc implemented with separate Redis commands. Only transactions or Lua snippets that update both data and related indices atomically can avoid data corruption. For my own use, I wrote: https://github.com/ilkkao/rigidDB It supports indices and strict schema for the data.

I think somebody has described Redis at some point as a database-SDK. Makes sense to me.

Re: Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance

#30
post #18
post #14

I don't like to admit but I still don't get it, could I use Redis as a main webapp backend?

Redis won't function till it has loaded all data from disk to memory. So if your webapp doesn't have too much data then possibly. Also since Redis is memory backed you need more RAM then data. This can get very costly. Another annoyance is that Redis is single process single threaded so you really have to avoid running long running queries unless you do extensive manual sharding. (Disclaimer: it's been a few years si…

Redis can now be multi threaded in custom modules
Post reply on HN