TurnKey Linux Virtual Appliance Library

Serve files and DB from the same instance or seperate?

Would it be a better setup to create one medium instance and keep both the web files and the mysql database on the same instance, or create 2 small instances seperating one for web files and one for database only? Is there going to be latency caused by putting the db on a seperate instance? I am looking to get the highest performance possible out of this setup and I am new to setting up cloud instances having only setup physical servers on the same network in the past.

I ran into an issue on my old physical server with maxing out on allowed connections. I am looking to remedy this issue and would likely need to be able to handle up to 1000 simutaneous connections without slowdown.

Any tips, suggestions and help would be much appreciated.

These are on linux instances running LAMP.

 

Thank you

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)