Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunesimonsen/fdb-blobs

A blob store build on top of FoundationDB
https://github.com/sunesimonsen/fdb-blobs

Last synced: 1 day ago
JSON representation

A blob store build on top of FoundationDB

Awesome Lists containing this project

README

        

# fdb-blobs

[![PkgGoDev](https://pkg.go.dev/badge/github.com/sunesimonsen/fdb-blobs)](https://pkg.go.dev/github.com/sunesimonsen/fdb-blobs) [![CI](https://github.com/sunesimonsen/fdb-blobs/actions/workflows/ci.yml/badge.svg)](https://github.com/sunesimonsen/fdb-blobs/actions/workflows/ci.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/sunesimonsen/fdb-blobs)](https://goreportcard.com/report/github.com/sunesimonsen/fdb-blobs)

A blob store for [FoundationDB](https://www.foundationdb.org/) that handles
arbitrary size blobs by splitting the data into chunks.

[API documentation](https://pkg.go.dev/github.com/sunesimonsen/fdb-blobs)

## Tests

Start all the services:

```sh
docker compose up -d
```

Run all tests:

```sh
docker compose exec blobs go test
```

Run a specific test:

```sh
docker compose exec blobs go test -run TestCreate
```

Sending arguments to `go test`:

```sh
docker compose exec blobs go test -cover
```

Running fuzz tests:

```sh
docker compose exec blobs go test -fuzz FuzzChunkSizes
```

## MIT License

Copyright (c) 2023 Sune Simonsen

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.