Home  >  Article  >  Java  >  What are the mainstream microservice frameworks in Java?

What are the mainstream microservice frameworks in Java?

Guanhui
GuanhuiOriginal
2020-06-01 14:48:068970browse

What are the mainstream microservice frameworks in Java?

What are the mainstream microservice frameworks in Java

1. SpringCloud

Spring Cloud, from Spring has the strong support of the Spring community and the strong backing and technical output of Netflix. Netflix, as an Internet company that has successfully practiced microservice architecture, contributed almost the entire microservice framework stack to the community as open source a few years ago. The entire service architecture suite of these frameworks is the core of Spring Cloud.

- Eureka: Service registration discovery framework;

- Zuul: Service gateway;

- Karyon: Server-side framework;

- Ribbon: Client Framework;

- Hystrix: service fault tolerance component;

- Archaius: service configuration component;

- Servo: Metrics component;

- Blitz4j: log Component;

2, Dubbo

Dobbo is a distributed service framework and Alibaba’s open microservice governance framework, dedicated to improving performance and transparency A specialized RPC remote service calling solution and SOA service management solution. Its core part (official website)

- Remote communication: Provides abstract encapsulation of a variety of NIO frameworks based on long connections, including multiple thread models, serialization, and "request-response" mode information exchange methods;

- Cluster fault tolerance: Provides transparent remote procedure calls based on interface methods, including multi-protocol support, as well as soft load balancing, failure tolerance, address routing, dynamic configuration and other cluster support;

- Automatic Discovery: Based on the registration center directory service, service consumers can dynamically search for service providers, making addresses transparent and allowing service providers to smoothly add or reduce machines.

Dubbo also adopts the full Spring configuration method to transparently access the application without any API intrusion into the application. You only need to use Spring to load Dubbo's configuration. Dubbo loads based on Spring's Schema extension. Of course, API calling methods that are not officially recommended are also supported.

3, lstio

lstio, as a cutting-edge project for microservice aggregation layer management, is the first joint open source project by Google, IBM, and Lyft (overseas shared travel company, Uber rival) The project provides a unified solution for connecting, security, management and monitoring microservices.

The current first beta version is for the Kubernetes environment, and the community claims that it will add support for other environments such as virtual machines and Cloud Foundry in the next few months. lstio adds traffic management to microservices and creates the foundation for value-added features such as security, monitoring, routing, connection management, and policy.

- Automatic load balancing of HTTP, gRPC and TCP network traffic;

- Provides rich routing rules to achieve fine-grained network traffic behavior control;

- Traffic Encryption, serviceware authentication, and strong identity assertion;

- Fleet-wide policy enforcement;

- Deep telemetry and reporting.

Recommended tutorial: "Java Tutorial"

The above is the detailed content of What are the mainstream microservice frameworks in Java?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn