![]() ![]() Each service implements a single business capability. A microservices application is composed of many small, independent services. If your application has a more complex domain, consider moving to a Microservices architecture. As with N-tier, this can reduce the frequency of updates and limit innovation. The front end and the worker can easily become large, monolithic components that are hard to maintain and update. But with complex domains, it can be hard to manage dependencies. The use of managed services simplifies deployment and operations. Like N-tier, the architecture is easy to understand. Web-queue-worker is suitable for relatively simple domains with some resource-intensive tasks. The front end communicates to the worker through an asynchronous message queue. In this style, the application has a web front end that handles HTTP requests and a back-end worker that performs CPU-intensive tasks or long-running operations. Web-Queue-Workerįor a purely PaaS solution, consider a Web-Queue-Worker architecture. For that reason, N-tier is most often seen in infrastructure as a service (IaaS) solutions, or application that use a mix of IaaS and managed services. ![]() N-tier is a natural fit for migrating existing applications that already use a layered architecture. That makes frequent updates a challenge, limiting how quickly new features can be added. It can be hard to introduce changes in one part of the application without touching the rest of the application. However, this horizontal layering can be a liability. A layer can only call into layers that sit below it. Dependencies are managed by dividing the application into layers that perform logical functions, such as presentation, business logic, and data access. N-tier is a traditional architecture for enterprise applications. This section gives a quick tour of the architecture styles that we've identified, along with some high-level considerations for their use.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |