Take the 2-minute tour ×  For websites that need to be highly
scalable, such as social networks like facebook, what's the best
way to design the website?    1. Should I have a web service
which the site queries to get data that it needs?     2. Should
the site query databases directly? (can be done using built in
language constructs to fill tables automatically etc).  I would
think the web service is the better design since it gives
centralized data access and things like caching and the like
become much easier to control, but what do others think?
share|improve this question There also the question of what
architecture to use (like MVC or the like). –  Ivan Sep 15 '11
at 23:38 Without knowing more about what exactly you are going
to launch, it is very difficulty to give the answer, but keep in
mind "Cloud services", probably your application fits in a kind
of SaaS app. (It is centralized). –  B4NZ41 Sep 16 '11 at 0:04
generally speaking i would say, nothing particular in mind.. – 
Daniel Sep 16 '11 at 17:19