SUMMARYHTTP/2 in Action is a complete guide to HTTP/2, one of the core protocols of the web. Because HTTP/2 has been designed to be easy to transition to, including keeping it backwards compatible, adoption is rapid and expected to increase over the next few years. Concentrating on practical matters, this interesting book presents key HTTP/2 concepts such as frames, streams, and multiplexing and explores how they affect the performance and behavior of your websites.ABOUT THE TECHNOLOGYHTTP—Hypertext Transfer Protocol—is the standard for exchanging messages between websites and browsers. And after 20 years, it's gotten a much-needed upgrade. With support for streams, server push, header compression, and prioritization, HTTP/2 delivers vast improvements in speed, security, and efficiency.about the bookABOUT THE BOOKHTTP/2 in Action teaches you everything you need to know to use HTTP/2 effectively. You'll learn how to optimize web performance with new features like frames, multiplexing, and push. You'll also explore real-world examples on advanced topics like flow control and dependencies. With ready-to-implement tips and best practices, this practical guide is sure to get you—and your websites—up to speed!WHAT'S INSIDE* HTTP/2 for web developers* Upgrading and troubleshooting* Real-world examples and case studies* QUIC and HTTP/3ABOUT THE READERWritten for web developers and site administrators.ABOUT THE AUTHORBarry Pollard is a professional developer with two decades of experience developing, supporting, and tuning software and infrastructure.
The book is relatively easy to read. Author provides weighted overview of the h2 protocol with all of it's strength and weaknesses. I found chapter 6 "Optimizing for h2" the most valuable part for me. Though I expected more in depth review in "Advanced h2 concepts" chapter. Overall I would recommend the book if you need good understanding of the protocol inner workings.
Took me a while to finally come back and write a review.
Overall I have enjoyed it a lot and can recommend it to any technical person who does doing web development or wants to understand the web better.
There is good balance of history of HTTP protocol, practical tip, tools recommendations and deep dive into the HTTP/2 protocol.
Though it's hard to asses how this knowledge can be used by a regular software developer, it helps to become a better specialist having deeper understanding of how technologies/protocols work.
In the case of HTTP/2 in Action it gave a better understanding of what happens on the client side when a user goes to your website, then how it reaches the server (CDN, DNS, reverse proxies, etc.) and finally how to configure your server for the best performance and security.
Tuần này, tôi mò mẫm đọc về gRPC và vô tình thấy một bài viết ngắn của Manning. Sau một hồi đọc thì tôi hoàn toàn bị cuốn vào những thứ ma thuật mà http/2 mang lại. Đó là lý do tôi bắt đầu đọc cuốn sách này.
--- Cập nhật sau khi đọc xong vào 3/2023 ---
Như những cuốn sách lập trình khác thì có những đoạn rất hay xen kẽ với một vài đoạn đọc khá buồn ngủ về chuyện bên lề về lịch sử ra đời. Những phần thú vị như đề cập tới các thuật toán mã hoá trong HTTP thì tác giả chỉ nhắc tới thoáng qua. Tôi kỳ vọng sách sẽ nói sâu hơn về phần này và cắt bớt mấy phần lịch sử dài dòng như rủ ngủ đi.
Để tiện tra cứu và hiểu thông tin tốt hơn, tôi có viết một ghi chú ngắn gọn về sự liên quan giữa các phiên bản HTTP từ http/0.9 cho tới http/3. Bạn đọc có thể tham khảo ở link này: https://japananh.notion.site/HTTP-2-i...