Spinnaker section 7 - Orca code details

This Spring Festival holiday has been held at home because of the new crown. I have nothing to do to turn out the spinnaker code and review each microservice again. I made some notes and shared them today. If there is spinnaker development or bug repair in the future, I can directly focus on it. It i ...

Posted on Mon, 10 Feb 2020 00:47:24 -0500 by whiterecluse

Remote call using Http connection pool

Explain http request is the most commonly used method of inter system interface call. In java, there are many ways of http request. httpClient is a common way at present, and it is easy to use. However, creating an httpClient is a time-consuming process. To improve performance, the http connection poo ...

Posted on Sun, 09 Feb 2020 23:51:53 -0500 by scross

Activation function in TensorFlow

Original Address Catalogue - TensorFlow A little bit of my understanding In a sense, in-depth learning = neural networks Is a multilayer process x0 -> y_1=f(Wx0) -> y_2=f(Wx1) -> y_3=f(Wx2) -> . . . -> y=f(Wx(n-1)) Each of these layers Start with a round of "straight" (linear) ...

Posted on Sun, 09 Feb 2020 22:08:58 -0500 by greedyisg00d

Shiro - Detail the Official Starting Cases from scratch!!!

First go to shiro's official website to download the source code http://mirror.bit.edu.cn/apache/shiro/1.5.0/shiro-root-1.5.0-source-release.zip Unzip into the samples directory after downloading Then enter the quickstart directory Now that you are familiar with it, the next task is to copy ...

Posted on Sat, 08 Feb 2020 21:08:29 -0500 by apw

Annotation configuration for MyBatis

In the past, MaBatis added, deleted and modified queries, associated mapping, dynamic SQL statements and other knowledge, all of which are configured through XML, so it is cumbersome to write a large number of XML configurations. Annotation is still simpler. It can be seen from chapter allocation. The f ...

Posted on Sat, 08 Feb 2020 05:30:16 -0500 by RedRasper

Talk about artemis's CliicalAnalyzerPolicy

order This article mainly studies artemis's CRITICAL AnalyzerPolicy. CriticalAnalyzerPolicy activemq-artemis-2.11.0/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/critical/CriticalAnalyzerPolicy.java public enum CriticalAnalyzerPolicy { HALT, SHUTDOWN, LOG; static { // for URI support on ClusterConnection Bea ...

Posted on Wed, 05 Feb 2020 11:09:16 -0500 by joix

Java file upload: common file upload upload component

Reference Reprint: https://www.cnblogs.com/longqingyang/p/5579889.html Principle: The common fileUpload component uses the DiskFileItemFactory factory method to generate a request form content parser, which parses the form content into a list < fileitem >, and then circularly obtains the inp ...

Posted on Wed, 05 Feb 2020 10:59:44 -0500 by toibs

STS SpringCloud + Eureka distributed infrastructure project construction

1, Create a Maven project as the parent project This parent project is mainly used to manage dependent versions 1. Create Maven parent project                     2. Modify pom.xml file <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:x ...

Posted on Tue, 04 Feb 2020 13:07:31 -0500 by vaan

Automatic operation and maintenance tool - saltstack installation and use (example demonstration!!!)

saltstack overview In a production environment, there are more than one or two servers, usually thousands of servers. This is too difficult for the operation and maintenance personnel to manage, and saltstack is a new basic platform management tool, which can support the management of tens of thousand ...

Posted on Tue, 04 Feb 2020 08:06:41 -0500 by TeamTJ

How does Dubbo support local calls? Analysis of injvm mode

Dubbo is a framework for remote calls. For a service provider, an interface is exposed for external consumers to call, Do you need any special handling for whether the provider can call this interface? This article will share Dubbo's implementation mechanism of local call and how to turn it on and off. injvm supports local calls Using Dubbo loc ...

Posted on Tue, 04 Feb 2020 06:36:54 -0500 by gclx