Re: Java Thread priority tuning for Quality-of-Service

2023-07-22 Thread Mark Miller
It’s a hint for the OS, so results can vary by platform. Not the end of the world but not ideal. A scarier fact is that Brian Goetz, pretty big name in Java concurrency, recommends against in general, noting that it can lead to liveness / starvation issues.

Re: Thoughts on eliminating the "bin/solr create" command?

2023-07-22 Thread Eric Pugh
I pushed up a fix for cloud.sh and tagged you (Gus) on it if you can double check. Thanks for the feedback folks... > On Jul 18, 2023, at 10:33 AM, Gus Heck wrote: > > * broken on main > > On Tue, Jul 18, 2023 at 10:33 AM Gus Heck wrote: > >> Whatever we do here, just a note to test dev-too

Re: Java Thread priority tuning for Quality-of-Service

2023-07-22 Thread David Smiley
Thanks. I could see thread priority customization being used well in combination with rate limiting so as to mitigate a starvation risk. Yeah, I met Brian Goetz and have his excellent book. ~ David On Sat, Jul 22, 2023 at 3:20 AM Mark Miller wrote: > It’s a hint for the OS, so results can va

Re: Java Thread priority tuning for Quality-of-Service

2023-07-22 Thread Mark Miller
I think the problem is that it’s just extremely difficult to reason about. I think that’s really the root of the concern, and he’s generally working with code that’s likely close to hardware ideal - a thread count not much more than the number of cores at the high end. Here you have to reason about