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--bug_bounty
如有侵权请联系:admin#unsafe.sh