Security Engineer Interview Questions Part-2
文章介绍了微服务架构与单体架构的区别。单体架构将所有组件集成在一个系统中,开发和部署简单但扩展和调试困难。微服务架构将应用分解为独立服务,通过API通信,支持独立部署和扩展但需要复杂基础设施。 2025-9-2 10:2:4 Author: infosecwriteups.com(查看原文) 阅读量:11 收藏

Saurabh Jain

Welcome to the Part-2 of Security Engineer Interview Questions

  1. Difference between micro service architecture & monolithic architecture ?

Press enter or click to view image in full size

In Monolithic architecture, the entire application is built as one large unit. All components (like User Interface, Business Logic, Database and Web Servers) are combined into a single, unified system. The components are highly interdependent i.e changing one part of system can affect other part. It is based on single deployment i.e any change requires the whole system to be redeployed.

Advantage : Easy to develop and easy to deploy

Disadvantage : Hard to scale and tough to debug.

In Micro-service architecture, the application is broken down into smaller, independent services that each handle a specific function.

For example : authentication, authorization, chat box, payment processing, etc. The components are independent and can communicate with each other via APIs (Application Program Interface). Each microservice can be deployed, maintained, and scaled independently.

Advantage : Easy to scale, fault-tolerant and independent service deployment

Disadvantage : Complex and Requires a sophisticated infrastructure


文章来源: https://infosecwriteups.com/security-engineer-interview-questions-part-2-0bdd5fbf3a52?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh