hinto-janai

Results 65 comments of hinto-janai

What part of Cuprate exactly calls this? Is it something like: 1. Outside Cuprate sends large output request to DB 2. DB uses ConcurrentMapBuilder to fetch outputs 3. DB responds...

Could we use `rayon` + `par_iter().collect()` here instead our own impl? 1. Caller sends IndexSet to DB service 2. DB thread picks up request, starts `par_iter().collect()` in `rayon` pool 3....

> I don't think this expands the scope of the service too much Some thread has to split up and distribute the work. If not the caller by sending multiple...

> if one part of the DB is blocking if we were to move on to another request that is likely to block as well What about a situation where...

> No it's perfectly fine to do nested parallelism within rayon, the rayon thread which made the call will also work on the par_iter so no deadlocks Swapping our current...