Questions tagged [load-balancing]
The term load balancing is used to describe technology that is used to evenly distribute work across multiple nodes within a network.
5,180
questions
0
votes
0
answers
6
views
How can I troubleshoot load balancing performance issues with node.js servers? [closed]
What is load balancing and why is it important?
How does load balancing work?
What are the benefits of load balancing?
What are some common load balancing techniques?
I tried to implement load ...
0
votes
0
answers
13
views
To access a LoadBalancer deployment, use the “minikube tunnel” command. Here is an example deployment [closed]
kubectl create deployment balanced --image=kicbase/echo-server:1.0
error: failed to create deployment: Post "http://localhost:8080/apis/apps/v1/namespaces/default/deployments?fieldManager=kubectl-...
0
votes
0
answers
26
views
RabbitMQ consumer in cluster (message lost)
Given the following scenario :
RabbitListener (I'm using spring rabbit but probably this is not relevant) receive a message M1 in quorum queue (I dont know if M1 has been sent with publish confirms ...
0
votes
0
answers
7
views
What causes 'Broken pipe' errors in a Django application on GKE, and how can I prevent them?
I have deployed a Django application on a Google Kubernetes Engine (GKE) cluster, and it has been functioning well. However, recently I encountered a "Broken pipe" error with the message &...
0
votes
0
answers
6
views
How to divide getting data process into several chunks with load balancer?
I have a project deployed on ubuntu with nginx. I have an endpoint (it is not so important, but) that gets about 200 000 or more data from another api. And it takes a lot of time (about 2-3 minutes) ...
-2
votes
0
answers
14
views
How to write load balancer for read replicas for Flask app?
If I have multiple read replicas for the database for flask app like below:
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://USER:PASSWORD@DEFAULT:3306/DATABASE'
SQLALCHEMY_BINDS = {
'master': 'mysql+...
0
votes
0
answers
7
views
How can we customize layer 7 load balancers in K8s Ingress to map between TCP and REST messages?
Do we have layer 7 ingress load balancers in K8s which allows us to customize the default load balancers.
We have a use case where the ingress load balancer shall receive messages over TCP from few ...
-1
votes
1
answer
27
views
Error: Typed property must not be accessed before initialization
When I try to use broadcast (...), in the table failed_jobs I get the error:
Error: Typed property App\Events\SendMessageEvent:: $ message must not be accessed before initialization in app/Events/...
0
votes
1
answer
29
views
EKS Load Balancer Controller did not create the Load Balancers
I have created a load balancer controller and it was created successfully. However, only the controller is created, not the load balancers. I tried changing the IAM roles for the node group, also ...
0
votes
0
answers
19
views
WilFly Cluster and JSESSIONID
I have a Java application running on WildFly 25 on AWS. We are trying to set up High Availability with two nodes using Infinispan cache to replicate the session between nodes.
web.xml
<!-- cluster-...
0
votes
0
answers
15
views
WildFly Cluster MarshallableUserObject
I have a Java application running on WildFly 25 on AWS. We are trying to set up High Availability with two nodes using Infinispan cache to replicate the session between nodes.
web.xml
<!-- cluster-...
0
votes
0
answers
20
views
Implementing OAuth2.0 in FastAPI on AWS Fargate with ALB and Cognito - Trouble accessing API endpoint programmatically
We are building API framework for Open Banking in the AWS Cloud. As web server we have chosen FastAPI of Python that is running on ECS Fargate. To reach it using ALB )Application Load Balancer). ...
1
vote
0
answers
36
views
Nginx Ingress Path Based Routing 304 Not Modified or not routing
We are using RKE cluster on rancher,
My NGİNX controller version=1.2.0-rancher1
I want to appy path based ingress routing on my cluster,
For example, if my host:http://test.koc.gov.tr
I have 25 ...
1
vote
1
answer
47
views
Is there an application to easily send software updates to multiple Apache servers simultaneously?
Hello everyone,
My server networking is as follows:
Load Balancer
|
|__Apache2 Server -1
|
|__Apache2 Server -2
|
|__Apache2 Server -3
|
|__Apache2 Server -..n
My problem is this: When I make a ...
0
votes
0
answers
31
views
Why is Traefik unable to generate ACME certificates for my domains?
Issue obtaining ACME certificates in Traefik for TLS (SSL) setup
I'm encountering difficulties while trying to obtain ACME certificates for TLS (SSL) setup using Traefik. I've followed the Traefik ...
1
vote
1
answer
36
views
Internal load balancer instances model
I have the following set up:
public network
This network has internet access as the route tables routes the external traffic to a IGW
I am deploying a small sample app webAppPublic in this network
...
0
votes
0
answers
23
views
NGINX does not resolve the upstream-block
NGINX does not resolve the upstream-block in a reverse proxy and load-balancing application.
I've two server running with ubuntu 22.04.2 LTS. Each of them are in a local network with IP 192.168.2.100 ...
0
votes
0
answers
14
views
How can I add multiple cloud functions to a single load balancer in GCP?
I am trying to add all of my cloud functions to a single load balancer in GCP.
When I try to add multiple backend servers to a load balancer, the GCP interface does not allow it. I can only select ...
0
votes
1
answer
23
views
Apache-Tomcat 9 with mod_jk load balancer : User sessions terminated, mod_jk log file generates error. How to resolve...?
We do have a Apache-Tomcat load balancer with 1 Apache load balancer and 3 Tomcat workers.
The issue which we feel is there is something wrong with our configuration due to which the load balancer ...
0
votes
0
answers
21
views
On-demand Pods for a training platform
I'm trying to create a training/labs platform that would allow anyone to have an isolated pod/container to connect to and play with it. I was initially planning to do it in two steps:
Have the user ...
0
votes
1
answer
29
views
How does openshift multiple pods loadbalancing work?
In openshift I have a project with one Spring Boot application.
When I send a HTTP request, the Spring Boot application logs a message. I can see this message in the log of the pod in openshift.
When ...
-2
votes
0
answers
10
views
API latency between GCP load balancer and k8s pod via Datadog
Datadog has APM integration and getting metrcis for pods in k8s but latency or response code between GCP load balancer and k8s pod, dont seem to find any metric or way to send data to datadog
how to ...
0
votes
0
answers
15
views
How to enable F5 URL at Open Shift container level
currently we have a spring boot application on on-prem data centers. We enabled F5 URL (https://prd.myapp.com/) for the external systems interaction.
For example:
initially, external systems used to ...
0
votes
0
answers
22
views
Haproxy - First health check after service startup vs inter param
I have in my haproxy.cfg a external-script check.
external-check command /etc/haproxy/check_primary.sh
server SERVER_NAME SERVER_IP:444 check inter 15m
server SERVER_NAME SERVER_IP:444 check backup ...
0
votes
1
answer
77
views
MaxScale Connects to MySQL replica but cannot execute queries
I am setting up a Master-slave MySQL replication setup using 3 MySQL 8 nodes(Fresh installations). I have setup a master and configured another nodes to replicate from the master which is working fine....
0
votes
0
answers
46
views
Docker swarm nginx load balancing not working
Bear with me as this is a long one.
I have deployed a docker swarm stack for Wazuh.
The stack has various services. Amongst them, there is an nginx acting as a load balancer between various containers ...
-1
votes
0
answers
31
views
Does loading an eBPF program on one docker container affect another container on the same host?
I am running into an odd issue.
I have created two docker containers both from the same image and running on the same host.
One has IP address 172.17.0.4, the other 172.17.0.5
The container with ...
0
votes
0
answers
24
views
Level 7(HTTP) load balancing in K8S
What i need: Round Robin Load balancing of HTTP requests between replicas for same service(ie: 1st request to go to Replica-1, 2nd request to go to Replica2 and so on (Modulo of replica's) ...
0
votes
0
answers
42
views
AKS not able to handle more requests when increasing pod count
I am running a flask server in AKS. When I manually scale there to be 1 pod, the cluster is able to handle 7 requests successfully.
When I increase the amount of pods to 2 pods, I try to send 12 ...
2
votes
1
answer
31
views
Properly expose applications in Kubernetes with an ingress
I'm fairly new to Kubernetes and having some problems understanding some things.
I'm setting up a cluster on Hetzner Cloud for client applications. In order to make the ingresses of the applications ...
0
votes
0
answers
13
views
Doe Traefik support latency balancing?
On of the simplest and also most performant ways of balancing load over multiple targets is using latency balancing. A great animated way of showing various load balance techniques is here
Therefore a ...
0
votes
0
answers
18
views
Load balanced WCF call to another WCF fails with 401.2 when same server is called
We have many WCF services on servers that are load balanced.
Lets say:
Balancer.domain.com
server1.domain.com (2012R2)
server2.domain.com (2012R2)
WCF1 references WCF2.
There is no prob with calling ...
0
votes
0
answers
44
views
Infinispan cannot write cache to file - MarshallableUserObject - NotSerializableException
I am using wildFly22 with Java11 and am trying to configure Infinispan cache.
distributable-web.xml
<distributable-web xmlns="urn:jboss:distributable-web:2.0">
<infinispan-...
0
votes
1
answer
54
views
Apache Tomcat 9 with mod_jk Load Balancer Problem
I tried using Tomcat 9 with mod_jk but it failed. The same configurations and same Ports work for Tomcat 8 but did not work for Tomcat 9.
It gets stuck in the connection state while redirecting me to ...
1
vote
0
answers
41
views
Distribute the load uniformly while minimizing rebalancing
Please tell me, is there any well-known algorithm that solves my problem, which seems quite common? Then I won't have to reinvent the wheel :)
The problem is to distribute the load uniformly while ...
0
votes
0
answers
29
views
Openshift load balancing doesn't work well
I have a node express server that I am deploying on openshift. The server accepts http requests that usually take 30 seconds to complete. I have 5 pods that run that application however all of the ...
0
votes
0
answers
38
views
AWS unhealthy target group instances
I am working on an AWS project at Udacity and deploying an infrastrucute with elastic load balancer, auto scaling group, listeners, listener rules, security groups and target groups. My problem is ...
0
votes
0
answers
23
views
HAPROXY Hiding Multiple URL behind one common subdomain
We have multiple URL which needs to be masked or redirected to the common URL like below.
test.example.com/app > applicaiton.abc-test.example.com/app
test.example.com/web > webapp.abc-test....
0
votes
1
answer
59
views
GCP - HTTP(S) Load Balancer L7 Backend Bucket Issue
I have just migrated from the HTTP(S) L7 Load balancer (Classic) to the new HTTP(S) L7 load balancer.
I currently have two backend services working fine, and I am looking at creating two backend ...
0
votes
2
answers
52
views
How to integrate custom nginx ingress controller with L7 HTTP(S) loadbalancer in GKE
Installed ngnix ingress controller through helm it automatically created L4 TCP loadbalancer but I want L7 loadbalancer.
Manually created L7 https loadbalancer pointed NEG as backend to it.but getting ...
3
votes
0
answers
64
views
C# Blazor server problem with loadbalancer connection failed
I got following error with blazor server side when using with a loadbalancer:
When I connect directly to the ISS Server's Blazor is connecting correctly.
When I use the loadbalancer it is trying to ...
2
votes
0
answers
55
views
Server side Load Balancing with Spring Cloud
I am reading about Api Gateway and Load Balancers, but I am a bit confused. My questions are the followings:
Is there a way to add or activate load balancing feature in Spring Cloud Gateway in order ...
0
votes
0
answers
142
views
Cloudflare, One Tunnel for Multiple Servers with Different Services
I've registered and configured my domain's name servers to use cloudflare.
I've configured a bunch of web apps on "Server A" to run through a cloudflare tunnel. Everything works beautifully, ...
1
vote
2
answers
228
views
GKE Google Managed Certificate with DNS authorization
By default creating a managed certificate object on GKE creates a managed certificate of type "Load Balancer Authorization". How can I create one with DNS authorization through GKE?
https://...
0
votes
1
answer
63
views
How docker does load balancing between containers when using scale flag without using docker swarm
I configured a docker compose file with two services : 1 node js app and 1 nginx as reverse proxy. I used docker compose scale flag to scale (3) the node container.
Some how docker is load balancing ...
0
votes
0
answers
18
views
How to connect two ryu controllers directly?
I'm working on a project where I am building a topology with the help of ryu controller and mininet. This is basically a multi controller setup, where there will be main controller at the top level, ...
0
votes
0
answers
21
views
Unable to use load balancing in node js app
How to do load balancing node js app.
I am using node js application as one of my micro service. I am getting the two instances but not sure how to use it both. Therefore I am using one.
In Java it is ...
0
votes
0
answers
20
views
Why Nginx can't equally distribute requests to servers?
Hi we are using Nginx as load balancer for our application. And recently we suffered from overloaded requests so we decided to add more app instances.
But the issue is not fully resolved after adding ...
0
votes
1
answer
125
views
Receive side scaling (RSS) based on just one field inside UDP payload
I have an issue with HW-offloaded balancing of network packets between CPU cores on DPDK.
In my case I have only several endpoints whose number is less than the number of CPU cores I have.
All the ...