Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ArangoDb as cache server alternative for redis

I am planning to use arangodb as my backend storage. And I would like to know how efficient arango db as a cache service in comparison to aerospike and redis. Did anyone tried the comparison in terms of features and performance as a caching system. It will help me to reduce using another system administration from my backend stack.

like image 486
Ysak Avatar asked Feb 05 '23 23:02

Ysak


1 Answers

As far as I know, ArangoDB does not offer the same caching oriented features than redis (I think of expiration of keys, with commands like EXPIRE or EXPIREAT). So you'll have to handle the expiration and the eviction of expired keys, ArangoDB won't do it for you.

Moreover ArangoDB mainly stores its data on disk, when Redis stores all of them in memory -and optionally on disk. So without making any benchmark, you can be assured that Redis will be way faster than ArangoDB.

ArangoDB makers did their own performance benchmarks, and they did not compare it to any in-memory database. It's just not the same category of products.

like image 63
Pascal Le Merrer Avatar answered Feb 23 '23 06:02

Pascal Le Merrer