5 ms·
Curl 8 Is Faster
- vhodges 4y agoIt 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 4y agoWhich gem? There are several that bind against libcurl.
- vhodges 4y agoI'll have to check when I get into work.
- angilr 4y agoI use Typhoeus which uses Ethon depends on ffi. Crash happens. Sorry English is not my mother language.
- vhodges 4y agoIt's curb that we're using.
- gaffneyc 4y agoI didn't realize curb was still maintained. Would be helpful to report the issue here: https://github.com/taf2/curb/issues https://github.com/taf2/curb/issues
- vhodges 4y agoYeah, 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.
- vhodges 4y agoUpdate: Latest gem still has the elevated error rates from the service we're connecting to but NOT the resource leak.
- alberth 4y agoIt'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 4y ago> 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 4y agoA database is also an artifact that requires maintenance, unlike curl.
- codewiz 4y agoThat'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 4y agoIt 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.
- ilyt 4y agoMaybe read what SQLite is first
- TingPing 4y agoHTTP regularly changes. 2 and 3 are very big enhancements for some use cases.
- mkl95 4y ago> Raw unencrypted HTTP/1 Please don't do this! Other than that, the numbers look great.
- geewee 4y agoAin't nothing wrong with a little unencrypted HTTP between friends. In your localhost.
- mkl95 4y agoI mean, as long as all of them are consenting adults...
- mariusor 4y agoYou mean for testing, or in general?
- mkl95 4y agoI 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.
- mariusor 4y agoDaniel has no "prod" or "testing" environments. Not every dogma needs to be applied for everything, everywhere.
- deleted 3y ago[deleted]
- ilyt 4y agoYes, I'm sure our static public images transferred from static web server to caching proxy need that extra protection /s
- jpmattia 4y agoAnyone know if this fixes slow SFTP? ie https://daniel.haxx.se/blog/2014/05/14/why-sftp-is-still-slow-in-curl/ https://daniel.haxx.se/blog/2014/05/14/why-sftp-is-still-slo...
- 64operator 4y ago[flagged]