Earlier quoted context omitted.
Some algorithms are much more easily represented as SQL or that plus a little wrapper code. E.g., somebody re-wrote E-Graphs Good using SQL as their primitives, and that viewpoint made a bunch of other features and optimizations obvious. Stated somewhat differently, do you want to write the algorithm to do a 3-connected recursive join in linear time, or do you want to slap the join into a DB and move on with your lif…
If you know all of your queries ahead of time, then compiling them efficiently has already been shown to be effective. Noria https://github.com/mit-pdos/noria https://www.youtube.com/watch?v=kVv9Pik6QGY https://thesquareplanet.com/research/ Materialize/TimelyDataflow https://scholar.google.com/citations?hl=en&user=YYJ3aycAAAAJ...
SpacetimeDB
171–180 of 205 posts
Re: SpacetimeDB
#172Earlier quoted context omitted.
Since SpacetimeDB would be your backend (game client SpacetimeDB) you would need to verify the inputs to your reducers to prevent cheating. Not really different from anything else.
But that's completely different from how Unreal typically does it. Movement is client-side predicted and server authoritative out of the box. How does SpacetimeDB even know the collisions of my level? If I were to cheat and disable all wall collisions on the client. An Unreal server would roll me back, to all other people it would look like I'm walking into the wall. How do you even get SpacetimeDB to run Unreal's ru…
As a service backend+database the concept is cool and probably useful. But I don't see it being good at being a game server.
Re: SpacetimeDB
#173Seems like a neat idea, but for the love of Jesus Christ offer me a flat rate billing solution. Or at least an option of doing that. This seems like the type of thing that will accidentally burn through all of your credits if you code something wrong, and then you're going to have to beg their tech support to refund you. I had an idea last night for an RTS like game where the units can only be controlled via radio co…
SpacetimeDB is open source[1], the open source version doesn't currently have all the features of maincloud, but most of those features are solely for scalability. I've done all of my work on my own local servers. I would even suggest paying for your own server up front until you're ready to scale out. I believe the 4 years is when the license changes to a more open license. And the scalability features on local are…
Why not use something with a vastly friendlier license. Most companies don't want to play the GPL dance when alternatives exist.
Re: SpacetimeDB
#174Earlier quoted context omitted.
Absolutely! I work in Elixir and I feel very good about its tradeoffs - and a lot of being good with the tool is knowing when to not use it. This tech is very much out of my wheelhouse but it seems very cool and I hope y'all find a nice fit!
Which tradeoffs does elixir have?
Re: SpacetimeDB
#175Earlier quoted context omitted.
The first two problems are nothing, IMO. Server client sync is handled by your engine or, if you need to roll your own, it's not that hard. Syncing to a database is more tedious than difficult. Getting rid of a game engine on the server side adds a lot more work. I don't think it would even balance out.
Having implemented the first two for a web game i absolutely guarantee you those are far from "nothing". It takes considerable diagraming & handling to coordinate FE + API on state changes. If they in fact can solve that (haven't checked myself), it would be a massive time saving for development.
Re: SpacetimeDB
#176Earlier quoted context omitted.
But in gaming, real time means something different: https://en.wikipedia.org/wiki/Timekeeping_in_games#Real-time Context matters.
In game development we still care about the distinction between soft and hard realtime. Almost all games are soft realtime, even if the gameplay itself is turned based as we're processing user input, updating UI, animating things and so on.
Re: SpacetimeDB
#177Lowering down the TRSACTION LEVEL, Async transctions on disk backed tables and UNLOGGED Tables can help you go a long way.
Also, in next major version (v18) of PG, they are trying to implment io_uring support which will further drastically improve the random read/write performance.
Re: SpacetimeDB
#178Earlier quoted context omitted.
I mean you can download it and give it a try! For BitCraft we scale it with IMC (inter-module communication). It works very similarly to Elixir.
It's in closed alpha so there's a limited number of players but I am curious to hear more about how BitCraft is scaling out. Is it a single, seamless world for all players? How much scaling is currently required? How is data replicated when horizontal scaling comes into the picture?
Re: SpacetimeDB
#179Earlier quoted context omitted.
"Tyler was a Sr. Data Science Engineer at MZ (the company behind Game of War and Mobile Strike). Prior to working at MZ he was an engineer at Apple. Tyler holds a Masters in Distributed Systems and Machine Learning from Johns Hopkins University." "Alessandro was a Sr. Software Engineer at Bloomberg, LP where he worked on high throughput distributed pricing systems. He holds a Computer Science and a Biomedical Enginee…
> Looks like they've built stuff before. Building "stuff" != shipping games.
If you compare the commit messages on your public repos with those on the SpacetimeDB repo, do you notice any differences?