4 ms·
> The blog is just hugo Yeah the static stuff being fast is less surprising - it was mainly the search results page that astounded me. > via served via spark[
by lucideer 3y ago
> The blog is just hugo
Yeah the static stuff being fast is less surprising - it was mainly the search results page that astounded me.
> via served via spark[2]
Had not heard of this Spark (only the other Apache one). Will definitely take a look.
> Although the search engine is a bit on the slow side since it's routed through cloudflare and I think I'm relatively far away from the closest datacenter so it adds like 100ms to the load times.
I've hit the CF loading screen which introduces a big delay, but when I don't see that the loading is really instantaneous.
- marginalia_nu 3y agoI think overall the system is just really well optimized. It needs to be given I'm working with finite hardware.
- lucideer 3y agoIt's incredibly impressive. Well done.
- playingalong 3y agoWatch out for Spark. If not dead, it went into some kind of hiatus. Little activity recently.
- marginalia_nu 3y agoDunno what I'd want to change though. If worse comes to worst, I'll fork it and keep the dependencies up to date.
- lucideer 3y agoFor anything handling user input I'd be concerned about maintenance status for fixes. Even beyond the codebase itself, even just maintaining an up to date pom.xml can be important - seems theirs was last updated in July of last year. Very brief manual browse of it shows potential exposure to things like https://nvd.nist.gov/vuln/detail/CVE-2022-25647 https://nvd.nist.gov/vuln/detail/CVE-2022-25647 - not sure if that's reachable in the codebase but there could be others.
- brabel 3y agoYes, and it was not that well designed to be honest... the successor is quite a lot nicer and it's called Javalin[1]. Same philosophy but just got things right where Spark, being the "first" (in the Java world, using the design inherited by Sinatra[2]) had a few design issues. [1] https://javalin.io/ https://javalin.io/ [2] https://sinatrarb.com/ https://sinatrarb.com/
- aragilar 3y agoThat seems to be the status of the whole hadoop ecosystem unfortunately (we're switching away from it at work).
- playingalong 3y agoDoes the library have anything to do with Hadoop? Are we talking of the same Spark?
- aragilar 3y agohttps://en.wikipedia.org/wiki/Apache_Spark https://en.wikipedia.org/wiki/Apache_Spark right? My understanding was it was built on Hadoop (https://en.wikipedia.org/wiki/Apache_Hadoop https://en.wikipedia.org/wiki/Apache_Hadoop) infrastructure.
- playingalong 3y agoThen it's something else.