MikeMoolenaar / litefs-rust-api-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

litefs-rust-api-test

Testing out LiteFS on fly.io. App is running at https://litefs-rust-api-test.fly.dev/, it does have automatic scale down so the first request may be somewhat slow.

Setup

Based on litefs setup guide

sudo fly launch --local-only --build-only
fly volumes create litefs --size 1
fly consul attach
sudo fly deploy --local-only

# Just for fun :)
fly m clone --select --region syd
# Now we can serve users from The Netherlands and Australia with great response times :D

Accessing the db:

fly ssh console
sqlite3 /litefs/db

About


Languages

Language:Rust 57.7%Language:Dockerfile 31.2%Language:HTML 8.8%Language:Shell 2.4%