Should I Use the SDK or ServiceMesh to Build a Microservice?
- The SDK applies to self-governed microservices, which enables offline debugging. These microservices need to be developed based on the SDK.
- The microservice built using ServiceMesh requires a ServiceMesh environment during deployment. ServiceMesh enables microservices to be easily developed, and SDKs are not required.
ServiceMesh Scenarios
- Reconstructing service code written in non-Java language into microservices
- Reconstructing old Java services to microservices
- Interconnecting a service that is not compiled in Java SDK with a service compiled in Java SDK
JAVA SDK Scenarios
- Using distributed transactions
- Using Java to compile microservices.
- Using protocols except HTTP 1.1 (HTTP 1.1 is the only protocol supported by ServiceMesh)
Parent topic: Application Development
- ServiceMesh Scenarios
- JAVA SDK Scenarios