Message267928
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 ) |
|
Date |
User |
Action |
Args |
2016-06-08 23:23:13 | valdemar.pavesi | set | recipients:
+ valdemar.pavesi, gvanrossum, vstinner, yselivanov |
2016-06-08 23:23:13 | valdemar.pavesi | set | messageid: <1465428193.7.0.137357893464.issue27271@psf.upfronthosting.co.za> |
2016-06-08 23:23:13 | valdemar.pavesi | link | issue27271 messages |
2016-06-08 23:23:13 | valdemar.pavesi | create | |
|