load-balancing

AppEngine load balancing across multiple regions

只愿长相守 提交于 2021-02-04 16:08:16
问题 I understand that AppEngine project is defined to only one region and Google automatically handles the load balancing for you. But if I have apps in different regions across the world (In different projects as it seems to be a requirement) then how can I use the HTTPS load balancer in Google Cloud to automatically route the traffic based on the location where the request is coming from? (Consider both Standard and Flexible) 回答1: The Load Balancer in GCP can balance the traffic to different

What can we do when load balancer becomes the bottleneck?

不羁的心 提交于 2021-02-04 14:48:15
问题 I just started learning load balancers. Taking a server side application (http/https) load balancer as an example, I assume it listens a specific ip address, then forward the http requests to available servers based on its algorithm. So is it possible for a load balancer to become a bottleneck? Because it's listening a specific ip address, all requests will first go to the single load balancer. So I think there could be a scenario where the amount of traffic is beyond the limit/capacity of

What can we do when load balancer becomes the bottleneck?

橙三吉。 提交于 2021-02-04 14:48:05
问题 I just started learning load balancers. Taking a server side application (http/https) load balancer as an example, I assume it listens a specific ip address, then forward the http requests to available servers based on its algorithm. So is it possible for a load balancer to become a bottleneck? Because it's listening a specific ip address, all requests will first go to the single load balancer. So I think there could be a scenario where the amount of traffic is beyond the limit/capacity of

Wordpress issue importing .xml (Load Balanced website)

匆匆过客 提交于 2021-01-29 09:10:05
问题 I am moving posts from an old blog to my 'newer' blog and have used the standard Wordpress Import & Export tools for the exporting from the old blog then importing into the new blog. When I import the xml file into my new blog and assign the authors I get the following error: Sorry, there has been an error. The file does not exist, please try again. Not sure if this makes a difference but our website is currently hosted on Rackspace with a load balancer with 2 indentical instances of the

How to distribute (card game table) dealers across servers in a balanced way?

久未见 提交于 2021-01-29 05:56:25
问题 I am currently working on an online card game, similar to blackjack, which will consist of a series of tables where each table has a "dealer" and multiple human players. The dealer (a computer bot) is responsible for dealing and shuffling cards. The tables will be stored in a PostgreSQL database table and it will be possible for a human admin to add/remove/edit tables. The game will consist of a web front end and a REST/websocket API backend. I will probably use Kubernetes and Nginx as a load

DNS configuration to distribute traffic to multiple host on google cloud

妖精的绣舞 提交于 2021-01-28 02:53:38
问题 We have 2 servers hosting a particular service on google cloud. How to do a simple round-robin DNS configuration to distribute the load? 回答1: According to this thread Google Cloud DNS does not support round-robin. 回答2: You can set up DNS round robin with Cloud DNS simply by adding more than one IP address to your DNS record. You might want to look into Google Compute Engine's Load Balancing options. This will allow you to have one IP address that sends traffic to your two servers. This has a

Sticky sessions on Kubernetes cluster

霸气de小男生 提交于 2021-01-21 04:04:22
问题 Currently, I'm trying to create a Kubernetes cluster on Google Cloud with two load balancers : one for backend (in Spring boot) and another for frontend (in Angular), where each service (load balancer) communicates with 2 replicas (pods). To achieve that, I created the following ingress: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: sample-ingress spec: rules: - http: paths: - path: /rest/v1/* backend: serviceName: sample-backend servicePort: 8082 - path: /* backend:

What is the difference between the internal and External load balancer in AWS?

拟墨画扇 提交于 2020-12-30 05:44:08
问题 What is the difference between the internal and external load balancer? Assume I created an internal load balancer inside a VPC. Is it possible to access the internal load balancer outside the VPC? Consider I have two AWS accounts A and B. I created an internal load balancer in account A. Is it possible to attach the internal load balancer to Route 53 in account B? 回答1: An internal load balancer is assigned to a private subnet and does not have a public IP. It cannot be accessed by a client

Load distribution: All HTTP requests are getting redirected to a single pod in a k8 cluster

荒凉一梦 提交于 2020-12-15 06:40:14
问题 I have created a very simple spring boot application with only one REST service. This app is converted into a docker image ("springdockerimage:1") and deployed in the Kubernetes cluster with 3 replicas. Contents of my "Deployment" definition is as follows: apiVersion: apps/v1 kind: Deployment metadata: name: springapp labels: app: distributiondemo spec: selector: matchLabels: app: distributiondemo replicas: 3 template: metadata: labels: app: distributiondemo spec: containers: - name: spring

Does kube-router IPVS-least connection algorithm, does load balancing across pods in same node or different nodes?

瘦欲@ 提交于 2020-12-13 07:03:54
问题 The application which I am working on runs as a deployment in kubernetes cluster. Pods created for this deployment is spread across various nodes in the cluster. Our application can handle only one TCP connection at a time and would reject further connections. Currently we use kube-proxy (Iptables mode) for distributing loads across pods in various nodes, but pods are chosen in a random way and connections are getting dropped when its passed to a busy pod. Can I use Kube-router's least