Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How bad is it to have 4-5 connections on a single page? Is it like, horribly bad?

I mean to different databases. I have the following databases....

core account ads starcraft diablo forums development

It's common for a few to be loaded each time a page is loaded. I do utilize a Smarty cache.

share|improve this question
Can you elaborate a bit? 4 or 5 connections to different databases, or 4 or 5 connections to the same database? – Eric Petroelje Oct 14 '10 at 21:07

Well its not going scale if your site grows..

You have wait-io on not 1 call but 5.. im guessing that this will eventually slow down.. (what happens when 1 call fails?? you have 5 x the risk here too )

Once it does get slow.. You will try to cache more ( but the real problem is the way you structured your data )

To be honest, I would consider going over it again now, and getting it right before you find yourself a user base / community

Hope this helps.. :D

share|improve this answer
Dang... so it's better to have 200 tables in a single database? – Webnet Dec 8 '10 at 18:05
Just 200? Ah, so quite a small database then :) Nearly 600 in the one I'm working on. – ChrisA Jun 26 '11 at 8:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.