Clockwork Labs

116 posts

Clockwork Labs banner
Clockwork Labs

Clockwork Labs

@clockwork_labs

Creating beautiful machines. Currently working on https://t.co/rUQoxP1R8d and https://t.co/ZIpXxgJDMZ

San Francisco, CA Se unió Mart 2019
24 Siguiendo285.4K Seguidores
Clockwork Labs retuiteado
Tyler F. Cloutier
Tyler F. Cloutier@TylerFCloutier·
This is exactly the reason we built @spacetime_db. Our game engineers should not need to be distributed systems experts just to build @BitCraftOnline. SpacetimeDB is fast, but its real value is that by putting your code inside the DB, we can handle the distrib systems for you.
4nzn@paoloanzn

vibecoder asks claude code to build a chat app, gets a working prototype in 20 minutes, immediately tweets "just killed slack and discord"… brother you don't even know what a distributed system is. you don't know what database replication means. you have no idea how websocket connections behave at scale or what happens when 50k people are online at once and someone's message needs to show up in 200ms across 3 continents slack has engineers making $300k+ who have spent a decade solving problems you don't even know exist yet. race conditions, eventual consistency, message ordering, presence systems, file storage at scale, search indexing across billions of messages your app works on localhost with 2 connections. that's not the same thing as "killing slack" that's a college homework assignment the prototype is maybe 0.5% of what makes these products actually work in production. the remaining 99.5% is infrastructure, reliability, edge cases, and years of iteration on problems that only surface when real humans use your thing at scale and the worst part is the confidence. "yeah its not perfect but ai one-shotted it, just need to adjust a few things and deploy" - the few things you need to adjust IS the entire product. thats like pouring a foundation and saying you basically built a skyscraper, just need to adjust a few things ai is genuinely incredible for building tools and prototypes. i use it every day. but there's this weird thing happening where people who have never shipped anything to real users at scale now think the hard part of software is writing the first 200 lines of code it never was bro

English
1
2
15
3.1K
Clockwork Labs
Clockwork Labs@clockwork_labs·
RT @spacetime_db: Why you should choose Convex over SpacetimeDB "Convex is tackling the same fundamental problem we are, and in many areas…
English
0
2
0
132
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
SpacetimeDB + @claudeai is empowering new devs!
SpacetimeDB tweet media
English
1
3
20
2.6K
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
If you're not following the Elegon vlog, you're missing out! Elegon is an indie MMORPG being developed on top of SpacetimeDB. youtube.com/watch?v=68BVjp…
YouTube video
YouTube
English
1
3
19
3.4K
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
This is a dangerous and fundamental misunderstanding of how SpacetimeDB works. By default, SpacetimeDB waits for all data to be durably persisted to disk BEFORE exposing it to clients. We have a deeper dive coming, but dataloss is the cardinal sin of databases, and so we need to address this one immediately. SpacetimeDB can be configured to expose data to clients before data is persisted, but so can Postgres (synchronous_commit = off). @mihir20/understanding-synchronous-commit-in-postgresql-54cb5609a221" target="_blank" rel="nofollow noopener">medium.com/@mihir20/under… The genius of SpacetimeDB is that although we fsync asynchronously, we buffer all client reads (and write acks) until we've guaranteed they are persisted to disk. Not only does this guarantee durability of transactions from the perspective of clients, it also allows us to decouple fsync latency and fsync throughput. Pipelining is a powerful optimization.
Vicent Martí@vmg

Earlier this week, SpacetimeDB launched v2 of their product with a weird marketing video. It was full of memes, and mocking other databases; their CEO showed up drinking "competitor's tears". I found it off-putting, but it did pique my interest enough to do a technical review of their product. In summary: it's not a very good database, and it is a big marketing miss. Database marketing is hard! They had a good chance to launch this and make people go "Wow! It's like Redis on steroids! You can build a whole MMORPG on top of this!". But instead they invited some very awkward comparisons with their benchmarks. Any technical person who looked at their offering probably thought: "Wow, 190k QPS in a relational database? I wonder what's the catch". The catch is that it's pretty much just an in-memory hash table with a single lock in front of it. Some interesting ideas, some big footguns. But that's pretty much it. Here's my full technical review, including some thoughts on database marketing, if you're interested 👇

English
4
2
41
14.7K
Clockwork Labs retuiteado
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
This is a dangerous and fundamental misunderstanding of how SpacetimeDB works. By default, SpacetimeDB waits for all data to be durably persisted to disk BEFORE exposing it to clients. The window in which you can lose data not "very small", it's absolutely 0. SpacetimeDB can be configured to expose data to clients before data is persisted, but so can Postgres (synchronous_commit = off). The genius of SpacetimeDB is that although we fsync asynchronously, we buffer all client reads (and write acks) until we've guaranteed they are persisted to disk. Not only does this guarantee durability of transactions from the perspective of clients, it also allows us to decouple fsync latency and fsync throughput. Pipelining is a powerful optimization. @mihir20/understanding-synchronous-commit-in-postgresql-54cb5609a221" target="_blank" rel="nofollow noopener">medium.com/@mihir20/under… That being said, it's understandable how people who spent their careers just operating Postgres instead of designing their own database engine could be so confused.
Hunter Leath@jhleath

"The WAL is asynchronous, and is flushed periodically to disk on the background (by default, every 50ms)." these kinds optimizations are appealing because the "window" at which you could lose data is very small. usually, though, production workloads are continuously writing data. when continuously writing, you're actually *guaranteed* to lose *some* data each time your host loses power. this is generally not desirable.

English
12
4
183
70.5K
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
I'll bet your database can't do video calls...
English
41
32
653
95.1K
Clockwork Labs retuiteado
Tyler F. Cloutier
Tyler F. Cloutier@TylerFCloutier·
1/ Today we announced SpacetimeDB 2.0 and our entrance to web dev. It's going to transform what people think is possible in web development. 2.0 adds support for TypeScript/JS SpacetimeDB modules and just about every popular web framework. You can now 1-shot Discord in TS.
English
12
8
193
16.1K
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
Introducing SpacetimeDB 2.0. Web development at the speed of light. Come learn what fast really means.
English
107
106
1.3K
785K
Clockwork Labs retuiteado
Tyler F. Cloutier
Tyler F. Cloutier@TylerFCloutier·
Fixed that for you.
English
0
4
17
4.1K
Clockwork Labs retuiteado
SpacetimeDB
SpacetimeDB@spacetime_db·
2026 is going to be a banger
SpacetimeDB tweet media
English
0
2
21
3.5K
Clockwork Labs retuiteado
Volander Thorne
Volander Thorne@Druid_of_Scales·
@The_Lazy_Peon Yo you gotta give BitCraft Online a try! It's in early access, but I think it deserves a review atm. If they can get some more players in, that'll help get some more feedback! @clockwork_labs @BitCraftOnline
English
1
1
2
1.3K