Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jun 11, 2014 11:47 pm 
Offline
Junior Member

Joined: Mon Oct 03, 2011 1:09 pm
Posts: 29
We have multiple sites I'm working to migrate into Linode (basic LAMPs).

Since many of the sites basically use copies of the same tables (I.E. calendar, geography info, etc.) I'm considering making a standalone MySQL linode from which all the sites would pull. (reference library link) The non-specific info would be in one schema and the site-specific info would be parsed into their own schemas. Loading all the sites into a single upgraded linode isn't an option because we don't want them all crowding into a single IP.

The first obvious thing I see is requiring two db connections per site, for the main and site-specific DBs.

Is this a good idea, or am I just making more work in the long run?


Top
   
PostPosted: Sun Jun 22, 2014 4:14 pm 
Offline
Senior Member

Joined: Sat Jun 12, 2010 4:53 pm
Posts: 77
This is generally the way to go, as long as you are ok assuming sysadmin duties to another box.

With the database separate, you can take advantage of multiple web servers to scale an app for instance.


Top
   
PostPosted: Sun Jun 22, 2014 4:20 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
There's no way to accurately answer that question without running real-world performance tests.

Without those tests, any answer you get would be no better then a coin toss.

Each website will have it's own characteristics and it's own traffic patterns. Depending on what those are, a standalone db might have better performance, it might not - the only way to KNOW is to test both scenarios.

In my OPINION (for my production boxes), a standalone DB is rarely worth the extra network traffic and system administration overhead unless you are maxing out the server in Web app usage alone, at which point I'd up the server specs instead of splitting the app servers - YMMV.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


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