Hi!

On Thu, Mar 15, 2018 at 09:09:18AM -0700, Rio wrote:
> Yeah, there's no way to avoid the kernel buffer waste.

You can tune kernel buffer size to minimize it.

> > I did such a custom poller for a network proxy. It was a pain 
> > to get right (I only did the Eww!poll version).
> 
> I tried and it was indeed a lot of work.

There are some existing implementations which may helps a bit, for ex.
https://godoc.org/github.com/mailru/easygo/netpoll

-- 
                        WBR, Alex.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to