Multiplayer

Infrastructure

realtime messaging server

SHOW HN2022

221points
57comments
#243of 2,570 in 2022
Top 10%of 2022 by points

How HN took it

DebatedReal support and real criticism

12 positive, 6 neutral or asking, 0 mixed, 6 critical, out of 24 comments about the project. Thread score +0.11.

Idea: 6 for, 1 againstPerformance: 3 for, 1 againstDesign: 0 for, 3 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful building blocks for collaborative apps, CRDT and Yjs potential

    From 2 comments
    • > CRDTs definitely. it's one of the primary use-cases we had in mind when developing this, and something we've wanted to offer for a long time. I'm happy to see it popping up…
      kiwicopple on HN
    • Very interesting, I can see a whole raft of applications for this tech that are outside of the game scene, various collaboration tools use very similar tech under the hood and…
      jacquesm on HN
  • Supabase is admired for open source approach

    From 1 comment
    • I love the direction Supabase is taking; finding the building blocks of modern applications (database, auth, functions, presence, realtime subscriptions), making them easy to…
      zaking17 on HN

Objections

  • Hard to understand what the demo does and it renders poorly on mobile

    From 2 comments
    • Hi wenbo - would you mind explaining a bit more on what the user is suppose to experience in this demo. Maybe I'm the only person confused but I just see people chatting in the…
      alberth on HN
    • Nice job, but the demo rendered extremely weird on my mobile device. Some weird jankiness forced half the site off screen. Hard to see what's happening.
      chrisco255 on HN
  • Writing cursor positions to the database would hurt performance

    From 2 comments
    • If I understand this correctly, it's basically transmitting database changes over a websocket? If so, how does that work re: performance when it comes to something like live…
      kbyatnal on HN
    • This example is built with our refactored Realtime server which solves that issue. (We had a lot of developers trying exactly that, and it ended poorly for their database) The…
      kiwicopple on HN
  • Backend broadcast is less secure than client-to-client WebRTC

    From 2 comments
    • Why use a backend heavy broadcast mechanism when you can just use webrtc data channels and communicate directly among users?
      flippinburgers on HN
    • Well, here are Rules #0-5 of multiplayer games: ``` - Never - Trust - the - Client - Ever. - EVER. ```
      hinkley on HN

Requests

  • Open source the SQL for function hooks

    From 3 comments
    • I love the direction Supabase is taking; finding the building blocks of modern applications (database, auth, functions, presence, realtime subscriptions), making them easy to…
      zaking17 on HN
    • > finding the building blocks of modern applications (database, auth, functions, presence, realtime subscriptions), making them easy to use, and then sharing the source code.…
      wenbo on HN
    • Wanted to follow up on this. I spoke to the team and just wanted to re-iterate that we will be open sourcing the SQL very soon.
      wenbo on HN
  • Fix local setup instructions, which were hard to run

    From 2 comments
    • Trying to run the demo I get a blank loading page on my nextjs app ```realtime-realtime-1 | Transport: :websocket realtime-realtime-1 | Serializer:…
      tough on HN
    • Apologies, it's a bit complicated to get the demo server up and running. I'll put together the instructions and link it here.
      wenbo on HN
  • Add a Yjs provider for collaborative editing

    From 2 comments
    • Oh wow- I’m a huge fan of Supabase and have loved using it in a few Sveltekit projects so far! I gotta ask- how straightforward would it be to power a collaborative code editor…
      FractalHQ on HN
    • > CRDTs definitely. it's one of the primary use-cases we had in mind when developing this, and something we've wanted to offer for a long time. I'm happy to see it popping up…
      kiwicopple on HN

Questions

  • How does it scale and perform with many clients?

    From 2 comments
    • Neat demo. What are the scaling limitations?
      nitinagg on HN
    • For the Change Data Capture functionality, I mentioned that there's a tradeoff between performance and security in another comment…
      wenbo on HN
  • Can it power a collaborative code editor?

    From 1 comment
    • Oh wow- I’m a huge fan of Supabase and have loved using it in a few Sveltekit projects so far! I gotta ask- how straightforward would it be to power a collaborative code editor…
      FractalHQ on HN

Alternatives named

  • WebRTC data channels

    From 1 comment
    • Why use a backend heavy broadcast mechanism when you can just use webrtc data channels and communicate directly among users?
      flippinburgers on HN
  • Meteor

    From 1 comment
    • sounds like you want "Meteor" as it was when it first came out. Which is nearly a decade old now! I really liked it, but the whole community fragmented a while back, not sure…
      keithnz on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/30992587)