Traffic Gray Level and Version Management of Knative Service
This paper mainly introduces the traffic gray level of Knative Serving, and demonstrates how to create different Revisions and how to scale the traffic gray level among different Revisions through a rest-api example.
Deploy rest-api v1
Code Before testing, we need to write a rest-api code and be able to distinguish between different version ...
Posted by benphelps on Mon, 22 Jul 2019 05:59:29 +0200
Detailed Installation and Configuration of nginx
Detailed Installation and Configuration of nginx
nginx virtual server curl-
Configuration is simple, flexible and portable.
High concurrency (static small file), static tens of thousands of concurrency
Small resource, 2W concurrent, 10 threaded services, memory consumption is only several hundred M
There are many kinds of functions (web,c ...
Posted by love_php on Sat, 20 Jul 2019 17:41:33 +0200
Caddy: A Fresh and Free Web Server
Caddy: A Fresh and Free Web Server Subordinate to the author Server-side Application Development and System Architecture Nginx has been used in our company before, but its configuration includes some feature support which is slightly more complicated than Caddy, which can be referred to by the author. Nginx Basic Configuration Memorandum.
Ca ...
Posted by blogger3 on Thu, 18 Jul 2019 01:50:54 +0200
Chinese version of Django-REST-framework
quick get start
Here we create a simple API for administrators to view and edit user and group information.
Project Settings
Create a new django project named tutorial and create an APP named quickstart:
# new directory
mkdir tutorial
cd tutorial
# New Virtual Environment
virtualenv env
source env/bin/activate # Windows uses `env Scripts ...
Posted by stakes on Sun, 30 Jun 2019 01:18:17 +0200
Reference for building Elastic Stack 5.0 System
I. Overview
Elastic search is an open source distributed search engine. Its characteristics include: distributed, zero configuration, automatic discovery, automatic index segmentation, index copy mechanism, restful style interface, multiple data sources, automatic search load, etc.
Logstash is an open source tool for collecting, analyzi ...
Posted by GeoffOs on Sat, 29 Jun 2019 20:32:56 +0200
How to use interface gracefully
Well, 6.1 is just over. We're not babies anymore. Come on, an interface article.
In the process of programming, we should learn how to use interfaces to change our lives and greatly improve our self-ability.Interface is not a new feature, but it's very important. Here's a small example of interface.
Imagine a class of DocumentStore that collect ...
Posted by Sphen001 on Tue, 25 Jun 2019 23:36:00 +0200
Analysis of ThinkPhp5 | E-commerce Module
ThinkPhp5 framework is a lightweight development framework based on MVC. Its modular construction is simple and effective. Compared with previous versions, it is a subversive change. In this paper, combined with the common functions of some websites, a brief analysis of the basic principles, a small test knife.
Compared with the complete develo ...
Posted by AncientSage on Sat, 15 Jun 2019 23:45:50 +0200
Using SDK of Authorize.net to realize payment process conforming to PCI standard
The PCI standard is a set of standards designed to maximize the protection of cardholder data. There are many requirements, you can see. PCI standard Site understanding. There are many requirements. For program apes, it is necessary to ensure that any payment information of users does not go to their own servers and do not save in their own dat ...
Posted by jynmeyer on Wed, 05 Jun 2019 23:19:03 +0200
Share! 366 Tool Online Answer Domain Name Blocked by Wechat What are the Reasons, Wechat Domain Name Blocking Scheme What are
Recently, more and more website domain names have been blocked by Wechat's detection system, some of which are indeed illegal, and some of which have been misreported. When such a problem arises, the flow of products will be cleared in an instant, which is the same blow to all businesses. Is there any way that we can effectively prevent domain ...
Posted by totof06 on Mon, 27 May 2019 20:19:23 +0200
Custom Node Scaling Using Ali Cloud Container Service
brief introduction
Ali Cloud Container Service was available early Cluster-based average CPU/memory usage triggers node autoscaling To help many customers cope with resilient changes in business pressures.The principle is to use Ali Cloud's cloud monitoring capabilities to trigger node scaling when resource usage (cpu and memory) reaches a thre ...
Posted by snaack on Mon, 27 May 2019 18:45:41 +0200