CS 3306 Discussion Unit 1
CS 3306 Discussion Unit 1
In this setup, the client talks directly to the database, like a one-on-one chat. No middleman, so
it’s faster for small-scale applications. But here’s the downside: if the database changes, the
client might throw a tantrum (a.k.a. compatibility issues).
Presentation Layer: The user interface, like a web browser or mobile app.
Here, the app talks to the translator, and the translator talks to the database. It’s a little slower, but
it’s more secure and way easier to maintain. Plus, it can handle a lot more users!
Key Differences
Scalability Limited (good for small apps) Highly scalable (perfect for big
systems)
Security Lower (client has direct access) Higher (database stays hidden)
Performance Faster for a few users Better for large user bases
Why Does It Matter?
If you’re designing a small project for class or personal use, two-tier is simple and effective. But
if you’re dreaming of a large-scale app (like an online learning platform), three-tier is the way to
go it’s secure, scalable, and built for the long run.
What do you all think? Have you worked with either of these architectures?
References
Sharma, N., Perniu, L., Chong, R.F., Iyer, A., Nandan, C., Mitea, A.C., Nonvinkere, M., &
Danubianu, M. (2010). Database Fundamentals (1st ed.). Markham, ON: IBM Corporation.
Available at https://my.uopeople.edu/pluginfile.php/1927778/mod_page/content/34/
DatabaseFund.pdf
Silberschatz, A., Korth, H.F., & Sudarshan, S. (2001). Database System Concepts (4th ed.). New
York, NY: McGraw-Hill. Available at Database System Concepts 4th Edition By Silberschatz-
Korth-Sudarshan.pdf