Remix.run Logo
allovertheworld 8 hours ago

Any good alternatives for local development?

gardnr 8 hours ago | parent | next [-]

  garaged:
    image: dxflrs/garage:v2.2.0
    ports:
      - "3900:3900"
      - "3901:3901"
      - "3902:3902"
      - "3903:3903"
    volumes:
      - /opt/garage/garage.toml:/etc/garage.toml:ro
      - /opt/garage/meta:/var/lib/garage/meta
      - /opt/garage/data:/var/lib/garage/data
espenb 8 hours ago | parent | prev | next [-]

I didn't find an alternative that I liked as much as MinIO and I, unfortunately, ended up creating a my own. It includes just the most basic features and cannot be compared to the larger projects, but is simple and it is efficient.

https://github.com/espebra/stupid-simple-s3

luke5441 7 hours ago | parent [-]

The listing is perhaps in line with the first two "s". It seems it always iterates through all files, reads the "meta.json", then filters?

espenb 6 hours ago | parent [-]

Yes, indeed. The list operation is expensive. The S3 spec says that the list output needs to be sorted.

1. All filenames are read. 2. All filenames are sorted. 3. Pagination applied.

It doesn't scale obviously, but works ok-ish for a smaller data set. It is difficult to do this efficiently without introducing complexity. My applications don't use listing, so I prioritised simplicity over performance for the list operation.

luke5441 5 hours ago | parent [-]

Maybe mention it somewhere as a limitation, so it is not used for use-cases where listing is important and there are many objects?

Listing was IMO a problem with minio as well, but maybe it is not that important because it seems to have succeeded anyway.

courtcircuits 8 hours ago | parent | prev | next [-]

Go for Garage, you can check the docker-compose and the "setup" crate of this project https://github.com/beep-industries/content. There are a few tricks to make it work locally so it generates an API key and bucket declaratively but in the end it does the job

ahoka 5 hours ago | parent | prev | next [-]

S3 Ninja if you really just need something local to try your code with.

slooonz 8 hours ago | parent | prev | next [-]

versitygw is the simplest "just expose some S3-compatible API on top of some local folder"

pikachu0625 8 hours ago | parent | prev | next [-]

OS's file system? Implementation cost has been significantly decreased these day. We can just prompt 'use S3 instead of local file system' if we need to use a S3 like service.

Scarjit 8 hours ago | parent | prev | next [-]

RustFS is dead simple to setup.

Havoc 8 hours ago | parent [-]

It has unfortunately also had a fair bit of drama already for a pretty young project

daurnimator 7 hours ago | parent | prev [-]

seaweedfs: `weed server -s3` is enough to spin up a server locally