Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Redis on its own Linode?
PostPosted: Tue Jul 24, 2012 10:01 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
I have this setup here on Linode today

1 node for the app
1 node for the db
1 node for bgjobs (yes, this may be a bit overkill but still)

I'm wondering if it's advicable to have Redis on the same Linode as the bgjobs?
The bgjobs runs once a day for 15 minutes (low hours of my traffic) and once per hour with a not too straneous job, in particular the job isn't memory heavy, just processing heavy.

So, need I use a solitary server (linode) for Redis or what do you guys think?
Need I worry about any "latency" between the linode of the app, serving the requests, and the Redis linode? I think not since it's working fine with the db today but on the other hand, the db isn't being hit as much as the redis will be hit in my new setup.

Thanks for the help.


Top
   
PostPosted: Wed Jul 25, 2012 7:09 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
Well Jesus Christ Superstar, 90 views for this question and no replies.

Is it the summer slowdown or is it that my question was so off the charts stupid?


Top
   
PostPosted: Wed Jul 25, 2012 11:41 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Well, in my case, I don't know what redis is, and googling it doesn't seem to give any indication of how it's useful when the same thing can be accomplished with any SQL server and a HEAP/MEMORY table, but it seems to me that your bgjobs should be running on your app server, and your redis stuff should be running on your db server.


Top
   
PostPosted: Fri Jul 27, 2012 1:33 pm 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
Well, I want to thank you for giving it a shot anyways.


Top
   
PostPosted: Fri Aug 03, 2012 9:29 am 
Offline
Senior Newbie

Joined: Sun Aug 07, 2011 9:35 am
Posts: 10
Running a redis on a 512 here. It gets about 5-10 requests per second from another node in the same data center.


Top
   
PostPosted: Fri Aug 03, 2012 11:54 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
I run Redis with PHP-FPM/Nginx/MySQL all on the same 512. Redis acts as a cache and session store in this case. Another case runs Nginx/NodeJS/Redis where redis is the main datastore, again on a 512.

In other words you really don't need to stick it on a separate box, redis is single threaded so you won't chew up your CPU, disk IO is negligible, the only problems you will have is if you start to max out your memory. Putting redis on a separate box does make upgrading easier since you don't have to take everything else offline while you resize your Linode.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mattltm and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group