stuff
This commit is contained in:
20
posts/http2-and-perl.html
Normal file
20
posts/http2-and-perl.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>2024</title>
|
||||
<meta name="description" content="Plans for 2024" />
|
||||
<link rel="stylesheet" href="/index.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a href="/"><< back</a>
|
||||
<h1>Perl and HTTP/2</h1>
|
||||
<p>
|
||||
Perl is a great language for building applications that interface over HTTP. It has some of the best tooling for
|
||||
database access, sending/receiving HTTP requests:
|
||||
<a href="https://metacpan.org/pod/LWP">LWP</a>, <a href="https://metacpan.org/pod/Plack">Plack</a> and <a href="https://metacpan.org/pod/Mojolicious">Mojolicious</a>.
|
||||
The only glaring weakness to a Perl application as it stands, is typically, Perl servers only support HTTP/1.1. 1.1 is a "fine"
|
||||
protocol, especially for its time. However, in 2026, it's starting to show it's age. HTTP/2 isn't just "faster", it's much more efficient with your server's resources.
|
||||
It uses a single TCP socket also called a "stream" for client's to use, instead of opening multiple sockets per page load.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user