Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 30, 2012 11:08 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
I have a setup today as follows:

an app on one linode (php-fpm + nginx)
a db on one linode (mysql)
a cache on one linode (redis)

Horizontally scaled. Works with no hickups. top-command show between 0.00 and 0.20 practically all the time. Fine.

I'm contemplating a new client (really a new app) using the same backend, same mysqlDB and cache as the original app.
I'm considering setting it on its own linode just like the first app i.e. php-fpm and nginx-instances running while calling the db and cache linodes over the private network.

And NOW, the question

Will it slow down the db considerably to get traffic from many different clients or is this a good way to go? Is there anything else I should be aware of when doing this?

The practicality of it will be that a user in one app exists in the other app and vice versa, just different "views" or "functions" if you will, as the two apps cater to two different audiences which sometimes overlap hence they share user base.

Thanks for any answer you may provide.


Top
   
PostPosted: Fri Aug 31, 2012 5:24 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Generally speaking, MySQL doesn't give a damn where queries come from or what they're asking for. It's all sockets, as far as mysqld is concerned.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Fri Aug 31, 2012 2:59 pm 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
Thanks. That pretty much sums up what I wanted to know.


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


Who is online

Users browsing this forum: No registered users and 3 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