Is there any guidance for setting up datalevin in aws?
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.
EBS should be fine. DB size is auto-growing, but I would suggest you set a high size to reduce resizing-slowdown.
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.
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
Please file an GitHub issue so I remember to patch this in for the next release
Thanks for filing the issue
0.10.5 allows this.
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.