Live data from Hacker News

Jamsocket: Back Ends for Realtime Apps

jamsocket.com

11–20 of 44 posts

Re: Jamsocket: Back Ends for Realtime Apps

#14
post #10

for someone new to real time apps, can you help me understand how JamSocket is different from some service like Pusher?

Pusher provides a way to simulate a stateful WebSocket connection using a stateless server architecture. Jamsocket provides a stateful server architecture where WebSockets have first-class support.

Re: Jamsocket: Back Ends for Realtime Apps

#15
post #9

To build a image and push, spwan a pod? Why not just use FaaS service skip the build step?

You don't need to push every time you spawn, only when the code is changed. Typically, you would use a CI/CD action to push the image (this repo has a simple example: https://github.com/drifting-in-space/jamsocket-jupyter-noteb...)

A typical FaaS is stateless between invocations. We have an explicit "spawn" step because each spawn produces a new server process with its own state and own DNS hostname.

Re: Jamsocket: Back Ends for Realtime Apps

#16
post #13

What is the latency to start a session?

You can see an example by clicking "new game" on here: https://word.red/ We are working on getting it subsecond for most images, but we're not there yet.

Interesting. Is there a latency difference between first instance of an image and nth?

Re: Jamsocket: Back Ends for Realtime Apps

#17
post #13

Earlier quoted context omitted.

You can see an example by clicking "new game" on here: https://word.red/ We are working on getting it subsecond for most images, but we're not there yet.

Interesting. Is there a latency difference between first instance of an image and nth?

On the free tier there can be (because images are loaded lazily), but on the paid tier we load the images eagerly so that there is not.

Re: Jamsocket: Back Ends for Realtime Apps

#18
post #7

Hey HN! I'm a co-founder of Jamsocket, happy to answer any questions. We've previously been on HN for Plane, which is the open-source engine behind Jamsocket. https://news.ycombinator.com/item?id=33178797 Sorry for the website performance issues, I've disabled the animation which should help.

Yep, your homepage breaks on my imac/firefox due to webgl.

Re: Jamsocket: Back Ends for Realtime Apps

#20
post #7

Hey HN! I'm a co-founder of Jamsocket, happy to answer any questions. We've previously been on HN for Plane, which is the open-source engine behind Jamsocket. https://news.ycombinator.com/item?id=33178797 Sorry for the website performance issues, I've disabled the animation which should help.

Yep, your homepage breaks on my imac/firefox due to webgl.

Sorry about that, thanks for reporting. Can you elaborate on how it breaks -- does it freeze up or not display at all?
Post reply on HN