What is the difference between Monolith and n Layer?

Viewed 9280

i have a few questions regarding monolith and n layer architecture.

First, whats the difference between Monolith and n Layer architecture?

Second, let's say I have a single Visual Studio solutions that consist of multiple projects such as:

  1. Presentation Layer
  2. Service Layer
  3. Business Layer
  4. Cross Layer
  5. Data Layer
  6. Unit Test

Is that considered as Monolith or n layer architecture?

If I have microservices that consist (let's say) 3 Web API and I build each service in single separate Visual Studio solutions, it is ok to implement my previous project structure (service layer, business layer, data layer, etc)?

Thank you very much and sorry for my bad english.

2 Answers

The short answer to your question is - Horizontal Partitioning of the Technology stack (n-Tier Architecture) vs. Vertical Partitioning of the Technology Stack (Microservices)

Related