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 انضم Mart 2019
24 يتبع285.4K المتابعون
Clockwork Labs أُعيد تغريده
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 أُعيد تغريده
SpacetimeDB
SpacetimeDB@spacetime_db·
I see your 720p@20fps video conference and I raise you 12-15 people and screen sharing. Made by members of our Discord! discord.gg/spacetimedb
English
10
6
120
17.2K
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 أُعيد تغريده
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 أُعيد تغريده
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.
English
4
2
41
14.7K
Clockwork Labs أُعيد تغريده
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 أُعيد تغريده
SpacetimeDB
SpacetimeDB@spacetime_db·
I'll bet your database can't do video calls...
English
41
32
653
95.1K
Clockwork Labs أُعيد تغريده
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 أُعيد تغريده
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 أُعيد تغريده
Tyler F. Cloutier
Tyler F. Cloutier@TylerFCloutier·
Fixed that for you.
English
0
4
17
4.1K
Clockwork Labs أُعيد تغريده
@·
@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