This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author valdemar.pavesi
Recipients gvanrossum, valdemar.pavesi, vstinner, yselivanov
Date 2016-06-08.23:23:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465428193.7.0.137357893464.issue27271@psf.upfronthosting.co.za>
In-reply-to
Content
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 )
History
Date User Action Args
2016-06-08 23:23:13valdemar.pavesisetrecipients: + valdemar.pavesi, gvanrossum, vstinner, yselivanov
2016-06-08 23:23:13valdemar.pavesisetmessageid: <1465428193.7.0.137357893464.issue27271@psf.upfronthosting.co.za>
2016-06-08 23:23:13valdemar.pavesilinkissue27271 messages
2016-06-08 23:23:13valdemar.pavesicreate