Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$has_disclaimer is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_lock is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_last is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_meta_box_present is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_send_notification is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_modify_title_and_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_heading is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_category is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_blz_affiliation_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_content_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_speciali is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskw is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_linkdex is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_content_score is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskeywords is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_keywordsynonyms is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_estimated-reading-time-minutes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_wordproof_timestamp is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$response_body is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_indexnow_last_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_d1bd0a2a3134661234e8cc2cc8ce0e62 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_d1bd0a2a3134661234e8cc2cc8ce0e62 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_6a3bbc6621189f75ae820435b2629f9d is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_6a3bbc6621189f75ae820435b2629f9d is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_11a6845c6bee6ba76d63ae99db32b943 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_11a6845c6bee6ba76d63ae99db32b943 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_b18e1ac7cc50221220fadabbdbd68ba7 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_b18e1ac7cc50221220fadabbdbd68ba7 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_d1219fc0d9491474806820d45b5eb6bc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_d1219fc0d9491474806820d45b5eb6bc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
Sorpresa, HTTP/3 non è più veloce del predecessore. Ecco quando

Sorpresa, HTTP/3 non è più veloce del predecessore. Ecco quando

HTTP/3, standardizzato nel 2022, utilizza QUIC per migliorare le prestazioni e la sicurezza della rete rispetto a HTTP/1.1 e HTTP/2. Nonostante i benefici dichiarati, un recente studio mostra che HTTP/2 può offrire migliori prestazioni in reti ad alta velocità. La sfida futura sarà ottimizzare QUIC per superare queste limitazioni e mantenere i suoi vantaggi.

Quando navighiamo sul Web utilizziamo il protocollo HTTP (HyperText Transfer Protocol) e, nella maggior parte dei casi, la versione HTTPS che aggiunge anche la cifratura dei dati scambiati in entrambe le direzioni. HTTP/3 è l’ultima e più aggiornata versione del protocollo HTTP, standardizzata nel 2022. Introduce significative innovazioni rispetto ai predecessori, HTTP/1.1 e HTTP/2, snellendo significativamente i tempi di caricamento delle pagine. Almeno sulla carta, perché un team di studiosi ha verificato che non sempre è così.

Non tutti i server Web supportano HTTP/3 o lo hanno abilitato: affinché lo scambio di dati avvenga utilizzando questa versione del protocollo è necessario che sia client che server siano compatibili.

Cos’è HTTP/3 e come funziona

La principale novità di HTTP/3 è l’utilizzo di QUIC (Quick UDP Internet Connections), un protocollo sviluppato da Google che combina l’efficienza di UDP (ne parliamo nell’articolo dedicato allo stack di rete TCP/IP) con le funzionalità di sicurezza e gestione delle connessioni tipiche di TCP.

A differenza di HTTP/1.1 e HTTP/2, che utilizzano TCP come protocollo di trasporto, HTTP/3 utilizza UDP. Questo consente di evitare alcuni degli svantaggi di TCP e grazie al controllo della congestione costruito attraverso QUIC, è possibile scongiurare perdite di pacchetti e disporre il ripristino delle connessioni in modo più efficiente.

Quando un client (ad esempio, un browser) deve comunicare con un server, in HTTP/3 la connessione può essere stabilita rapidamente. QUIC permette un handshake pressoché istantaneo riducendo notevolmente la latenza. Una volta stabilita la connessione, HTTP/3 può mantenere la comunicazione attiva anche se ci sono cambiamenti nella rete, come il passaggio da WiFi a rete mobile e viceversa.

HTTP/3 supporta inoltre il multiplexing dei flussi di dati in maniera tale che i dati siano sempre inviati simultaneamente, senza che un flusso in ritardo influenzi gli altri.

Il protocollo supporta inoltre, ovviamente, il controllo e recupero degli errori, un sistema di controllo della congestione più avanzato rispetto a TCP proprio di QUIC e la crittografia TLS (Transport Layer Security).

HTTP/3 più lento del predecessore: è mai possibile?

Uno studio approfondito presentato alla ACM Web Conference 2024, tuttavia, solleva importanti interrogativi sull’efficacia di HTTP/3 nelle reti ad alta velocità.

L’analisi, condotta su reti con una larghezza di banda di 1 Gbps e un solo dispositivo di relay tra client e server, ha messo in evidenza che, al contrario di quanto atteso, HTTP/2 offre prestazioni migliori rispetto a HTTP/3.

I ricercatori raccontano che, nel corso del loro esperimento, HTTP/2 ha registrato una velocità superiore indipendentemente dalla dimensione dei file, con un utilizzo di CPU significativamente inferiore. Fino a 600 Mbps non sono state osservate differenze significative tra HTTP/2 e HTTP/3, ma oltre questa soglia la velocità di comunicazione di QUIC (HTTP/3) ha iniziato a diminuire.

Test condotti con Chrome e altri browser hanno confermato che HTTP/2 mantiene performance ed efficienza migliori rispetto a HTTP/3 quando la larghezza di banda cresce. Anche durante la trasmissione di un video 4K su Ethernet, 5G e 4G, HTTP/2 ha mantenuto un bitrate superiore in condizioni di connessione stabili e veloci.

Le cause dei “rallentamenti” di HTTP/3

Con buona pace degli ingegneri Google che hanno introdotto QUIC e dell’IETF (Internet Engineering Task Force), organizzazione internazionale che sviluppa e promuove standard aperti per la rete Internet, che ha ratificato e standardizzato HTTP/3, secondo Xumiao Zhang e i suoi collaboratori non si tratta di una soluzione in grado di “battere” sempre HTTP/2.

La causa principale dei “rallentamenti” di HTTP/3 in contesti ad alta velocità è attribuita a un carico di elaborazione eccessivo lato ricevente, dovuto principalmente alla gestione dei pacchetti di dati e agli ACK (acknowledgments) del protocollo QUIC nello spazio utente. Questo overhead diventa evidente in tutte quelle situazioni in cui si trasmettono file di grandi dimensioni oppure quando la connessione è stabile e ad alta capacità.

Nonostante HTTP/3 offra notevoli vantaggi in termini di latenza ridotta e stabilità, la ricerca appena presentata mette in evidenza come appaia meno efficiente rispetto a HTTP/2, nelle reti ad alta velocità o su reti con pochi trasferimenti ma di grandi dimensioni.

La sfida per il futuro sarà dunque ottimizzare QUIC per migliorare le prestazioni anche in questi scenari, mantenendo il basso overhead computazionale e i vantaggi intrinseci della tecnologia.

Credit immagine in apertura: iStock.com – RobertAx

Ti consigliamo anche

Link copiato negli appunti