[HN Gopher] Curl 8 Is Faster
___________________________________________________________________
Curl 8 Is Faster
Author : Amorymeltzer
Score : 137 points
Date : 2023-04-28 11:31 UTC (11 hours ago)
(HTM) web link (daniel.haxx.se)
(TXT) w3m dump (daniel.haxx.se)
| mkl95 wrote:
| > Raw unencrypted HTTP/1
|
| Please don't do this! Other than that, the numbers look great.
| ilyt wrote:
| Yes, I'm sure our static public images transferred from static
| web server to caching proxy need that extra protection /s
| [deleted]
| geewee wrote:
| Ain't nothing wrong with a little unencrypted HTTP between
| friends. In your localhost.
| mkl95 wrote:
| I mean, as long as all of them are consenting adults...
| mariusor wrote:
| You mean for testing, or in general?
| mkl95 wrote:
| I would rather use the same protocol for testing that I use
| for higher environments, unless there is a strong reason not
| to. Same reason I wouldn't use SQlite locally and postgres in
| staging / prod.
| 64operator wrote:
| New curl won't even build on my machine, LOL.
| alberth wrote:
| It's interesting to compare the revenue model of Curl to SQLite.
|
| Both are permissively licensed.
|
| Both are embedded in billions of offerings.
|
| Both launched around the same time.
|
| SQLite has built a multi-million dollar annual business
| supporting it, while Curl I believe has not.
| mkl95 wrote:
| > SQLite has built a multi-million dollar annual business
| supporting it, while Curl I believe has not.
|
| Curl's founder works for a small American company called
| WolfSSL. AFAIK he works on Curl-related stuff full time.
| faitswulff wrote:
| A database is also an artifact that requires maintenance,
| unlike curl.
| TingPing wrote:
| HTTP regularly changes. 2 and 3 are very big enhancements
| for some use cases.
| ilyt wrote:
| Maybe read what SQLite is first
| codewiz wrote:
| That's true for many DBs, but how much maintenance did you
| have to perform on the dozens of SQLite databases living in
| your phone and your $HOME?
| faitswulff wrote:
| It may not be me, but _someone_ has to maintain those
| databases unless the software that uses it stops
| changing. Where curl has to maintain compatibility with
| every call to curl, I would wager that sqlite has to
| maintain compatibility with a larger surface area of
| APIs.
| wodenokoto wrote:
| Didn't Mozilla also used to fund him?
| jpmattia wrote:
| Anyone know if this fixes slow SFTP? ie
| https://daniel.haxx.se/blog/2014/05/14/why-sftp-is-still-slo...
| vhodges wrote:
| It also looks like the Ruby GEM has a resource leak with it :)
| (or it doesn't terminate the connection? The server is timing out
| saying the full body has not been read).
|
| Curl 8 got pulled into a base image update to Alpine Linux.
| gaffneyc wrote:
| Which gem? There are several that bind against libcurl.
| vhodges wrote:
| I'll have to check when I get into work.
| angilr wrote:
| I use Typhoeus which uses Ethon depends on ffi. Crash
| happens. Sorry English is not my mother language.
| vhodges wrote:
| It's curb that we're using.
| gaffneyc wrote:
| I didn't realize curb was still maintained. Would be
| helpful to report the issue here:
| https://github.com/taf2/curb/issues
| vhodges wrote:
| Yeah, I was/am planning to do that. But... the project
| giving us trouble is still on 0.9.11 and another project
| that is on latest doesn't seem to be having the same
| issue, so some more testing is needed. At the moment,
| we're going to rebuild using the older base image and
| then we'll upgrade the gem and test this sprint.
___________________________________________________________________
(page generated 2023-04-28 23:02 UTC)