Re: Does module socketserver using epoll in python3?
> > The source code is here: > https://github.com/python/cpython/blob/master/Lib/socketserver.py . You > should find all the technical details you are looking for in it. > > # poll/select have the advantage of not requiring any extra file > descriptor,# contrarily to epoll/kqueue (also, they require a single > syscall). > if hasattr(selectors, 'PollSelector'): > _ServerSelector = selectors.PollSelector > else: > _ServerSelector = selectors.SelectSelector Oh..no It uses poll or select ranther than epoll. Maybe it suffer some performance degrading. thx lot. -- https://mail.python.org/mailman/listinfo/python-list
Re: Does module socketserver using epoll in python3?
On 11/28/19 8:46 PM, lampahome wrote: > As title, > > I want to use socketserver to replace my own server code to > maintain ealsier. > > But I don't found any info about tech. detail of socketserver, epoll is > important. > > Can anyone tell me? The source code is here: https://github.com/python/cpython/blob/master/Lib/socketserver.py . You should find all the technical details you are looking for in it. -- https://mail.python.org/mailman/listinfo/python-list
Does module socketserver using epoll in python3?
As title, I want to use socketserver to replace my own server code to maintain ealsier. But I don't found any info about tech. detail of socketserver, epoll is important. Can anyone tell me? -- https://mail.python.org/mailman/listinfo/python-list