Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

How to transfer a big file


Published on

Presentation at BarcampSaigon 2013
Presenter: Nguyễn Văn Tiến

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

How to transfer a big file

  1. 1. Java, C++ LibEvent, Poco, KyotoCabinet
  2. 2. 1: reqPageUp 2b:genTok 3:tok2a:checkUser 4:pageUp4:up(tok) 5a:check(tok) 6a:genId() 6b:writeFile(id) 10: readFile 12: putChunks 11: genIds 6c: fileId
  3. 3. 1: reqPageDown 4:pageDown 2a:checkUser2b:genTok 3:tok 4:down(tok) 5:getMeta 6:getChunks loop sendChunks
  4. 4. Node 1 Node 2