apisyouwonthate / apisyouwonthate/book-build-apis-2

HTTP 1, 2, and 3

Aperta
#91 0 commenti 1 reazione 2 assegnatari Rivendicata da @AlexanderKaran Vedi su GitHub
Lingua principale
Ruby
Stelle
248
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Braindump found in some notes somewhere, not entirely sure I know wtf I'm getting at here but here it is until I have something better. Chip in folks.

---

Http 0.9 pretty much just static docs
Http 1.0 what did it improve I guess Ajax now
Http 1.1 keep alive 10% improvement, lots of clients don’t use it, Wework graph, the gold standard until spa meant lots of connections, browser limitations
Lack of knowledge about keep alive has lead to folks batching requests to avoid “handshakes” which is often actually slower

Let’s stop building to take into to http2, leave model design until later

H2 allows multiplexing so lots of requests made over same connection and responses are mixed together, browser solves max connections from hard set 6- to confugurable 100

H2 hpack means headers are squashed (handy if you have big JWT and other session data, but try to avoid that anyway), and server push is awesome. Please push mention.

Http 0.9 going away

https://github.com/curl/curl/pull/4191

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.