9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Upspin - a respin of 9p?
@ 2017-02-23  8:27 Bakul Shah
  2017-02-23  9:00 ` Charles Forsyth
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bakul Shah @ 2017-02-23  8:27 UTC (permalink / raw)
  To: 9fans

[-- 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 --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-02-24 18:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23  8:27 [9fans] Upspin - a respin of 9p? Bakul Shah
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

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).