Lurker News

Comments (717) 202 threads

Show all comments

Showing thread 8 of 202

slim2 replies#
This is a search engine indexing the internet on a mariadb database hosted on consumer hardware maintained by a single person as a hobby and it does not suffer from HN hug of death
swyx2 replies#
how on earth do you index so much on consumer hardware? my frontend developer mind is blown.
foxfluff1 reply#
Wait till you learn that modern CPUs run billions of cycles per second. With multiple cores in parallel! And they can reach transfer rates of tens of gigabytes per second to RAM, or around a terabyte per second into L3.
ThalesX2 replies#
And then you add a single HTTP request and everything tones down to the speed of the web. Or I/O. Or DB call.

Continue this thread — 2 replies

paxys#
Consumer hardware today is simply what was cutting-edge and crazy expensive 5 years ago.
marginalia_nu1 reply#
Huh.

I've gone through the logs, and at most I got about 2 search queries per second as a sustained load over several hours. It's calmed down to about 0.5-1 QPS now.
This is ignoring other page loads. Not bad, if I do say so myself.

slim1 reply#
It's a statement to how much other websites are bad
marginalia_nu#
Do I wonder how much cookies play into it.

Sure I have small page loads and reasonably optimized code, but I also don't use any cookies. I'd imagine having to keep track of upwards of a million session objects would be a struggle for almost any web server.