summaryrefslogtreecommitdiff
path: root/doc/todo/A_really_simple_way_to_pair_devices_like_bittorent_sync/comment_2_e9e4d59b5771aafdb090781630cceb6b._comment
blob: 028d7faa0d7d85f1fa6a92f0d1500a0e2c3b7daa (plain)
1
2
3
4
5
6
7
8
[[!comment format=mdwn
 username="http://johan.kiviniemi.name/"
 ip="83.145.237.224"
 subject="comment 2"
 date="2013-07-23T11:36:30Z"
 content="""
Transferring the data over XMPP would almost certainly take too much XMPP server bandwidth, but using something like [https://developers.google.com/talk/libjingle/](libjingle) to set up P2P connections should work nicely. That would require libjingle (or equivalent) bindings for Haskell, though. Libjingle negotiates over XMPP to set up the P2P connection and provides a TCP-like layer for reliable, ordered communication. One could use that for both git metadata and the file transfers.
"""]]