educative.io

Educative

Web Server versus App Server role in this example?

What is the difference between the web server and app server in this example?

  • I see it as the web-server is a stateless entity?
  • the app server would be caching uploaded videos?

Here is my understanding.
The simpler way to look at these 2 are: Web Server is frontend UI application. API Server is backend micro services. These 2 interact asynchronously. API Server will be responsible for all activities, like Queuing, deduping, caching all backend services.