zuul routing gateway overview, basic configuration, routing rules

zuul routing gateway Zuul includes two main functions of request routing and filtering: The routing function is responsible for forwarding the external request to the specific microservice instance, which is the basis of realizing the unified access to the external access, while the filter function is ...

Posted by Gary King on Sat, 22 Feb 2020 09:42:35 +0100

Explore spring cloud series Chapter 6: creating Zuul intelligent routing Palace

Welcome to spring cloud. In this chapter, we will teach you how to create the parent-child project architecture of spring cloud. Knowledge is endless, and stories are good or bad. Articles are purely fictions. Make complaints about them. How can I walk in the Jianghu without any tricks. The technologies ...

Posted by vcarter on Sat, 22 Feb 2020 08:26:41 +0100

Spring Cloud Sleuth service link tracking

Zipkin service tracking principle Create some tracking identifiers (tracking ID, spanId, parentId), and finally build a request process tree. When each business system calls each other, it will pass specific tracking messages to Zipkin. After Zipkin collects tracking information, it will aggregate, process, store, display, etc. users can easily ...

Posted by Rebelrebellious on Thu, 20 Feb 2020 09:49:41 +0100

Quick Start for the http Pressure Tool wrk

[TOC] Quick Start for the http Pressure Tool wrk Thank you, teacher cap1537 I've used a lot of manometry tools, but I haven't found the one I like.It feels good to try wrk recently. Write down this guide for yourself to remember, and if it helps you, it's also good. install Wrk supports most UNIX-like systems and does not support windows.Oper ...

Posted by AZDoc on Wed, 19 Feb 2020 18:33:23 +0100

jdk1.8 java.io.FileInputStream class source reading

introduce jdk explained: public class FileInputStream extends InputStream A FileInputStream gets input bytes from files in the file system.What files are available depends on the host environment. FileInputStream is used to read raw byte streams such as image data.To read a string, consider using File ...

Posted by Darrel on Mon, 17 Feb 2020 03:22:39 +0100

[Code Page] Build your own golang framework step by step from scratch

The goal of this framework is to be a generic framework, and I want it to be big and complete, so I can use it directly as a foundation template for other projects in the future, so I want to continue adding some functionality to it, just write some demo in.For this article, I'll add a queue feature. nsq There are many queues, I choose nsq.The ...

Posted by sheckel on Mon, 17 Feb 2020 00:13:00 +0100

Using fluent as the docker log driver to collect logs

Preface The default log driver for docker is json-file Every container will generate a / var/lib/docker/containers/containerID/containerID-json.log locally. The log driver supports extension. This chapter focuses on the fluent driver collecting docker logs Fluentd is an open source data collector for unified logging layer. It is the sixth CNCF ...

Posted by Mortier on Sun, 16 Feb 2020 03:50:45 +0100

Git Dehydration Edition [10. Internal Mechanism]

a.1 underlying command Previously, we outlined 30 common Git commands, such as checkout/branch/remote. Since Git's initial goal was a collection of tools, not a VCS system, it contained a large number of underlying commands to be invoked in scripts like Unix systems, so these commands are called under ...

Posted by Drakkie on Sat, 15 Feb 2020 07:39:34 +0100

Complete summary of 23 Java design patterns | Packaged please take away

Design pattern s are a set of repetitive, well-known, categorized, code design experiences. There are three types of design patterns, 23 of which are: Creative mode: Singleton mode,Abstract Factory Mode,Builder pattern,Factory Mode,Prototype mode. Structural pattern: Adapter mode,Bridge mode,Decorat ...

Posted by PrivatePile on Tue, 11 Feb 2020 05:35:50 +0100

54 days machine learning-day4

logistic regression What is logical regression Logical regression is used to deal with different classification problems. The purpose here is to predict which group the currently observed objects belong to. It will give you a discrete binary output. A simple example is to judge whether a person will v ...

Posted by gabe33 on Mon, 10 Feb 2020 05:59:43 +0100