Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aboodman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
aboodman
3y ago
There's no max enforced. Right now, it will fall apart pretty quick around 25-50, depending on how much work is going on. For the GA, we plan to implement a scheme that will allow the room to support up to ~100 concurrent active user
92.
▲
by
aboodman
3y ago
"Can't" is a strong word. You can get auth with a CRDT with effort, for example you can put a server in the middle of everything and have the server reverse any changes it sees which are unauthorized. This ends up being a lot
93.
▲
by
aboodman
3y ago
It's websockets, and yes we do make use of Durable Objects. But we do extensive batching and buffering on top of the raw platform. You can't literally send 120 messages / second to and from 100 concurrent clients. Actually th
94.
▲
by
aboodman
3y ago
We have the "game-winning" scenario on the reflect.net homepage right now: https://reflect.net/ . It's a puzzle and when the last piece is placed, it shows a celebration and the puzzle resets moments later. Bu
95.
▲
by
aboodman
3y ago
Hi! Thanks for the thoughtful question. >List operations just work: Fair point. Will change. What I really meant here was "(Many) list operations just work" (just like above I said "all kinds of things just work". >
96.
▲
by
aboodman
3y ago
Hm, good point. Thanks!
97.
▲
by
aboodman
3y ago
Reflect is indeed built on immutable data structures internally, and it’s part of what makes it performant.
98.
▲
by
aboodman
3y ago
:)
99.
▲
by
aboodman
3y ago
1. I hope to write about this soon! We've developed something we really like for Reflect. 2. This is what I want to work on next. I am similarly intrigued by the Prosemirror model. It seems like a good match.
100.
▲
by
aboodman
3y ago
The clients are almost entirely shared. We will continue to develop Replicache. https://x.com/replicache/status/1714684061589877235?s=20
101.
▲
by
aboodman
3y ago
We'll post something soon comparing all of the options (in our opinion). But as I understand it: - Supabase Broadcast: one client sends every other client a one-time message - Supabase Presence: one client tells all other clients that
102.
▲
by
aboodman
3y ago
Yes they are in the same space. The key difference is in how opinionated each is. PartyKit is extremely unopinionated. It's essentially lightweight javascript server, that launches fast and autoscales (I don't say this as as a ba
103.
▲
by
aboodman
3y ago
Not really any magic, just a lot of careful engineering.
104.
▲
by
aboodman
3y ago
Also just as an FYI we do have this running live at https://reflect.net and https://hello.reflect.net/examples at 120 FPS. We are targeting 100 concurrent users at 120 FPS. Not completely there, but it is certai
105.
▲
by
aboodman
3y ago
The examples and docs are live here: https://hello.reflect.net/ TCR is just a small generalization of what the game industry has been doing for awhile. So in that sense, we are not at all the first. But I'm honestly no
106.
▲
by
aboodman
3y ago
It's not the same thing. OT works by having a discrete set of operations that are known to the system so that they can be reordered properly server-side. Reflect is based on Server Reconciliation: https://www.gabrielgambetta
107.
▲
by
aboodman
3y ago
Hey Matlin, it's true that this approach is harder to implement, but that's a one-time cost, and it's one we take on for our users and they don't have to worry about.
108.
▲
by
aboodman
3y ago
Absolutely – CRDTs have some unique benefits, this among them. I recommended a potential user to CRDTs a few weeks ago. But most apps people build today do in fact have a central server. And by leveraging that you can get some really nice b
109.
▲
by
aboodman
3y ago
Hey hacker news! I'm one of the people behind this, happy to answer any questions.
110.
▲
Reflect – Multiplayer web app framework with game-style synchronization
(rocicorp.dev)
462 points
by
aboodman
3y ago
|
150 comments
111.
▲
by
aboodman
3y ago
High teen and low twenty ... whats? Users on a single document?
112.
▲
by
aboodman
3y ago
Yes, that's what I mean.
113.
▲
by
aboodman
3y ago
I'm a friend of Nick's and have been following Storyworth for like 10 years. This is a great opportunity for a product engineer that has kids, a life, a band, or something like that. It's not "you have a 0.01% chance of
114.
▲
by
aboodman
3y ago
I have a trick for this that I love that is very general: 1. When a user begins dragging, calculate the layouts for all possible drop targets (or perhaps just those that are currently visible). 2. For each of those layouts record the positi
115.
▲
by
aboodman
3y ago
No :). The interesting thing is that drag and drop interfaces are not typically purely directly mapping the drag operation to moving the object selected. There's a lot more going on -- there's hover and activation effects, limits,
116.
▲
by
aboodman
3y ago
I guess it could potentially be used for any drag and drop interface? It's such a different way to think of the problem, I'm going to have to try it for something just to wrap my head around it.
117.
▲
by
aboodman
3y ago
Not sure what I would use this for, but it's crazy clever.
118.
▲
by
aboodman
3y ago
I don't get what is SF about this - can you expand?
119.
▲
by
aboodman
3y ago
Interesting. Is there a latency difference between first instance of an image and nth?
120.
▲
by
aboodman
3y ago
What is the latency to start a session?
More ›