Distributed tracking system microservice monitoring based on SkyWalking

In the last article, we built a SkyWalking based distributed tracking environment. Today, we talk about using SkyWalking to monitor our microservices (DUBBO) Service case Suppose you have an order microservice that contains the following components MySQL database sub table sub database (2 sets) Producer (2 sets) Dubbo provider Consumer Dubbo c ...

Posted on Wed, 06 Nov 2019 20:02:56 -0500 by TANK

Deep analysis of thread pool in java thread series -- future task execution process

(it's more convenient to see the source code on the horizontal screen of mobile phone) Note: java source code analysis part is based on java version 8 unless otherwise specified. Note: thread pool source code refers to ThreadPoolExecutor class unless otherwise specified. brief introduction We learned the execution process of common tasks in t ...

Posted on Mon, 04 Nov 2019 09:15:17 -0500 by neilybod

Dubbo application migration to Kubernetes recommendation

Migration of Dubbo application to docker Dubbo is a set of open-source service governance and rpc framework of Alibaba. The service provider publishes its own service through zookeeper, and then the service caller obtains the ip and port of the service through zk. The Dubbo client automatically selects and invokes the service provider through ...

Posted on Mon, 04 Nov 2019 05:16:40 -0500 by tyson

Talk about dubbo's LogbackContainer

order This paper mainly studies the LogbackContainer of dubbo LogbackContainer dubbo-2.7.2/dubbo-container/dubbo-container-logback/src/main/java/org/apache/dubbo/container/logback/LogbackContainer.java public class LogbackContainer implements Container { public static final String LOGBACK_FILE = "dubbo.logback.file"; public static fin ...

Posted on Sat, 02 Nov 2019 10:40:33 -0400 by Fari

Talk about dubbo's spring container

order This paper focuses on dubbo's spring container Container dubbo-2.7.2/dubbo-container/dubbo-container-api/src/main/java/org/apache/dubbo/container/Container.java @SPI("spring") public interface Container { /** * start method to load the container. */ void start(); /** * stop method to unload the container. ...

Posted on Sat, 02 Nov 2019 02:55:33 -0400 by hideous

Enterprise application, how to realize service-oriented three (dubbo entry case)

Today is the June 1 children's day. It's good to return to Guizhou's hometown from Guangzhou thousands of miles away. Good mountain, good water, good mood, then write something. This is the third part of how to realize service-oriented series for enterprise applications. In the previous article: Enterprise application, how to realize service II ...

Posted on Fri, 01 Nov 2019 22:03:41 -0400 by simon13

Talk about dubbo's MonitorFilter

order This paper mainly studies the monitor filter of dubbo MonitorFilter dubbo-2.7.2/dubbo-monitor/dubbo-monitor-api/src/main/java/org/apache/dubbo/monitor/support/MonitorFilter.java @Activate(group = {PROVIDER, CONSUMER}) public class MonitorFilter extends ListenableFilter { private static final Logger logger = LoggerFactory.getLogger(Mo ...

Posted on Fri, 01 Nov 2019 08:48:37 -0400 by FrobinRobin

springboot integrates zookeeper and dubbo

Preface dubbo is an rpc framework, which has been in use before. Now I will summarize it for future use. I'll post the code directly, and the code will definitely run. If it doesn't run, look at my previous configuration of zookeeper, or copy the code I posted again. If it doesn't work, please leave a message, and I'll reply. Overall project s ...

Posted on Tue, 29 Oct 2019 17:15:19 -0400 by jj33

Java Concurrent Programming Series 4: Custom thread pool rejection policy

Introduction ThreadPoolExcutor is the thread pool that comes with JDK. It is also the creation method that we often use when creating the thread pool. Students who have a little knowledge of thread pool know that thread pool is a typical pool cache design. JDK has four kinds of task rejection strategi ...

Posted on Sat, 26 Oct 2019 23:17:48 -0400 by edwinlcy

Dubbo extension point loading mechanism

Java SPI(Service Provider Interface) (1) interface public interface SPIService { public void printService(); } (2) interface implementation 1 public class SPIServiceImpl implements SPIService { public void printService() { System.out.println("Hello World"); } } (3) interface implementation 2 public class SPIServiceImpl2 imp ...

Posted on Sat, 26 Oct 2019 09:06:51 -0400 by siropchik