what are you waiting for?
History of HTTP
¿What's wrong with HTTP/1.x?
¿How we fixed? Hacks!
Multiplexed Stream
HTTP/2 Server Push
Binary Protocol
HPACK. Compresión de headers
HTTP/2 y HTTPS
Support
Frontend impact
Backend impact
Infraestructure
Results
Next Steps
and standard,and easy, and very very expanded worldwide....
HTTP was originally proposed by Tim Berners-Lee, the pioneer of the World Wide Web who designed the application protocol with simplicity in mind to perform high-level data communication functions between Web-servers and clients.
Was thinking for statics html pages, not for multimedia or stream-oriented applications.
Oficial RFC standar. Release 1999
One outstanding request per TCP connection. Multiple TCP connections to process multiple requests simultaneously
Google Chrome and Firefox have supported the technology for years and Apple added HTTP/2 browser support to the Safari web browser back in 2014. Internet Explorer requires users to run Windows 8 to support the latest application protocol.
70% global support
~%85 avg support in our 7 countries.
~85% Argentina, México
~87% Brazil, Colombia
~80% Venezuela
~88% Chile y Perú
Let's do it!
It's neccesary:
Isn't neccesary:
The principal domains and subdomains like api.mercadopago and api.mercadolibre must response over http2. Same whit www.mercadopago.com
NGINX service will be upgraded too.
This will reduce the latency between requests and responses.
assets fetched from http2.mlstatic.com
isHTTP2 variable. Sniffing for user agent string
Unbundled css. Split css compiled into http1 and http2
improve ~ 130ms
in network duration
https://rpm.newrelic.com/accounts/39947/browser/469967
HTTP2 it's a major upgrade to the principal standar over the web. It's the future of the web. We need to implement quickly in all our services, API's, externals and internals infrastructure.
api.mercadopago.com
over http2
www.mercadopago.com
over http2
https://www.youtube.com/watch?v=ouIK1S0KdJE
https://www.youtube.com/watch?v=Aayh2FAYGqc
https://www.youtube.com/watch?v=fJ0C4zN5uOQ
https://www.youtube.com/watch?v=r5oT_2ndjms