Home Database Mysql Tutorial HTTP 2.0要来了,你竟然还不知道什么是SPDY?

HTTP 2.0要来了,你竟然还不知道什么是SPDY?

Jun 07, 2016 pm 03:33 PM
http cloud computing What

云计算时代,浏览器和移动APP成为云端资源的主要入口。 HTTP 1.1已经成为这个生态环境的瓶颈。 SPDY协议是Google开发的一种基于TCP的应用层协议,旨在替换当前的HTTP 1.1。 据说SPDY协议的性能比HTTP 1.1快1倍。 SPDY保留了HTTP 1.1的语义,但是在传输方式上

云计算时代,浏览器和移动APP成为云端资源的主要入口。

HTTP 1.1已经成为这个生态环境的瓶颈。

SPDY协议是Google开发的一种基于TCP的应用层协议,旨在替换当前的HTTP 1.1。

据说SPDY协议的性能比HTTP 1.1快1倍。

SPDY保留了HTTP 1.1的语义,但是在传输方式上与HTTP 1.1截然不同。就是说,现有的Web应用基本无需任何修改就可以从HTTP 1.1迁移到SPDY协议。

SPDY协议和HTTP 1.1一样都是基于TCP,但是它与HTTP 1.1的区别在于,HTTP 1.1与TCP是紧耦合的,HTTP 1.1的Message是直接通过TCP的packet发送的;而SPDY协议则在TCP之上定义了一个framing layer,也可以称之为HTTP Layer。

framing layer的连接叫做stream,区别于TCP的connection。每个connection对应多个stream。每个stream对应的是一个请求/响应。多个stream可以并行的进行发送/接受数据。

HTTP 2.0据说将在今年正式Release,SPDY协议可以说是HTTP 2.0标准的一个参考。


想知道SPDY协议具体解决了HTTP 1.1的哪些问题?请参考 http://www.slideshare.net/ihower/a-brief-introduction-to-spdy-http20

另外,如果你想了解SPDY协议的实现细节,请参考 http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Cloud computing giant launches legal battle: Amazon sues Nokia for patent infringement Cloud computing giant launches legal battle: Amazon sues Nokia for patent infringement Jul 31, 2024 pm 12:47 PM

According to news from this site on July 31, technology giant Amazon sued Finnish telecommunications company Nokia in the federal court of Delaware on Tuesday, accusing it of infringing on more than a dozen Amazon patents related to cloud computing technology. 1. Amazon stated in the lawsuit that Nokia abused Amazon Cloud Computing Service (AWS) related technologies, including cloud computing infrastructure, security and performance technologies, to enhance its own cloud service products. Amazon launched AWS in 2006 and its groundbreaking cloud computing technology had been developed since the early 2000s, the complaint said. "Amazon is a pioneer in cloud computing, and now Nokia is using Amazon's patented cloud computing innovations without permission," the complaint reads. Amazon asks court for injunction to block

C++ Cloud Computing Best Practices: Deployment, Management, and Scalability Considerations C++ Cloud Computing Best Practices: Deployment, Management, and Scalability Considerations Jun 01, 2024 pm 05:51 PM

To achieve effective deployment of C++ cloud applications, best practices include: containerized deployment, using containers such as Docker. Use CI/CD to automate the release process. Use version control to manage code changes. Implement logging and monitoring to track application health. Use automatic scaling to optimize resource utilization. Manage application infrastructure with cloud management services. Use horizontal scaling and vertical scaling to adjust application capacity based on demand.

How to implement HTTP streaming using C++? How to implement HTTP streaming using C++? May 31, 2024 am 11:06 AM

How to implement HTTP streaming in C++? Create an SSL stream socket using Boost.Asio and the asiohttps client library. Connect to the server and send an HTTP request. Receive HTTP response headers and print them. Receives the HTTP response body and prints it.

Java Cloud Computing: Cloud Migration Strategies and Steps Java Cloud Computing: Cloud Migration Strategies and Steps Jun 05, 2024 pm 03:54 PM

Java cloud migration involves migrating applications and data to cloud platforms to gain benefits such as scaling, elasticity, and cost optimization. Best practices include: Thoroughly assess migration eligibility and potential challenges. Migrate in stages to reduce risk. Adopt cloud-first principles and build cloud-native applications wherever possible. Use containerization to simplify migration and improve portability. Simplify the migration process with automation. Cloud migration steps cover planning and assessment, preparing the target environment, migrating applications, migrating data, testing and validation, and optimization and monitoring. By following these practices, Java developers can successfully migrate to the cloud and reap the benefits of cloud computing, mitigating risks and ensuring successful migrations through automated and staged migrations.

As demand grows in the artificial intelligence era, AWS, Microsoft, and Google continue to invest in cloud computing As demand grows in the artificial intelligence era, AWS, Microsoft, and Google continue to invest in cloud computing May 06, 2024 pm 04:22 PM

The growth of the three cloud computing giants shows no sign of slowing down until 2024, with Amazon, Microsoft, and Google all generating more revenue in cloud computing than ever before. All three cloud vendors have recently reported earnings, continuing their multi-year strategy of consistent revenue growth. On April 25, both Google and Microsoft announced their results. In the first quarter of Alphabet’s fiscal year 2024, Google Cloud’s revenue was US$9.57 billion, a year-on-year increase of 28%. Microsoft's cloud revenue was $35.1 billion, a year-over-year increase of 23%. On April 30, Amazon Web Services (AWS) reported revenue of US$25 billion, a year-on-year increase of 17%, ranking among the three giants. Cloud computing providers have a lot to be happy about, with the growth rates of the three market leaders over the past

Does the application of Golang technology in the field of cloud computing require high costs? Does the application of Golang technology in the field of cloud computing require high costs? May 09, 2024 pm 02:00 PM

Golang is economically viable in cloud computing because it compiles directly to native code, is lightweight at runtime, and has excellent concurrency. These factors can lower costs by reducing cloud computing resource requirements, improving performance, and simplifying management.

Integration of PHP REST API and cloud computing platform Integration of PHP REST API and cloud computing platform Jun 04, 2024 pm 03:52 PM

The advantages of integrating PHPRESTAPI with the cloud computing platform: scalability, reliability, and elasticity. Steps: 1. Create a GCP project and service account. 2. Install the GoogleAPIPHP library. 3. Initialize the GCP client library. 4. Develop REST API endpoints. Best practices: use caching, handle errors, limit request rates, use HTTPS. Practical case: Upload files to Google Cloud Storage using Cloud Storage client library.

Application alternatives of Golang technology in the field of cloud computing Application alternatives of Golang technology in the field of cloud computing May 09, 2024 pm 03:36 PM

Golang cloud computing alternatives include: Node.js (lightweight, event-driven), Python (ease of use, data science capabilities), Java (stable, high performance), and Rust (safety, concurrency). Choosing the most appropriate alternative depends on application requirements, ecosystem, team skills, and scalability.

See all articles