Wednesday, 16 August 2023

Show HN: SpacetimeDB – The database that replaces your server https://bit.ly/3DZ439a

Show HN: SpacetimeDB – The database that replaces your server We just released our database, SpacetimeDB, on GitHub under the BSL 1.1 license. It converts to a free software license after a few years. The point of the database is that you upload application logic into the database as a WebAssembly stored procedure, so instead of clients connecting to a webserver they connect directly to the database. The database itself does authentication and you write your own authorization logic just like you would inside a webserver. We’ve developed our game, BitCraft ( https://bit.ly/3EidCAt ) entirely in this way. All of the game state is stored and synchronized with clients via SpacetimeDB, including player positions and movement. We also plan to allow you to horizontally scale your applications in two ways: 1. By having multiple databases that can send messages to each other (i.e. the actor model) 2. By having distributed databases which partition data over multiple machines, similarly to CockroachDB, although this approach would cause a commensurate increase in latency in accessing data Curious to hear your thoughts! https://bit.ly/47zPOVN https://bit.ly/47CYE5t August 16, 2023 at 02:48PM

No comments:

Post a Comment