Fork me on GitHub
#off-topic
<
2020-10-13
>
Stefan11:10:18

Is there a tool out there that can do diffs and 3-way merges for version control that understands lisp? That would be very useful for git et al. I feel…

Stefan11:10:50

Yes that’s indeed the right direction. I’ll see if I can integrate it with git diff somehow (and if that’s fast enough)…

borkdude11:10:25

There was an attempt in #autochrome-github by Martin Klepsch to make this into a Github action, I think the project isn't active anymore

victorb13:10:04

not related to Clojure so hope I'm in the right place. Looking at deciding what HTTP server to use for bunch of static files of different sizes. Doing a small benchmark between caddy, nginx and apache as those are the ones I've used before. What other HTTP servers are people using for static file hosting?

vncz14:10:03

We’re on Caddy here and happy with it so far.

victorb14:10:41

Cheers, already got that one in my list, performance seems not-as-good as nginx, at a glance (with default + custom configs) but only for files greater than 100kb. Otherwise the config syntax is very nice so +1 with being happy with Caddy 🙂

victorb14:10:32

also docs around performance tuning for caddy is not as great as nginx, if you ignore the "vw golf caddy performance tuning" search hits

borkdude14:10:59

nginx is a safe bet I think

victorb14:10:47

yeah, for sure, it's what I've used most of the times before, both at scale and hobby usage. But looking to see if I'm missing some alternatives that could blow the "big 3" out of the water

victorb14:10:33

since babashka supports httpkit now, I could add that to my benchmark just for giggles

borkdude14:10:35

Might be a little bit slower since the ring handler is interpreted, but worth a try :)

borkdude14:10:12

You can tweak memory with bb -Xmx<something> if that's a concern on your server

🙏 3
dharrigan14:10:32

Some people use S3 for hosting and serving, would you consider that too? (not that I use S3)

victorb14:10:40

no, looking for self-hosted software. Mainly trying to keep the data to one location but I also don't want to have additional costs just because of "Premium Traffic(TM)" or whatever they call it, but thanks for the recommendation 🙂

dharrigan14:10:29

no problemo 🙂

dominicm14:10:46

What is your performance target?

victorb14:10:20

don't have any explicit targets, testing with 100 concurrent requests for a 3MB file, comparing the 95th percentile between the softwares

jumar16:10:09

It’s usually wise to employ CDN like CloudFront that can save you some costs and headache and provide better performance for your users - unless it’s something like intranet app

victorb16:10:46

@U06BE1L6T thanks for the recommendation! Still looking for software I can run myself, not cloud solutions 🙂 Trying to keep the data in one location (not spread out across edge nodes) and want to retain the privacy of my users, so no 3rd parties