News for hackers. Stuff that matters.
Re:Show HN: SeekStorm – open-source sub-millisecond search i... by Leoko on Monday December 02, 2024 @09:16AM (#42296424)
Sub-millisecond latency sounds impressive, but isn't network latency going to overshadow these gains in most real-world scenarios?
Re:Show HN: SeekStorm – open-source sub-millisecond search i... by wolfgarbe on Monday December 02, 2024 @09:35AM (#42296607)
It depends on the application.

When using SeekStorm as a server, keeping the latency per query low increases the throughput and the number of parallel queries a server can handle on top of a given hardware. An efficient search server can reduce the required investments in server hardware.

In other cases, only the local search performance matters, e.g., for data mining or RAG.

Also, it's not only about averages but also about tail latencies. While network latencies dominate the average search time, that is not the case for tail latencies, which in turn heavily influence user satisfaction and revenue in online shopping.

Re:Show HN: SeekStorm – open-source sub-millisecond search i... by pornel on Monday December 02, 2024 @12:51PM (#42298520)
When search is cheap and quick, it's possible to improve search by postprocessing search results and running more queries when necessary.

I use Tantivy, and add refinements like: if the top result is objectively a low-quality one, it's usually a query with a typo finding a document with the same typo, so I run the query again with fuzzy spelling. If all the top results have the same tag (that isn't in the query), then I mix in results from another search with the most common tag excluded. If the query is a word that has multiple meanings, I can ensure that each meaning is represented in the top results.

Re:Show HN: SeekStorm – open-source sub-millisecond search i... by intelVISA on Monday December 02, 2024 @03:25PM (#42300045)
A typical server is serving more than one request at a time, hopefully.