Help Center> ServiceStage> FAQ> Application Development> What Is the Difference Between the Microservice and Common Application?

What Is the Difference Between the Microservice and Common Application?

The microservice is an architectural model. Its general idea is to break an application into multiple parts. Therefore, an application using the microservice architecture is actually a distributed application.

This enables services to change faster, and the system to be more reliable.

Type

Microservice

Common Application

Development

The workload of a microservice is light. A Two Pizza team can rewrite all the code of a microservice in two weeks. This can be used as a symbol of microservices. When developing a microservice, its APIs need to be available for interconnection with other microservices. Therefore, the API definition-based development mode is highly recommended.

Complex logic, coupled modules, bloated code, difficult modification, and low version iteration efficiency.

Deployment

An application consisting of multiple microservices is complex. Deployment orchestration is required when the application is deployed.

Possible large, and long build and deployment time, which is not conducive to frequent deployment and hinders continuous delivery. This problem is especially serious in mobile application development.

O&M

Governance takes the notice in addition to metrics monitoring and log collection. The core concept of microservice governance is to maintain the system performance through modifications while the system is running.

It takes a long time to rectify common online problems. To rectify any online problem, the entire application system must be upgraded.