bholota
11/09/2019, 10:45 PMFudge
11/09/2019, 11:12 PMbholota
11/09/2019, 11:23 PMoctylFractal
11/10/2019, 12:19 AMbholota
11/10/2019, 12:23 AMoctylFractal
11/10/2019, 12:26 AMbholota
11/10/2019, 12:48 AMoctylFractal
11/10/2019, 12:56 AMprintln
is just a call to System.out.println
in JVM, and that is synchronized. blocking queue probably suffers similar issues (you're trying to block on a single queue 64+ times!). overall, the whole thing can really only support about 1/2 threads of throughput, because there is synchronized blocks. coroutines don't really factor into the equation herebholota
11/10/2019, 1:06 AMoctylFractal
11/10/2019, 1:07 AMbholota
11/10/2019, 1:09 AMoctylFractal
11/10/2019, 1:10 AMbholota
11/10/2019, 1:11 AMoctylFractal
11/10/2019, 2:13 AM