valdemar pavesi added the comment: hi,
I did made a change, removing the queue and calling corotine. and now lost udp is bigger. def datagram_received(self, data, addr): asyncio.ensure_future(process_report(data)) @asyncio.coroutine def process_report(data): tcmpdump got 38122 and asyncio got just 20711 2016-06-08 18:19:23,209 [INFO] 546 Total udp from fns: 20711 , queue size: 0 2016-06-08 18:19:23,209 [INFO] 417 Got 20711 json report from traffica server all udp received will be send by tcp to another server. (Got 20711 json report ) ---------- Added file: http://bugs.python.org/file43313/calling_corotine_wihout_queue_lost_bigger.png _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27271> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com