gzip

Add compression to Server-Sent events with Undertow

Introduction With this post, we’ll tell you how we added compression support to a Server-Sent Events server built with Undertow. Our goal was to validate that this compressed flow would directly be understood by our favorite browsers: Chrome, Firefox, Safari, even IE, and possibly more… The context At Streamdata.io, we build up an incremental API cache[…]

featured

Benchmark: Server-Sent Events vs polling

1. Introduction “Streamdata.io is a real-time cache proxy allowing you to poll JSON REST APIs and push updates to clients”. Ok, sounds great. Indeed, the features provided are exactly what you need but what is the impact on your performances?  Here, we want to talk about performance, from the client, to the backend, with figures,[…]

kangaroos

Push : SSE vs WebSockets

As we presented our new product streamdata.io at DevoxxFr, we were often asked why we choose Server-Sent Event (SSE) over WebSockets as our Push protocol. This post may help you understand our choice, and evaluate what best suits your needs. We’ll start first with a short description of the two protocols.     SSE: Server-Sent Events HTTP[…]