4 ms·
"Can Redis be used as a primary database" IMHO, no. Unless! you can ensure your data is less than the size of memory. Redis must fit all the data into memory.
by ransom1538 5y ago
"Can Redis be used as a primary database"
IMHO, no. Unless! you can ensure your data is less than the size of memory. Redis must fit all the data into memory. If you run out of memory Redis doesn't have great options (besides buy more memory). In my mind a primary database handles the complexities/speed of pulling data from a disk, manipulating data in memory and scales with more disk. Redis manipulates data in memory only.
Redis is rad for specific group of problems.
- avidiax 5y agoIMHO, yes, provided that your business degrades gracefully when data is lost, and the revenue per byte supports storage in RAM. In that case, it is better than other databases, being extremely performant, and more importantly, being very easy to develop for. If you need more space, you can use Redis cluster to extend horizontally.
- compsciphd 5y agohttps://docs.redislabs.com/latest/rs/concepts/memory-architecture/redis-flash/ https://docs.redislabs.com/latest/rs/concepts/memory-archite...