Jump to content

[SOLVED] Can I have your idea which is better?


bluejay002

Recommended Posts

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. :)

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.