Django's Road to Learning - Basic

1. Django Project Creation 1. Project structure 1.1. settings.py file """ Django settings for mydemo project. Generated by 'django-admin startproject' using Django 3.1.7.<django Version For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see ...

Added by monkeynote on Wed, 29 Dec 2021 07:55:56 +0200

k8s resource list defines haproxy load balancing

k8s resource list defines haproxy load balancing Core resources of k8s workload type resource PodReplicaSetDeploymentStatefulSetDaemonSetJobCronjob Service discovery and load balancing resources ServiceIngress Configure storage related resources Storage Volume: cloud storage Amazon Elastic Block Store SANGluster (distributed storage) ...

Added by fatywombat on Sat, 25 Dec 2021 08:08:01 +0200

Load balancing algorithm involved in dubbo

Load balancing algorithm in dubbo When there are multiple service providers in dubbo, there is a cluster of services. There are some algorithms for how to allocate service calls in the cluster to select appropriate services to provide services. Polling load balancing algorithm roundrobin loadbalance As the name suggests, polling is t ...

Added by justin15 on Thu, 23 Dec 2021 08:00:25 +0200

Load balancing -- consistent Hash algorithm

Load balancing -- consistent Hash algorithm Before talking about consistency hash, you need to hash the hash. For hash, you only need the time complexity of O(1), and then you can calculate the result. For example, in our HashMap, the hash algorithm is used to calculate the subscript of the key, but it is similar to hashing the hash value afte ...

Added by Gubbins on Wed, 22 Dec 2021 15:40:42 +0200

[spring cloud hoxton] can Ribbon really be replaced by spring cloud loadbalancer (load balancing)

1. Background Spring Cloud Ribbon is a client load balancing tool based on HTTP and TCP, which is implemented based on Netflix Ribbon. Through the encapsulation of Spring Cloud, we can easily automatically convert service-oriented REST template requests into client-side load balanced service calls. Although Spring Cloud Ribbon is just a to ...

Added by madhu on Fri, 17 Dec 2021 02:43:52 +0200

RabbitMQ: use Docker to build RabbitMQ high availability load balancing cluster

catalogue 1, Building a RabbitMQ cluster 1. Start multiple RabbitMQ nodes 2. Join the cluster 3. Configure the image queue 2, HAProxy load balancing 1. Install HAProxy 2. Configure HAProxy 3. Start 3, KeepAlived configuration High Availability 1. KeepAlived installation 2. KeepAlived configuration Use Docker to build a RabbitMQ clu ...

Added by member123 on Mon, 13 Dec 2021 11:16:06 +0200

Cluster of Java Web Learning Notes

colony Clusters are mainly divided into three categories (high availability cluster, load balancing cluster and scientific computing cluster) High availability cluster Load balance cluster High performance computing cluster 1. High availability cluster    HA clusters made of two nodes are common. They have many popular and uns ...

Added by jpadie on Fri, 03 Dec 2021 20:25:50 +0200

Spring Cloud microservice Gateway component

What is Spring Cloud Gateway As the entrance of traffic, the common functions of gateway include routing and forwarding, permission verification, flow restriction, etc. Spring Cloud Gateway is the second-generation gateway framework officially launched by Spring Cloud, which is positioned to replace Netflix Zuul1.0. Compared with Zuul, Spr ...

Added by [/Darthus] on Tue, 30 Nov 2021 20:27:23 +0200

Nearly 20000 words of Dubbo principle analysis, thoroughly understand Dubbo

prefaceEarlier, we studied the principle of RPC. There are many frameworks based on RPC, such as Dubbo. Today, we will deeply analyze Dubbo from its SPI mechanism, service registration and discovery source code and network communication process.Dubbo architecturesummaryDubbo is a high-performance and excellent open source service framework of A ...

Added by greengo on Tue, 23 Nov 2021 21:47:21 +0200

Cluster in Dubbo, load balancing, fault tolerance, route analysis

The Cluster in Dubbo can disguise multiple service providers as one provider, specifically, disguise multiple invokers in the Directory as one Invoker. The camouflage process includes fault-tolerant processing, load balancing processing and routing processing. This article introduces Cluster related things. First, explain the concepts of fault- ...

Added by The Cat on Fri, 05 Nov 2021 00:54:02 +0200