Building REST services with Spring

This paper is from February 16, 2020 https://spring.io/guides/tutorials/rest/ Build rest services with spring. How to eat: in order to express more directly, some proper nouns have been translated into Chinese, which may reduce some content matching, but will help more people understand this thing. ...

Posted on Tue, 18 Feb 2020 01:50:17 -0500 by kcgame

How Spring Boot gracefully stops services

Author: Yellowstone Source: Blog Park Preface When using Springboot, it involves stopping and starting the service. When we stop the service, many times everyone kills the program process directly by kill-9, so the program does not perform elegant shutdown.And some programs that have not finished executing will exit directly. Much of the tim ...

Posted on Sun, 16 Feb 2020 21:56:56 -0500 by RJP1

Kubernetes StatefulSet for stateful service data persistence (automatic creation of PVC)

1. Kubernetes Stateless Service VS Stateful Service 1) Kubernetes Stateless Service Kubernetes stateless service characteristics:1) means that instances running the service do not store data that needs to be persisted locally and that multiple instances respond to the same request with identical results;2) Multiple instances can share the sam ...

Posted on Wed, 12 Feb 2020 12:35:39 -0500 by Tjeuten

k8s storage class

k8s has many services and many resource objects. If you want to create services and make data persistence, you need to know in advance what PV is available? If we want to create PV in advance for this service, we need to know how much space this service needs? Environment introduction Host IP address service master 192.168.1.21 k8s node ...

Posted on Tue, 11 Feb 2020 04:17:23 -0500 by Hellbringer2572

Easily build REST API through SCF Component, no need to stay up late and work overtime

When an application needs to provide a service interface to a third party, REST API is undoubtedly the most popular choice at present. However, if you build your own REST API, developers need to buy virtual machines, configure the environment, and so on. It may be another midnight. All of these can be solved with the Serverless Framework. This ...

Posted on Thu, 06 Feb 2020 09:02:54 -0500 by rosieraz

Elasticsearch 6.3.1 Create a parent-child document (join datatype)

Why use join datatype An index in ES6.3 can only correspond to one type, so if you want to store tree-structured data, you can only use join datatype _parent has been removed in ES6.3, so join is the only parent-child document join datatype official website address Typee is about to be deleted Creation process 1. Index De ...

Posted on Wed, 05 Feb 2020 11:13:01 -0500 by philooo

WeChat public number custom menu to activate WeChat customer service

  1. preparation work: Certified subscription number, opening customer service function, adding a customer service, closing the developer function of public address (or completing business logic on its own). 2. train of thought: click on the menu bar to jump to the public address page, request the ...

Posted on Sun, 02 Feb 2020 06:39:42 -0500 by Tonka1979

PHP tripartite management tool composer

Composer installation Download and install composer (terminal command) ~$ curl -sS https://getcomposer.org/installer | php or ~$ php -r "readfile('https://getcomposer.org/installer');" | php Move composer to bin, and the terminal can use composer's command directly ~$ mv composer.phar /usr/local/bin/composer Composer ...

Posted on Fri, 31 Jan 2020 16:03:50 -0500 by jonah

EFK tutorial - ES cluster enable user authentication

Authentication of kibana and filebeat based on ES built-in and custom users Author: "the wolf with hair bumping", welcome to reprint Catalog A kind of purpose A kind of Shut down service A kind of Elasticsearch - modify the elasticsearch.yml configuration A kind of elasticsearch - enable service A kind of elasticsearch - build local ...

Posted on Fri, 24 Jan 2020 03:58:28 -0500 by gukii

Alibaba Nacos service discovery component cluster deployment

I learned the start-up in the stand-alone mode earlier. The deployment of nacos in the production environment must use cluster mode to ensure high availability. For the cluster deployment of official documents, it is recommended to use vip domain name mode, put all service lists under one vip, and then ...

Posted on Mon, 20 Jan 2020 05:43:12 -0500 by scooter41