简体   繁体   中英

Are Monolith applications single tier application

Are monolithic applications single tiered applications or is it at just code level ie UI, Business logic and data access layer in same one big repository? If it is single tiered then does it mean everything is hosted on single server including the database

Is it just code level distinction?

Monolithic applications should be compared to microservices applications distinction being the difference in approach to deployable units (ie in monolithic applications the whole app is usually has a single deployable unit which contains everything when in microservices approach you will have multiple deployable ideally independent/loosely coupled units).

Tiered architecture should be compared to things like clean architecture, feature/vertical slices architecture etc. and is more about decomposition of application/deployable unit into subsystems/modules (like client level, application logic level, data access layer). So both monolithic app can be n-tiered or can be not.

does it mean everything is hosted on single server including the database

No it does not.

Read more:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM