Skip to content

zs3 v0.1.0

Choose a tag to compare

@Lulzx Lulzx released this 09 Aug 02:34
· 21 commits to main since this release

SQLite for objects. Local, dev, and edge S3 storage in a static binary under 360KB. Standalone by default, content-addressed and peer-to-peer in distributed mode.

This first release adds cross-node replication.

Distributed replication

  • Writes (PUT/DELETE/multipart-complete) push metadata to all peers before acknowledging. Cross-node GET/LIST is immediately consistent
  • Blob replication, DHT announces, and bucket-op propagation moved off the write path onto a background PushWorker thread
  • GET/HEAD misses fall back to peers. Blob reads sweep all known peers
  • Periodic gossip (--gossip-interval-ms) repairs the mesh after restarts, no re-bootstrapping needed
  • Bucket create/delete race fixed with a per-bucket last-write-wins registry. Deletes win on ties, so a deleted bucket can't come back

Cleaner errors

  • Keys that can't fit a filesystem → 400 KeyTooLong (was a misleading 500)
  • Oversized headers (>8KB) → 431. Bodies (>5GB) → 400

Testing

  • New 4-node test_replication.py suite (113 checks)
  • Distributed boto3 suite: 72/72 passing

Full changelog in CHANGELOG.md.

What's Changed

  • fix error: value of type 'bool' ignored by @t924417424 in #2
  • feat:acl with roles: admin, reader, writer by @jinncoder in #4
  • Support Zig 0.16.0 by @Lulzx in #8
  • Use configured bootstrap peers by @Lulzx in #9

New Contributors

Full Changelog: https://github.com/Lulzx/zs3/commits/v0.1.0