ltullman / ttorrent Goto Github PK
View Code? Open in Web Editor NEWThis project forked from etsy/ttorrent
Turn's BitTorrent Java library (tracker and client)
Home Page: http://turn.github.com/ttorrent/
License: Apache License 2.0
This project forked from etsy/ttorrent
Turn's BitTorrent Java library (tracker and client)
Home Page: http://turn.github.com/ttorrent/
License: Apache License 2.0
A Java implementation of the BitTorrent protocol ================================================ This is a pure-Java implementation of the BitTorrent protocol, providing a BitTorrent tracker, a BitTorrent client and the related Torrent metainfo files creation and parsing capabilities. It is designed to be embedded into larger applications. This tool suite was implemented as part of Turn's (http://www.turn.com) release distribution and deployment system and is used to distribute new build tarballs to a large number of machines inside a datacenter as efficiently as possible. At the time this project was started, few Java implementations of the BitTorrent protocol existed and unfortunately none of them fit our needs: * Vuze's, which is very hard to extract from their codebase, and thus complex to re-integrate into another application; * torrent4j, which is largely incomplete and not usable; * Snark's, which is old, and unfortunately unstable; * bitext, which was also unfortunately unstable, and extremely slow. This implementation aims at providing a down-to-earth, simple to use library. No fancy protocol extensions are implemented here: just the basics that allows for the exchange and distribution of files through the BitTorrent protocol. Although the write performance of the BitTorrent client is currently quite poor (~10MB/sec/connected peer), it has been measured that the distribution of a 150MB file to thousands of machines across several datacenters took no more than 30 seconds, with very little network overhead for the initial seeder (only 125% of the original file size uploaded by the initial seeder). License ------- This BitTorrent library is distributed under the terms of the Apache Software License version 2.0. See COPYING file for more details. Authors ------- * Maxime Petazzoni <[email protected]> (Platform Engineer at Turn, Inc) Caveats ------- * This implementation currently only supports single-file torrents. * Client write performance is a bit poor, mainly due to a (too?) simple piece caching algorithm. * Start of transfer can take a few seconds. This is mostly due to the protocol itself, but I wonder if something could be done to improve this. Contributions are welcome in all areas, even more so for these few points above!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.