Dev log | how to publish jar package to Maven central warehouse

abstract The Maven central warehouse does not support direct upload of jar packages, so it is necessary to publish the jar packages to some designated third-party Maven warehouses, such as the Sonatype OSSRH warehouse, and then the warehouse synchronizes the jar packages to Maven. This paper records the whole publishing and synchronization pro ...

Posted by Shaun on Wed, 11 Dec 2019 22:50:51 -0800

Analysis of pinpoint sampling principle

When using pinpoint for full link monitoring, it supports the sampling of requests. Whether a request is sampled depends on the machine at the beginning of the whole link. The machine uses a specific sampling algorithm. The sampled flag will be transmitted through the link all the time. For example, in http, the pinpoint sampled field will be a ...

Posted by DarkWater on Wed, 11 Dec 2019 19:51:09 -0800

Online tracking class method execution time consuming

The online environment is mostly Linux, sometimes the code execution is slow, but you can't locate where it's slow, or it's more difficult to locate. This article introduces a way to facilitate your problem location.     First of all, let's talk about a tool: Arthas, which is mainly an open-source tool of Alibaba. For details, please ...

Posted by parkej60 on Wed, 11 Dec 2019 10:04:30 -0800

Using httpinvoker to make methods between two systems call each other

Business scenario: there may be communication (method call) between two systems. In this case, httpinvoker can be used to implement a lightweight solution It is divided into server and client. The client calls the interface provided by the server; Client configuration: <bean id="OpenApi4SoaService" class="cn.com.agree.open.mvc.service.imp ...

Posted by lordofgore on Wed, 11 Dec 2019 08:27:49 -0800

C + + calls Tensorflow model in Python

C + + calls Tensorflow model Save tensorflow model Model loading code C + + program calls Python program CMakeLists document writing Result Use C + + to call Python 2.7 program, load tensorflow model (why not use Python 3, there are too many pits, which has not been solved well). The whole environment is completed under Ub ...

Posted by ojeffery on Wed, 11 Dec 2019 08:05:09 -0800

Android 8.0 changes static registration to dynamic registration (custom standard broadcast)

Layout file <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom=" ...

Posted by noodle on Wed, 11 Dec 2019 07:29:42 -0800

netty source code analysis: unveiling reactor thread

Last two blog posts( netty source code analysis: unveiling reactor threads (1),netty source code analysis: unveiling reactor threads (2) )The first two steps of the reactor thread of netty have been described. Here, we use this picture to review: A brief summary of reactor thread Trilogy 1. Polling out IO events 2. Handle IO events ...

Posted by plex303 on Wed, 11 Dec 2019 02:00:31 -0800

Initial knowledge of python Network programming-01

Recently learning the basic knowledge of python, I find it interesting to go to the network programming section. Write a blog to record, first you can know the basic knowledge of computer network, just refer to relevant books, this article only makes a simple introduction! 1.OSI seven-layer protocol, TCP, UDP protocol First of all, the comput ...

Posted by jdbfitz on Tue, 10 Dec 2019 23:53:30 -0800

Read write separation of redis cluster

Read write separation of redis cluster 1. Cluster deployment In this article, we will not elaborate on how to deploy the master-slave cluster. In general, slaveOf configuration is used for initialization configuration. 2. Integrating with springboot to realize read-write separation The call layer read-write separation is realized by annotatio ...

Posted by lunarul on Tue, 10 Dec 2019 22:34:33 -0800

RabbitMQ cluster deployment

RabbitMQ Metadata RabbitMQ Metadata Type RabbitMQ always records the following types of internal metadata: *Queue Metadata - Queue names and their properties (whether persistent or automatically deleted) *Exchange metadata - Exchange name, type, properties (persistent, etc.) *Binding metadata - A simple table showing how to r ...

Posted by tooNight on Tue, 10 Dec 2019 22:12:07 -0800