Re: [jetty-users] Interleaving requests for fairness/starvation?

2020-06-01 Thread Greg Wilkins
ad pool!) > > Best > > Matt > > -- > *From:* jetty-users-boun...@eclipse.org > on behalf of Greg Wilkins > *Sent:* 01 June 2020 13:31 > *To:* JETTY user mailing list > *Subject:* Re: [jetty-users] Interleaving requests for > fairness/

Re: [jetty-users] Interleaving requests for fairness/starvation?

2020-06-01 Thread Matthew Boughen
!) Best Matt From: jetty-users-boun...@eclipse.org on behalf of Greg Wilkins Sent: 01 June 2020 13:31 To: JETTY user mailing list Subject: Re: [jetty-users] Interleaving requests for fairness/starvation? Matt, Are you doing this to try to limit the total threads

Re: [jetty-users] Interleaving requests for fairness/starvation?

2020-06-01 Thread Greg Wilkins
Matt, Are you doing this to try to limit the total threads, or just to make sure that some threads are not starving others? If you don't mind the total number of threads, then you could simply put in a Thread.yield() call every 50ms and not worry about async servlet handling. Note also, from a

[jetty-users] Interleaving requests for fairness/starvation?

2020-06-01 Thread Matthew Boughen
Hi I was wondering if anyone could confirm whether what we've done is sensible - it seems to work, but I'm not really confident and would like to know how righteous it is! Our HTTP server processes requests that can take minutes at a time, the handling for which can easily be broken down into