Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The State Of Upspin.io

Avatar for YaguraStation YaguraStation
November 06, 2017

The State Of Upspin.io

Avatar for YaguraStation

YaguraStation

November 06, 2017
Tweet

Other Decks in Technology

Transcript

  1. key.upspin.io dir.upspin.io store.upspin.io Lookup(“[email protected]”) P256 47926791… dir.upspin.io store.upspin.io DB6DD1C1… store.upspin.io

    7B0F7E1A… store.upspin.io 7F6CBFCE… Lookup(“[email protected]/pics/lol.jpg”) Get(“DB6DD1C1…”) Get(“7B0F7E1A…”) Get(“7F6CBFCE…”) Image data Image data Image data
  2. type KeyServer interface { Lookup(userName UserName) (*User, error) Put(user *User)

    error } type StoreServer interface { Get(ref Reference) ([]byte, *Refdata, []Location, err Put(data []byte) (*Refdata, error) Delete(ref Reference) error } type DirServer interface { Lookup(name PathName) (*DirEntry, error) Put(entry *DirEntry) (*DirEntry, error) Glob(pattern string) ([]*DirEntry, error) Delete(name PathName) (*DirEntry, error) WhichAccess(name PathName) (*DirEntry, error) Watch(name PathName, sequence int64, done <-chan stru }