What is Application layer?
📚 tutorials

What is Application layer?

1 min read 223 words
1 min read
ShareWhatsAppPost on X
  • 1Separating the web layer from the application layer allows for independent scaling and configuration of both layers.
  • 2Microservices are independently deployable services that communicate through lightweight mechanisms to achieve business objectives.
  • 3Implementing an application layer with microservices increases complexity in deployments and operations compared to monolithic systems.

AI-generated summary · May not capture all nuances

Key Insight
AskGif

"Separating the web layer from the application layer allows for independent scaling and configuration of both layers."

What is Application layer?

Separating out the web layer from the application layer (also known as platform layer) allows you to scale and configure both layers independently. Adding a new API results in adding application servers without necessarily adding additional web servers. The single responsibility principle advocates for small and autonomous services that work together. Small teams with small services can plan more aggressively for rapid growth.

Workers in the application layer also help enable asynchronism.

Microservices Related to this discussion are microservices, which can be described as a suite of independently deployable, small, modular services. Each service runs a unique process and communicates through a well-defined, lightweight mechanism to serve a business goal. 1

Pinterest, for example, could have the following microservices: user profile, follower, feed, search, photo upload, etc.

Service Discovery Systems such as Consul, Etcd, and Zookeeper can help services find each other by keeping track of registered names, addresses, and ports. Health checks help verify service integrity and are often done using an HTTP endpoint. Both Consul and Etcd have a built in key-value store that can be useful for storing config values and other shared data.

Disadvantage(s): application layer Adding an application layer with loosely coupled services requires a different approach from an architectural, operations, and process viewpoint (vs a monolithic system). Microservices can add complexity in terms of deployments and operations.

Enjoyed this article?

Share it with someone who'd find it useful.

ShareWhatsAppPost on X

sumitc91

Published on 20 November 2020 · 1 min read · 223 words

Part of AskGif Blog · tutorials

You might also like

What is Application layer? | AskGif Blog