GavinDmello / mqemitter-aerospike

Aerospike mqemitter based on @mcollina 's mqemitter
MIT License
6 stars 1 forks source link

compare to redis mqemitter in production #1

Open behrad opened 7 years ago

behrad commented 7 years ago

nice to find this module @GavinDmello Are you using this in production? Can you compare this to redis mqemitter performance/memory wise?

GavinDmello commented 7 years ago

Hey @behrad, Thanks for your interest. Mqemitter Redis will be way more performant than aerospike. Mqemitter Redis uses pub-sub as a base while this uses polling similar to what Mqemitter MongoDB. Also, my implementation uses a scan query as there's no other way I can simulate a pub-sub on aerospike. There are many features missing in aerospike as of now. I haven't tried it in production yet.

behrad commented 7 years ago

Great to hear from you man, Hadn't checked out the code, you are right and I should stick with my current redis pub/sub ;)

I haven't had any experience with aerospike, so let me ask you another question. How about implementing a aerospike aedes-persistence? Is it more performant that redis storage wise in multi key-value get/sets ?

GavinDmello commented 7 years ago

That would be a nice idea! Aedes persistence with aerospike would be fast. Aerospike has benchmarks which differs from hardware to hardware. You'll have to benchmark both on your setup. Right now aedes persistence redis doesn't support redis cluster and client side sharding , so it easily becomes a single point of failure. Aerospike could be a good alternative for redis persistence.