3 ms·
> Redis doesn't provide a data structure for that. Both Redis and Aerospike provide more than enough mechanisms for one to roll their own composite hierarchy.
by sitkack 7y ago
> Redis doesn't provide a data structure for that.
Both Redis and Aerospike provide more than enough mechanisms for one to roll their own composite hierarchy. Both provide server side scripting via Lua as well so the database can maintain consistency and prevent chatty access to the store.
KV database modeling is just as rich as its relational counterpart, but if one isn't using a KV store for a compelling reason, use Postgres.
https://www.aerospike.com/docs/guide/data-types.html https://www.aerospike.com/docs/guide/data-types.html
https://www.aerospike.com/docs/guide/udf.html https://www.aerospike.com/docs/guide/udf.html