Skip to main content

Questions tagged [load-balancing]

0 votes
2 answers
541 views

Load Balancing of requests coming from a single client

I have a question regarding load balancing of a service. My load balancing requirement is as follows: I will have multiple application servers for a non-http service. Application servers will be ...
dsingh's user avatar
  • 111
0 votes
1 answer
731 views

Is it a bad practice to use cookies for a Desktop Application?

I'm working on a Desktop App in C# that communicates with a Java backend hosted AWS. I want to deploy on multiple instances and use an Application Load Balancer with sticky sessions but as Far as I ...
Hicham Zouarhi's user avatar
2 votes
1 answer
224 views

Granularity of API Gateways to Service Balancers

OSS API Gateways typically come bundled with built-in load-balancing capabilities. We see this with Netflix Zuul and Kong. In a service-oriented architecture, where many microservices are talking to ...
hotmeatballsoup's user avatar
4 votes
1 answer
1k views

Service discovery and load balancers with high-frequency health checks

I am trying to understand the advantages of service discovery compared to load-balancing within the context of a microservice mesh where many instances/nodes/VMs/containers of many web services are ...
hotmeatballsoup's user avatar
1 vote
0 answers
173 views

Load balancing the load balancers

Currently I have a system where I have installed HAProxy on one machine and my other 3 machines serves the webapps and the fourth machine for the database. Now I need to add another load balancer in ...
Himanshuman's user avatar
0 votes
0 answers
179 views

What would be the best way to queue asynchronous calls received simultaneously by a web service cluster?

I have an API where every time is called there are multiple calls to multiple webservices in the background, sometimes it takes up to 20 seconds to process the request calling up to 10 different web ...
Mario Arturo's user avatar
1 vote
1 answer
2k views

What performance benefits does a Redis cluster have over having all machines connect to a single Redis node? [closed]

Suppose I have data that easily fits in memory in a redis database. The redis server runs as a single service on a single process on a single machine. Let's say I have a 100 different machines connect ...
John_Krampf's user avatar
-1 votes
1 answer
3k views

How do I know if my nodejs application is stateless or not?

According to documentation from PM: https://pm2.io/docs/runtime/guide/load-balancing/ To make use of its load balancing feature which uses node's clustering to spawn multiple node processes, I need a ...
jeff's user avatar
  • 13
1 vote
2 answers
355 views

Alternatives to pessimistic locking in the DBMS for load balancing

A simplified version of my problem looks like this: the database contains two tables: one contains account balances (Accounts) the other contains account withdrawal and deposit requests (Requests) ...
Alexey's user avatar
  • 277
0 votes
1 answer
86 views

How to dispatch sets of items to the relevant (LB) exclusive consumers with RabbitMQ?

I am trying to process sets of items (also, different sets have different items) in specific RabbitMQ consumers (one for each set of items) that would be created on-demand and are dispatched to the ...
Natalie Perret's user avatar
1 vote
1 answer
240 views

How can an anycast IP address handle millions of RPS (requests per second)

So, in terms of systems design: given a highly scalable system being served through a single load-balanced anycast IP address, when that system receives a load in the order of (hundreds of) millions ...
CBlew's user avatar
  • 119
1 vote
0 answers
136 views

How to do loadbalancing for collaborative editing with multi-az and geoproximity based routing policy

I am planning a project which has users collaboratively editing a document. To provide good latency to users, I am planning to deploy in multiple AWS regions with active-active mongodb replicas with ...
kapv89's user avatar
  • 649
2 votes
4 answers
423 views

Reverse Load Balancer: Out Balancer?

Load balancing in is a common topic, but there isn't as much said about load balancing out. I may have an application that can prepare 1mm requests/s but is unable to send them all out at that speed ...
micah's user avatar
  • 195
0 votes
1 answer
283 views

What should we consider when designing a load balancer with minimum cost

Given a set of processes running on a cluster of hosts, I'm designing a system that load balances the hosts through live migrations (carried out by an external service) of the processes. The goal of ...
MLEE's user avatar
  • 121
1 vote
1 answer
90 views

Poll based database operations with a load balanced application

I have a .NET Core application that is hosted as multiple load balanced instances (separate servers, obviously pointing to the same database). I have written a service within the application that ...
Jessica's user avatar
  • 349

15 30 50 per page