~miikka/clojure-spicedb-test

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~miikka/clojure-spicedb-test
read/write
git@git.sr.ht:~miikka/clojure-spicedb-test

You can also use your local clone with git send-email.

#clojure+SpiceDB test

SpiceDB is a Zanzibar-inspired authorization database.

#Usage

Start SpiceDB:

docker compose up -d

Set up the schema:

brew install authzed/tap/zed
zed context set first-dev-context :50051 "secret" --insecure
zed schema write resources/sample.zed --insecure

Start a REPL and look at the code in clojure-spicedb-test.spicedb.

#Concerns

  • What's the future of SpiceDB? At the time of writing (January 2021), it's pretty new.
  • Authorization database is a single point of failure. Is that bad from the resiliency point of view?

#Things to explore

  • Would it make sense to use the gRPC API instead of the HTTP API?