Client gray publishing, NGINX+GeoIP2+GeoIP Database

Generation of demand (regional renewal) Our company is an e-commerce platform. Its main products include an intelligent water dispenser product, and each intelligent water dispenser product is installed in the home of customers nationwide. For after-sales maintenance, it is easy for the server to save the data and send it back. The remote di ...

Posted on Tue, 07 Jan 2020 07:43:42 -0500 by d00dle

Current limiting of high concurrent sharp tools

What limits flow? In the development of high concurrency system, there are three tools to protect the system: caching, degradation and current limiting. So what's the limit? As the name suggests, flow restriction is to limit the traffic, just like your broadband package 1 G of traffic, run out of it. By limiting the current, we can control the ...

Posted on Tue, 07 Jan 2020 06:34:47 -0500 by brainardp

Configuration of django project token authentication of jwt

1. Introduction to JWT Json web token (JWT) is a JSON-based open standard ((RFC 7519)) implemented to deliver declarations between network application environments. The token is designed to be compact and secure, especially for single sign-on (SSO) scenarios in distributed sites.JWT claims are typically used to transfer authenticated user iden ...

Posted on Mon, 06 Jan 2020 21:05:36 -0500 by cbailster

Basic management of K8s resource objects (upgrade, rollback, expansion, shrink)

Blog Outline:1. Resource Creation2. Resolve the client's inability to access the services run by k8s internal pod3. Build private warehouses and customize mirroring4. Version expansion and contraction5. Upgrade and rollback of services 1. Resource Creation This post focuses on how to use the command line to create resources! [root@master ~]# ...

Posted on Mon, 06 Jan 2020 20:42:12 -0500 by portabletelly

Analyze the Bra sales information of Netease in Python and tell you their real Size

Today, through the analysis of crawler data, let's take a look at the acquisition and analysis of Netease's strictly selected product reviews. Statement: This is a super serious technical article, please read it in the attitude of learning and communication, thank you! !   ​ Online product review crawling Analysis web page Comment analysis ...

Posted on Mon, 06 Jan 2020 15:09:31 -0500 by DillyDong

Dynamically generate tables - tables with merged cells

Recently, we have met the need to dynamically generate a table, similar to Excel, which supports the table of merging cells, and share the code to you~ 1, Examples of simple forms found online: The following is the generation rule table m row * n column similar, you can directly open HTML to view the results. <!DOCTYPE ht ...

Posted on Mon, 06 Jan 2020 14:07:16 -0500 by steve448

Nginx configure free https certificate

Let's Encrypt is used for free SSL certificate application. 1. Let's Encrypt is a public free SSL project in foreign countries, which is hosted by Linux foundation and initiated by Mozilla, Cisco, Akamai, IdenTrust, EFF and other organizations. 2. The Let's Encrypt certificate is valid for three months and needs to be renewed every three month ...

Posted on Mon, 06 Jan 2020 13:33:03 -0500 by Richardtagger

. netcore3.0 System.Text.Json date format

The JSON format of. NETCORE 3.0 no longer uses Newtonsoft.Json by default, but uses its own System.Text.Json. The reason is that System.Text.Json is less dependent and more efficient. If the parameters defined by webapi are of datetime type, for example public class Input { public DateTime?Begin{get;set;} public DateTime?End{get;s ...

Posted on Mon, 06 Jan 2020 13:25:05 -0500 by buck2bcr

Upload react native file

The previous article talked about the use of file selection, https://my.oschina.net/HhhXxxJjj/blog/1936008 If you choose a file, you need to upload it. This one records the file upload This is a UI Library of antd. Students who don't know how to learn by themselves, choose pictures and take photos have time to make up. Their upload method is ...

Posted on Mon, 06 Jan 2020 12:29:57 -0500 by Kain Elderan

traefik uses etcd storage configuration--sample demo

traefik uses etcd as a backend configuration store configuration instance Functional testing purposes: 1:Traefik serves as a web service and uses etd library as the uniform storage space to implement traefik service, which can easily add or delete nodes and decouple the service configuration problems after the traefik service is started. 2:Tra ...

Posted on Mon, 06 Jan 2020 09:20:12 -0500 by Gimpy