Are there any criteria one should know / think about before deciding to go with 3T or 2T arch for a public website, to avoid any confusion here I’m referring to Tier as a stand alone physical server and the web browser does not count as a tier so say 3T for:
- T1- Web Server: Where you host your public front end UI, could be MVC, JSF, ASP.NET Web forms, … etc
- T2- App: Where you host your business web services SOAP, REST, etc…
- T3- DB: Your DB server, Oracle, SqlServer, etc…
Where 2T means only the web server and the DB, business is still separate but is executed in the same process running the web server.
One could argue that 3T is more scalable. That is true if we are thinking vertical but would not we achieve that scalability horizontally by throwing more Web servers instances behind a load balancer, Are there any criteria or cheat sheet one should know about, Appreciate experts input on this
If stackoverflow is not meant for these types of questions I do not know what is left? int swapping?
I found this blog that talks about a certain product i think but same principle holds i believe http://www.ektron.com/billcavablog/your-questions-answered-3tier-or-2tier/
The author has listed five criteria (attributes) to help make the decision: