Questions tagged [round-robin]

Process scheduling algorithm based on time slice.A time quanta is given to each process for its execution. as the time slice is expired,the other process is allowed to execute.

Round robin (RR) is one of the simplest scheduling algorithms for processes in an operating system. As the term is generally used, time slices are assigned to each process in equal portions and in circular order, handling all processes without priority (also known as cyclic executive). If a process hasn't finished by the end of the time slice, it is moved to the back of the queue so the next process in line can have its turn. Round-robin scheduling is simple, easy to implement, and starvation-free. Round-robin scheduling can also be applied to other scheduling problems, such as data packet scheduling in computer networks.

The name of the algorithm comes from the round-robin principle known from other fields, where each person takes an equal share of something in turn

312 questions
0
votes
1 answer

NFS mount via Round robin DNS only mounts from single system when using 10 Gb/s ethernet

We have a round-robin DNS setup that map the same name ("gsx") to six different IP addresses. This is verified as working from the client by using things such as 'nslookup' and 'ping'. However when we attempt to NFS mount using the name ("gsx") it…
AkosPrime
  • 13
  • 1
  • 4
0
votes
1 answer

Is it possible to use RMI with a round-robin load balancer in a distributed environment?

RMI is a Java network programming API which use the JRMP protocol. If we analyze packets with Wireshark, it shows that the JRMP protocol requires at least 2 request exchanges before establishing a communication between a client and a server. More…
gokan
  • 1,028
  • 1
  • 14
  • 30
0
votes
2 answers

Website/webserver fault tolerance - the best practices

For example, I have two servers in the same network, with identical code/software. If the primary server goes down, I want the second one to become primary. I heard about the following approaches: Run a proxy server (nginx/haproxy/etc.) in front of…
Oleg
  • 22,300
  • 9
  • 68
  • 84
0
votes
0 answers

How does getaddrinfo work with a dualstack source?

Some background: We are running go based applications on ubuntu servers on AWS. Recently we started having DNS round-robin issues where one of the load balancers (ELB) will end up handling a large portion of the traffic(~ 5:1) and thus overloading…
rlhh
  • 893
  • 3
  • 17
  • 32
0
votes
0 answers

Status 302 Found, when I try to access my web application instead of status 200

Please help me in understanding why we get found 302 status. I googled and get to know that this is something to do with redirect. I have two web applications IIS servers and they configured for round robin DNS. If I check it from fiddler sometimes…
AnneRaNa
  • 51
  • 10
0
votes
1 answer

C# REST Web APP - Round Robin calls to Databases

I have a C# Web App. I have multiple databases where data is the same, so I can use a Round Robin method to distribute the Database calls. I plan to read in each connection string, and iterate through each DB and return the data for the first call…
Robben_Ford_Fan_boy
  • 8,494
  • 11
  • 64
  • 85
0
votes
1 answer

PHP - Round Robin and 3rd person (2 players and one writer / refugee)

I have the following code poule = ['Jason', 'Raymond', 'Rupert', 'Mike', 'Simon', 'Jeremy']; $games = []; $cnt_players = count($poule); $players = $poule; if ($cnt_players % 2 != 0) { array_push($players, ['name' => 'bye', 'uid' => FALSE,…
PostMans
  • 338
  • 5
  • 18
0
votes
1 answer

Round Robin scheduling

I was trying to answer this questions If anyone can help please A multiprogramming system uses the Round Robin scheduling policy with a quantum of 5 time units. A process described below arrives at time 0: CPU burst – 8 time units I/O burst – 10…
user494310
  • 13
  • 4
0
votes
1 answer

Haproxy + percona 5.7 xtradb error

i configure Hello, I configure haproxy by digitalocean manual, roundrobin for percona 5.7 bases, but on the haproxy server, when I try to connect to the database I getting error. On the haproxy server: mysql -h 127.0.0.1 -u haproxy_root -p -e "SHOW…
dodcens
  • 1
  • 3
0
votes
1 answer

Which would be better for a load balancer: HAProxy or Nginx?

Node.js is having some serious issues performing under high concurrency, managing streams and delivering 'data' events correctly. So horizontal scaling seems like the best solution, to keep alive several instances of the same application. After some…
Karma Doe
  • 114
  • 12
0
votes
1 answer

Round Robin Scheduler Filling in "byes"

I am using a Round Robin to schedule games. I would like each team to play "n" games, and I have "x" teams. Everything is great if "x" is even, but if "x" is odd I have to add another team, "bye" to get it to work. When I have 11 teams playing 4…
0
votes
0 answers

Unable to connect to any loadbalanced web server in network when one fails

I have a network of one load balanced server (using nginx) lb1 which routes traffic between four web servers web1, web2, web3, web4. These four webservers are routed to using round-robin in nginx. All servers are set to max_fails=1 and…
0
votes
2 answers

Gantt Chart Round Robin Scheduling for Process arriving at different Time

What will be the gantt chart for round robin scheduling with time quantum ? Click here for, Process Details Process Arrival Time Burst Time P1  0 3 P2  1 3 P3  2 3 Time…
0
votes
1 answer

invalid column name "config_link" using ns2

I am confused to fix this problem. When i execute the file the error looks like this:can you give any idea please? invalid command name "config_link" > while executing > "config_link 0 $i [expr {$bandwidth($i)}] $delay_ DropTail " > …
lei
  • 1
0
votes
1 answer

What is the best way to publish messages to kafka?

I have a kafka producer that basically does the below work. I have a topic with atleast 10 partitions and I dont care the order they consumed (my backend will handle it). I will also start atleast 10 consumers (assuming each cling onto 1 partition).…
Shasti
  • 81
  • 1
  • 1
  • 6