bluejay002 Posted August 29, 2008 Share Posted August 29, 2008 hey guys, I was thinking back again bout 3-tier architecture - normally web are like this (say, client <-> web_server <-> dbase_server). But I just thought that this kind of architecture might vary. Which is a better use of this architecture? A user from russia accessing a website with: (a) web_server in alaska and dbase_server in alaska (b) web_server in russia and dbase_server in alaska Given, they were using VPN whenever accessing the dbase_server. of course, it is better if both web_server and dbase_server are in russia, so i will put that out of the question. IMHO, (a) is better since communication between web_server and dbase_server is better closer than with the user... am I right? Sorry if this is not a PHP question but does not know where to post this though, lol. Anyway, just wanna ask if my understanding is correct and this place seems to have a lot of gurus. Quote Link to comment Share on other sites More sharing options...
tibberous Posted August 29, 2008 Share Posted August 29, 2008 A, generally. For example, if you needed to look up the name of a video in a database, and then let the user download the full movie, then B would be faster. This is also assuming that location is the only thing playing a role in the speed, since a web server in a Tier 3 datacenter in russia can still be faster to a person in New York than a web server sitting on my desk 200 miles away. Also, not PHP related. Quote Link to comment Share on other sites More sharing options...
bluejay002 Posted August 29, 2008 Author Share Posted August 29, 2008 Thanks for the input, very much appreciated. At least some doubts are clarrified. Sorry (again) for posting this in the wrong forum modos and admins. Jay, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.