idea quickly set up spring cloud registration center and registration

Fast setup of spring cloud Spring Cloud is a microservice framework, which is based on spring boot, a complete set of distributed system solutions provided by Spring Cloud.   First, we use gradle to create: Select JDK and check Java, then next Package name already has project name. Next step: Select our local gradle package and continue ...

Posted by mattd8752 on Sun, 09 Feb 2020 10:59:08 -0800

Apply and publish docker to remote server

docker opens remote access interface docker has to set up the environment, so it won't be repeated here. It won't have to go to Baidu by itself, just a few commands. To push a local image to the docker container of alicloud, you need to enable remote access First edit the host file of docker / lib/sys ...

Posted by Celadon on Wed, 05 Feb 2020 02:15:10 -0800

Diagram the core data structure of the kubernetes scheduler framework

Framework is the second implementation of the kubernetes extension. Compared to Scheduler Extender's extension based on remote independent services, the Framework core implements a localized specification process management mechanism based on extension points 1. Expand Achieving Goals The design of the Framework has been clearly described in th ...

Posted by nikkieijpen on Sun, 02 Feb 2020 10:48:54 -0800

Android system.img ext4 format

The image file of Android system.img is in the format of sparse ext4 image, Space header format: typedef struct sparse_header { __le32 magic; /* 0xed26ff3a */ __le16 major_version; /* (0x1) - reject images with higher major versions */ __le16 minor_version; /* (0x0) - allow images with higer m ...

Posted by ukphoto on Wed, 22 Jan 2020 06:10:36 -0800

Use laravel framework and phantomjs for screenshots

Many of the screenshots you see on the web about phantomjs are used in conjunction with node s and require input commands to execute.So I want to achieve the function of entering a web address to take a screen and output pictures.Example: http://120.77.171.182:8080/laravel&phantomjs/public/, you can ...

Posted by lawnmowerman on Sat, 18 Jan 2020 17:20:32 -0800

How to use raft algorithm in etcd

Raft protocol is a consistency algorithm that solves the problem of data consistency among multiple machines.Raft claims to be concise and can replace the very complex PAXOS algorithm.However, after reviewing raft's paper, you will find that it is cumbersome to fully implement raft even if you claim to ...

Posted by doozerdc on Fri, 17 Jan 2020 18:07:54 -0800

OOM, don't panic. I'll teach you how to locate

This slag is writing BUG this morning. A problem has been thrown by TL. It is said that there is something wrong with the platform that makes me healthy. After an operation finds the error log, I'm foolishly out of memory error. I can also write this thing, but I haven't located it. org.springframew ...

Posted by FRSH on Thu, 16 Jan 2020 20:14:32 -0800

RequestProcessor for source code analysis of zookeeper

Catalog 1, RequestProcessor 2, PrepRequestProcessor 3, SyncRequestProcessor 4, FinalRequestProcessor 1, RequestProcessor The request processors are linked together to process transactions. Requests are always processed in order. Independent servers and master-slave servers link together slight ...

Posted by lucianbeauty on Mon, 13 Jan 2020 19:21:45 -0800

[Matlab] PCA dimension reduction to realize face recognition (with learning materials, code program, notes and operation results)

PCA face recognition with Matlab Winter vacation is coming, Mr. Wang summed up some of the things he learned in this semester, and came to share with you. 1, Theoretical knowledge basis 1. Experience sharing of some predecessors (not limited to these) (1)PCA face recognition: a must for beginner ...

Posted by metkat on Fri, 10 Jan 2020 05:59:41 -0800

linux script introduction

ls #List all files starting with a and o [root@sh02-hap-bss-prod-consul03 ~]# ls anaconda-ks.cfg nss-pam-ldapd-0.9.8-1.gf.el7.x86_64.rpm openldap-clients-2.4.44-21.el7_6.x86_64.rpm original-ks.cfg tools [root@sh02-hap-bss-prod-consul03 ~]# ls [ao]* anaconda-ks.cfg openldap-clients-2.4.44-21.el7_6.x86_64.rpm original-ks.cfg #[0-9] for a ...

Posted by hostcord on Thu, 09 Jan 2020 01:33:25 -0800