Microservice Governance in Focus: What’s EDAS?

What Is EDAS?

Why Use EDAS?

The History of EDAS Microservice Support

Open Source, Commercialization, and Cloud-native

Difficulties in EDAS Microservice Governance

  • Difficulty 1: EDAS supports a variety of microservice frameworks, including Dubbo, Spring Cloud, and HSF.
  • Difficulty 2: There are multiple versions of each microservice framework:
  • For Dubbo, EDAS supports versions 2.5, 2.6, and 2.7.
  • For Spring Cloud, EDAS supports versions later than D.
  • Difficulty 3: Traditional service queries require access registries, but there are a large variety of registries that are used by users:
  • Zookeeper
  • Nacos
  • Eureka
  • Difficulty 4: EDAS supports two deployment modes:
  • ECS JAR package deployment
  • Kubernetes image deployment
  • Difficulty 5: We need to take the migration problems and transformation costs of existing users into account.

Implementing EDAS Microservice Enhancements

MicroServiceTransformer

public class MicroServiceTransformer implements ClassFileTransformer {    @Override
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException {
if ("org/apache/dubbo/config/ReferenceConfig".equals(className)) {
System.out.println("microservice improve");
}
return null;
}
}

MicroServiceAgent

public class MicroService {
public static void premain(String options, Instrumentation ins) {
ins.addTransformer(new MicroServiceTransformer());
}
}

Summary

Original Source:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com