Re: Support of virtual threads by Kafka

2020-11-13 Thread Leonid Mesnik
Thank you, I will take a look on them. Leonid On 11/11/20 5:30 PM, Cheng Tan wrote: One thing I can think of is the ACL operations (create / delete ACLs). They are much more less frequently used other than the produce/consume/topic creation so I’m not sure if it’s valuable to use as a benchma

Re: Support of virtual threads by Kafka

2020-11-11 Thread Cheng Tan
One thing I can think of is the ACL operations (create / delete ACLs). They are much more less frequently used other than the produce/consume/topic creation so I’m not sure if it’s valuable to use as a benchmark. - Cheng > On Nov 11, 2020, at 4:33 PM, Leonid Mesnik wrote: > > Hi Ismael > >

Re: Support of virtual threads by Kafka

2020-11-11 Thread Leonid Mesnik
Hi Ismael Thank you for your help and quick response. You are right, the file IO is blocking  with Loom now. And small number threads might not having benefits if they were just changed to virtual threads. The virtual threads could help when you have a lot of tasks which are executed in some

Re: Support of virtual threads by Kafka

2020-11-10 Thread Ismael Juma
Hi Leonid, Thanks for looking into this. I think the main question is how virtual threads would help here. Kafka tends to use a small number of threads combined with non blocking IO, but there are some exceptions like disk IO. My understanding is that the latter is still blocking even with the lat

Support of virtual threads by Kafka

2020-11-09 Thread Leonid Mesnik
Hi Currently, I am working on Loom project which enables virtual threads for Java. https://wiki.openjdk.java.net/display/loom/Main As one of real-life tests it would be interesting to run Kafka using virtual threads. However it might require some support in Kafka for this. It is needed to