SpacetimeDB - a real-time backend framework and database for apps and games

Curious to hear your thoughts on SpacetimeDB.

More talk about it here including references to Erlang and the actor model:

@garrison @jstimps since I feel like y’all are some of the resident DB experts here, would be particularly interested to hear what you think.

4 Likes

I don’t know it well, but appears the value prop is more “we’ll replace your cloud hosting provider” rather than just being a database. As such, I wouldn’t expect BEAM projects to be in their audience.

That being said, Elixir would be a great choice to build a similar platform. :grin:

Strictly as a database, it’s a tough sell for me to be honest. There is no concurrency (in the transactional sense of the word) and migration support looks light.

4 Likes

The author of SpacetimeDB has been a guest on the Developer Voices podcast: https://www.youtube.com/watch?v=A9A8pptfz0Q

Edit: haha, didn’t see you already linked the youtube video, my bad :slight_smile: Can recommend though

1 Like

I watched a talk about it when they first announced Bitcraft, and the very first thing I thought was: Is this built with Elixir/Erlang? It turns out it wasn’t, but the idea is still super cool.

I’ve played around with ECS a bit, and it’s super fun; it’s a shame we don’t use more outside of games. TBH, I had almost forgotten about it, but this video made me reconsider taking a stab at it in the future for some projects where I was planning to use Elixir (will help reduce the boilerplate and make it more AI-friendly - fewer moving pieces equals fewer problems).

1 Like

There’s an ECS library for Elixir - GitHub - ecsx-framework/ECSx: An Entity-Component-System framework for Elixir . I’m using it on a personal project.

1 Like

I’m aware! I also built one myself: GitHub - thiagomajesk/genesis: An Entity Component System (ECS) library for Elixir focused on easy of use and ergonomics. (it’s a different ECS pattern interpretation) - I was using it to build a game :smile:

1 Like