9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul@bitblocks.com>
To: 9fans@9fans.net
Subject: [9fans] Upspin - a respin of 9p?
Date: Thu, 23 Feb 2017 00:27:05 -0800	[thread overview]
Message-ID: <2A42D5A6-C7C1-4E40-A9B0-4E8F6591E079@bitblocks.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

https://upspin.io/doc/overview.md

Upspin provides a global name space to name all your files. Given an Upspin name, a file can be shared securely, copied efficiently without “download” and “upload”, and accessed from anywhere that has a network connection.
....
Upspin can name information from any data service, not just traditional files.
----
Initial impression:

IMHO, its usefulness is integrating a bunch of things. A path has a global user id (user@foo.com) as a root, which is looked up in (what I would call) a root server. From it you find the directory server which stores the metadata for the remaining path. From this you find the data server where the file or data source is actually located and an ID meaningful to the server (like qid but can be a content sha1 sum). The directory server also checks if the requester is allowed access and presumably gives her a public key of the root user to be able to decrypt the data.

Clearly, if the source is not an ordinary file, there can be no sha1 sum -- presumably the directory server doesn't care.

The overview talks about the design being geared toward friends and family (ala Dropbox?) but the only thing I see that would be hard to scale is the fact a dir tree has an ACL. A dir server may also end up being a bottleneck.

User data can be protected by the owner but the dir server needs to be able to read metadata such as ACL, data location etc.

Not sure if the design allows for dynamic bind/mount. This would require a more flexible dir server structure... (I haven't read the code so this is pure speculation). But I'm wondering if something the CPU command can be implemented. May be there is a protocol to attach your own dir server.

Renames are probably not handled to avoid atomicity (just speculating). Or may depend on a dir server. 

ACLs are for dir trees. From the syntax it looks like you can add more access in a sub tree but not remove it.

I'd have preferred a capability scheme instead of ACLs -- need to think more about this.

[-- Attachment #2: Type: text/html, Size: 3097 bytes --]

             reply	other threads:[~2017-02-23  8:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23  8:27 Bakul Shah [this message]
2017-02-23  9:00 ` Charles Forsyth
2017-02-23  9:05   ` Charles Forsyth
2017-02-23  9:14   ` hiro
2017-02-23  9:53     ` hiro
2017-02-23  9:34   ` Bakul Shah
2017-02-23 12:40     ` Charles Forsyth
2017-02-23 16:52       ` Charles Forsyth
2017-02-23 17:44         ` Aram Hăvărneanu
2017-02-23 17:48           ` Charles Forsyth
2017-02-24  8:15             ` Charles Forsyth
2017-02-24 17:43             ` Aram Hăvărneanu
2017-02-24 18:00               ` Skip Tavakkolian
2017-02-23 15:59 ` Ryan Gonzalez
2017-02-23 17:18 ` Skip Tavakkolian

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=2A42D5A6-C7C1-4E40-A9B0-4E8F6591E079@bitblocks.com \
    --to=bakul@bitblocks.com \
    --cc=9fans@9fans.net \
    /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).