EFK tutorial - ElasticSearch multi instance deployment

Based on ElasticSearch multi instance architecture, realize reasonable resource allocation and separation of hot and cold data Author: "the wolf of hair", welcome to reprint and contribute Catalog Application Framework ▪ 192.168.1.51 elastic search data deployment dual instance ▪ 192.168.1.52 elastic search data deployment dual inst ...

Posted by pennythetuff on Mon, 25 Nov 2019 05:51:54 -0800

Using Alibaba cloud Serverless function calculation to realize HTTP health check + fault SMS notification

Application scenario Regularly request the website / API, judge whether the service is available and whether the website is down according to the request response, and send a SMS to inform the administrator when there is a down time engineering service Operation platform: Alibaba cloud functional computingDevelopment language: Python 3 (small f ...

Posted by fellixombc on Sun, 24 Nov 2019 07:56:44 -0800

OkHttp3 source code details okhttp connection pool reuse mechanism

1. Overview To improve network performance optimization, it is very important to reduce latency and improve response speed. Usually, when we make a request in the browser, the header part is like this Keep alive is to keep a long connection between the browser and the server, which can be reused. It is enabled by default in HTTP 1.1. Why does ...

Posted by tempa on Mon, 18 Nov 2019 02:01:01 -0800

OkHttp3 source code details Request class

Every network request is a request. Request is the encapsulation of URL, method, header and body. It is also the encapsulation of request line, request header and entity content in Http protocol public final class Request { private final HttpUrl url; private final String method; private final Headers headers; private final RequestB ...

Posted by gazever on Mon, 18 Nov 2019 01:39:59 -0800

Picture Loading Frame Picture Loading Frame Selection Mid-story

Ali P7 Mobile Internet Architect Advanced Video (Updated Daily) Free Learning Click: https://space.bilibili.com/474380680This article will use Glide to illustrate the Picture Loading Frame selection: First, add dependencies implementation 'com.github.bumptech.glide:glide:4.5.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0' The ...

Posted by Fearsoldier on Sun, 17 Nov 2019 18:40:31 -0800

About the record of java.lang.StackOverflowError in Jenkins building Git project

Today, Jenkins was configured to build a Git project. The following problems were encountered, which made it impossible to build Parsing POMs Injecting SonarQube environment variables using the configuration: sonarqube-5.5 FATAL: null java.lang.StackOverflowError at sun.reflect.GeneratedMethodAccessor7533.invoke(Unknown Source) at sun. ...

Posted by dennyx on Sat, 16 Nov 2019 12:50:06 -0800

k8s grafana data persistence

Problem: as soon as the kfana container built by k8s is restarted, the configured dashboard and added users will be reset. As a result, there is no data persistence in grafana.Solve: 1. Establish persistent flower storage pvc in the cluster first Then hang it in the container / var directory volumeMounts: - mountPath: /var name: ...

Posted by Mystis on Wed, 13 Nov 2019 07:08:25 -0800

Summary of practice on getting started with Golang unit testing

Background: When writing a Golang program for a long time, I didn't consciously write unit tests until I later wrote an independent project. I slowly found out how efficient and convenient it is to write unit tests for a function. Then I'll review the tests in Golang together. UnitTest Unit testing is a relatively efficient self-testing metho ...

Posted by MrNonchalant on Sat, 09 Nov 2019 16:51:58 -0800

Centos6 Tengine opens http2 transport protocol

1. Preface Recently, we are optimizing the visiting speed of the website and opening http2 protocol for the website. What are the advantages of this protocol? As follows: http2 is the next generation transport protocol, which will be widely used in the future, which is a trend. http2 has the feature of multiplexing, which means to access re ...

Posted by francisexpress on Sat, 09 Nov 2019 11:07:26 -0800

The second week of linux foundation

linux distribution system directory naming rules Use root file system structure and FHS hierarchy. linux system is strictly case sensitive, and the system directory inherits this feature. "/: root directory, the highest level directory of all directories / bin: the basic command storage directory available to all users / sbin: only the ...

Posted by djremiasz on Sat, 09 Nov 2019 03:50:21 -0800