From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Pirate Praveen <praveen@debian.org>
Cc: git@vger.kernel.org
Subject: Re: support git+mosh for unreliable connections
Date: Wed, 15 Apr 2015 23:26:47 +0300 [thread overview]
Message-ID: <20150415202647.GA29170@LK-Perkele-VII> (raw)
In-Reply-To: <552E7927.5030803@debian.org>
On Wed, Apr 15, 2015 at 08:13:51PM +0530, Pirate Praveen wrote:
>
> Q: Are the mosh principles relevant to other network applications?
>
> We think so. The design principles that Mosh stands for are
> conservative: warning the user if the state being displayed is out of
> date, serializing and checkpointing all transactions so that if there
> are no warnings, the user knows every prior transaction has succeeded,
> and handling expected events (like roaming from one WiFi network to
> another) gracefully.
>
> Can the ideas be used to resume a pull, push or clone operation?
> Especially serializing and checkpointing.
Well, it is possible to write a remote helper and serverside program
that internally handles connection unreliability, so Git itself
(upload-archive, upload-pack, receive-pack, archive, fetch-pack
and send-pack) sees a reliable (full-duplex, half-closeable, stream)
channel.
Suitably done, that can "resume" (from Git POV, nothing special
happened) across things like IP address changes.
However, that is quite difficult to do in practice. Not because
interface to Git is complicated, but because the transport problem
itself is complicated (however, it still seems way easier than
making Git internally be able to resume interrupted operations).
Mosh needs to solve at least most of that, it just doesn't provode
the right kind of interface.
-Ilari
next prev parent reply other threads:[~2015-04-15 20:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-15 13:07 support git+mosh for unreliable connections Pirate Praveen
2015-04-15 13:45 ` Dennis Kaarsemaker
2015-04-15 13:52 ` Michael J Gruber
2015-04-15 14:18 ` Pirate Praveen
2015-04-15 14:41 ` Johannes Schindelin
2015-04-15 15:33 ` Trevor Saunders
2015-04-15 17:46 ` Johannes Schindelin
2015-04-15 18:59 ` Trevor Saunders
2015-04-16 9:29 ` Michael J Gruber
2015-04-15 19:25 ` Dennis Kaarsemaker
2015-04-22 6:54 ` Andreas Krey
2015-04-15 14:22 ` Johannes Schindelin
2015-04-15 14:43 ` Pirate Praveen
2015-04-15 20:26 ` Ilari Liusvaara [this message]
2015-04-20 8:39 ` Pirate Praveen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150415202647.GA29170@LK-Perkele-VII \
--to=ilari.liusvaara@elisanet.fi \
--cc=git@vger.kernel.org \
--cc=praveen@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).