Re: weighted round robin

2016-10-19 Thread Marc Schütz via Digitalmars-d-learn
On Tuesday, 18 October 2016 at 16:43:19 UTC, vino wrote: On Wednesday, 12 October 2016 at 13:44:59 UTC, Erikvv wrote: In your first post you mention it should be weighted, but I see no weights anywhere. Hi Marc, I am at the initial stage of implementing the round robin algorithm and still

Re: weighted round robin

2016-10-18 Thread vino via Digitalmars-d-learn
On Wednesday, 12 October 2016 at 13:44:59 UTC, Erikvv wrote: On Tuesday, 11 October 2016 at 06:28:10 UTC, vino wrote: On Monday, 10 October 2016 at 09:18:16 UTC, Marc Schütz wrote: [...] Hi Marc, Thank you, I have made a small update as the Server Array is fixed length and the Socket

Re: weighted round robin

2016-10-11 Thread vino via Digitalmars-d-learn
On Monday, 10 October 2016 at 09:18:16 UTC, Marc Schütz wrote: On Saturday, 8 October 2016 at 22:48:53 UTC, vino wrote: Hi, Can some one guide me on how to implement the weighted round robin, below is what i tried or any other better ways to do it Main Requirement : Incoming socket

Re: weighted round robin

2016-10-10 Thread Marc Schütz via Digitalmars-d-learn
On Saturday, 8 October 2016 at 22:48:53 UTC, vino wrote: Hi, Can some one guide me on how to implement the weighted round robin, below is what i tried or any other better ways to do it Main Requirement : Incoming socket connection has to be sent to 3 servers in the weighted round robin

weighted round robin

2016-10-08 Thread vino via Digitalmars-d-learn
Hi, Can some one guide me on how to implement the weighted round robin, below is what i tried or any other better ways to do it Main Requirement : Incoming socket connection has to be sent to 3 servers in the weighted round robin fashion. Prog:1 import std.stdio; import std.range; import