Description
Pushpin is a reverse proxy server that adds realtime push to an existing API. It holds client connections open, so clients can use HTTP streaming, HTTP long-polling or WebSockets, and for older browsers it can translate SockJS. Clients keep talking to your API contract, and Pushpin is only a server-side detail, so an existing realtime endpoint can be moved to or from Pushpin without breaking clients. Because it is a proxy, the backend can be written in any language, and convenience libraries help with the integration. Authentication, analytics and other API management tools work with the realtime endpoints as they would with other endpoints. To try it, you put Pushpin in front of a web service, edit the routes file so traffic goes to your backend, and have the backend reply with Grip headers, such as Grip-Hold and Grip-Channel, which Pushpin reads without passing them to the client. Publishing data to a channel is done with the pushpin-publish command. Pushpin keeps the connection state, so backends can be stateless, and it scales horizontally by adding instances. The project is the core of Fastly's Fanout service and is open source. The source code, documentation and a download are on the site.…
Highlights
- Reverse proxy for realtime APIs
- HTTP streaming, long-polling and WebSockets
- SockJS translation for older browsers
- Backend in any language
- Horizontal scaling
Ratings & Reviews
No ratings yet
Be the first to rate Pushpin.
People also visit
Pushpin FAQ
What is Pushpin?
A reverse proxy that adds realtime push to an API by holding client connections open.
Which protocols does it support?
HTTP streaming, HTTP long-polling and WebSockets, and SockJS for older browsers.
Does it change my API for clients?
No. The site says clients keep using your API contract, and Pushpin can be added or removed without breaking clients.
What language does the backend need?
Any language, because Pushpin is a proxy in front of the backend.
How do I start?
Put Pushpin in front of your service, point the routes file at your backend, and send Grip headers from the endpoint.
Where does it come from?
The site says Pushpin is the core of Fastly's Fanout service and is open source.
What are the best Pushpin alternatives?
Popular alternatives to Pushpin include Centrifugo, Pingoo and AnyCable. See all Pushpin alternatives
