Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				Yeh!! I use MongoDB throughout my application, but the homepage was so slow. So I used Redis for all data on my homepage. It was blazing fast! :D
 - 
				
				
Geezus149yIs that why Redis is a memory hog? I constantly get memory alerts for customers running Redis. - 
				
				
hiestaa3999y@Geezus what's the problem with using SQL as primary DB and reddis for caching data in the same app?
This makes a perfext sense to me. - 
				
				Redis is a in memory database, it is good for simple key/values on small data and caching but would never use it as it us being done here.
 - 
				
				@hiestaa no... I wud never replace MongoDB with Redis... I want my home page to be fast and it doesn't really have much data on it! Just a 100 IDs and image URLs! Redis wud work perfectly fine!
 - 
				
				
Geezus149y@hiestaa they're both RAM hogs. SQL will purposely chew up as much RAM as it can grab. Which makes sense and is fine if you have a lot of RAM but we have a lot of customers that do this on 1x1 or 1x2 boxes and have the memory alert threshold set to 90 or 95% so it causes constant headaches. I've even seen people run their Web sever, Apache, nine, etc, on the same server, we call them one hit wonders and they're awful. 
Related Rants
- 
						
							
iamroot9
You know you are in silicon valley when you see an ad for redis - 
						
							
StanTheMan4Hired a new backend Dev. He writes a script and sends it for testing... Tester: "It's not working..." Backend ... - 
						
							
goodBoiBadDev44She - So. Do you read ? Me - Yes. Infact a lot. Daily. My life is filled with it. She - Wow. Nice. So what d... 

When you work with Redis after working on MongoDB... XD
undefined
mongodb
redis