datalevin

jumraiya 2026-02-06T01:18:30.086259Z

Is there any guidance for setting up datalevin in aws?

jumraiya 2026-02-06T13:18:39.947409Z

Thank you, I was thinking more about storage, is EBS recommended? are there any limitations for LMDB with regards to database size? I have a monotonically growing database so I would like to have a way for archiving older data to maintain performance but still have it be accessible in some way.

Huahai 2026-02-07T06:15:03.055589Z

EBS should be fine. DB size is auto-growing, but I would suggest you set a high size to reduce resizing-slowdown.

Huahai 2026-02-07T06:19:00.500969Z

Depending on what you mean by old data. You can have a cron job to run a DB clean program. E.g. query for entities having db/created-at or db/updated-at before certain time, save them somewhere, then retract those entities. Always keep a fresh backup.

sg-qwt 2026-02-07T18:02:51.760169Z

Speaking of server, wondering if we can add a password pass in arg (DATALEVIN_PASSWORD) same as DATALEVIN_PORT, so we can start it declaratively without need to repl in and change pass

Huahai 2026-02-07T19:05:35.868289Z

Please file an GitHub issue so I remember to patch this in for the next release

Huahai 2026-02-08T16:50:52.241579Z

Thanks for filing the issue

Huahai 2026-02-08T20:47:24.561939Z

0.10.5 allows this.

👍 1
Huahai 2026-02-06T04:10:01.344119Z

You mean as a server? I would run the uberjar for server. Put it under supervisor or as a systemd service. We also have a docker image on docker hub.