#SymfonyCon: A few weeks ago, I published #Vulcain, a new protocol to make #REST APIs faster than #GraphQL ones thanks to HTTP/2 Server Push!



Agenda:

🌏 What's REST?

🔥 Introducing Vulcain

❗Save the Web, decentralize❗️

🔨Let's code: Vulcain X Symfony



Be there, I speak at 2:20! — Kévin Dunglas (@dunglas) November 21, 2019

Over the years, several formats have been created to fix performance bottlenecks of web APIs: the n+1 problem, over fetching, under fetching…

The current hipster solution for these problems is to replace the conceptual model of HTTP (resource-oriented), by the one of GraphQL.

It’s a smart network hack for HTTP/1… But a hack that comes with (too) many drawbacks when it comes to HTTP cache, logs, security…

Fortunately, thanks to the new features introduced in HTTP/2 and HTTP/3, it’s now possible to create REST APIs fixing these problems with ease and class.

Vulcain is a brand new Internet Draft allowing to create fast, idiomatic and client-driven REST APIs.

To do so, it relies on the Server Push feature introduced by HTTP/2+ and on the hypermedia capabilities of the HTTP protocol.

Better, Vulcain comes with an open source reverse proxy that you can put on top of any existing web API to instantly turn it into a Vulcain-compatible one!

HATEOAS is back, and it’s for the best!