http2 icon indicating copy to clipboard operation
http2 copied to clipboard

How to get rid of the channels while being thread-safe?

Open dgrr opened this issue 3 years ago • 1 comments

Yes, that's quite a challenge. I don't want to use channels, but how do you keep being thread-safe then? The main problem is that you can't serialize 2 requests at the same time, because one might modify the table and the other should apply those changes...

I'll need to investigate how nghttp2 does those kind of things.

dgrr avatar Aug 22 '21 14:08 dgrr

It's called one thread. If we have multiple threads, looks like there's no way to get rid of channels.

dgrr avatar Jan 11 '22 23:01 dgrr