4 ms·
Hey folks. The idea with Pushpin is to make realtime APIs easier to create. Think of it like Socket.io, but aimed at API creators instead of application develop
by jkarneges 12y ago
Hey folks. The idea with Pushpin is to make realtime APIs easier to create. Think of it like Socket.io, but aimed at API creators instead of application developers.
Most realtime APIs today are implemented using low-level network code, because until now that was the only sophisticated way to do it.
- michaelmior 12y agoI found Pushpin interesting when I heard about it a couple years ago. Haven't had the chance to use it yet, but I'm curious if you could give a summary of what's changed.
- jkarneges 12y agoAside from a host of fixes/refactorings, the biggest change is that it now supports WebSockets, with either a WebSocket origin server or HTTP origin server. Also, the backend protocol (GRIP) was refined to work via HTTP headers instead of JSON instructions in the response body. This change helps simplify backend code and makes it more readable. The response body mechanism is still supported though, since it's more extensible and may be needed in rare cases (such as status code 304 with Apache).