技术控

    今日:0| 主题:63445
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] RC week 0001

[复制链接]
愿离愿走不愿爱 发表于 2016-10-9 15:36:15
290 9
This week, I made considerable progress on the BitTorrent client which I started a week back. The client is in a usable state to download the data from the swarm. The source code is available on GitHub . The project uses Python 3.5 async/await and asyncio . I presented the torrent client in RC Thursday five minute presentation evening slot. Here is the link to the slides .
   
  Here is quick video demo recorded with asciinema.
   

RC week 0001

RC week 0001

   In the demo, the client downloads a file flag.jpg of 1.3MB. Thanks a lot for Thomas Ballinger for hosting the tracker and the seeder. The tracker and the seeder are boons for developers writing torrent clients.
  The downloader has two known major issue
  
       
  • The client has performance issue for a file of size greater than 50 MB.   
  • The client doesn’t support UDP tracker - Clients interact with piratebay tracker only on UDP protocol whereas the other trackers support HTTP endpoint.  
   The week had long hours of debugging blocking code in asyncio, tweaking the client to support receive data from the deluge client - as soon as the handshake is successful, the client starts sending bitfield, have messages before receiving the interested message.
  The next step is to integrate seeding functionality to the torrent client and enhance UDP tracker functionality.
  On one of the weekday, I witnessed the momentous incident. I decided to join other two other recursers for lunch at a nearby unvisited outlet to pick up the lunch. The shop was spacious with bar setup and we decided to eat in the building. We ordered three Panner Tika and were munching our meal. The manager/owner/bartender showed up to fill the water, said to another person, “Let me fill water for you.” She greeted him and asked, “How’s your day going? and …”. He enthusiastically replied; filled the glass; enquired about the food and moved on. After few moments, he returned with the exuberant joy; handed over her handful of candies and stated this is a gift for her good manners. Speechless moment! What a revelation and life lesson! The small act of courtesy made the person feel elated and must have made his day. All day and night, we spend time thinking of lighting smiles on family, friends, mates and others. Take a moment to spread joy among the strangers. Later, I recalled a quote,
  “How you treat totally irrelevant person defines who you are.”
奋进的燕七 发表于 2016-10-13 03:32:23
围观了!
回复 支持 反对

使用道具 举报

任性的小情绪 发表于 2016-10-21 03:49:13
站位支持
回复 支持 反对

使用道具 举报

去温泉 发表于 2016-11-1 13:10:20
小时候缺钙,长大了缺爱。
回复 支持 反对

使用道具 举报

xdog2 发表于 2016-11-4 15:54:21
楼下有什么好吐槽的么?
回复 支持 反对

使用道具 举报

wjw_1979 发表于 2016-11-9 12:34:50
确实不错,顶先
回复 支持 反对

使用道具 举报

tk1y 发表于 2016-11-13 12:08:10
我只是路过,不发表意见
回复 支持 反对

使用道具 举报

电商小吕哥 发表于 2016-11-19 12:48:55
秀起来~
回复 支持 反对

使用道具 举报

何宇航 发表于 2016-11-19 13:28:19
路过!!!据说外面下人民币了!!!
回复 支持 反对

使用道具 举报

半梅 发表于 2016-11-21 02:21:35
占位编辑
回复 支持 反对

使用道具 举报

我要投稿

推荐阅读


回页顶回复上一篇下一篇回列表
手机版/c.CoLaBug.com ( 粤ICP备05003221号 | 粤公网安备 44010402000842号 )

© 2001-2017 Comsenz Inc.

返回顶部 返回列表