https://slatedb.io logo
Is it technically possible to run SlateDB in a Faa...
# general
z
Is it technically possible to run SlateDB in a FaaS environment like AWS lambda or does it need to have background processes running?
r
You could run it in a lambda today, but there's a few caveats: - It's single-writer, so only one lambda at a time will be able to access the db - Background work like compaction and gc should really run in a long-lived process. That said, we have some work in the pipe to support (see https://github.com/slatedb/slatedb/pull/278): - multiple concurrent read-only processes, so you can have lots of concurrent reads from different lambda invocations - single runs of the GC loop so you could schedule that to run periodically from a lambda as well
z
Nice, thanks for the clarification 🙇‍♂️
2 Views