A Quest to Find the Fastest Search Stack
dev.to·16h·
Discuss: DEV
🗄️Database Internals
Preview
Report Post

Recently I was tasked with implementing search in a large eCommerce application. While researching hosted search applications, Algolia’s InstantSearch mesmerized me with its speed - consistently delivering results in under 50ms globally. Essentially showing me results as I type!

Hosted search applications like Algolia specialize in providing a great search experience for users of applications, e-commerce or knowledge websites.

Inspired by Algolia, I challenged myself to see if I could replicate this kind of performance using familiar technologies. This turned out to be harder than expected. I went through four different architectures before finding something that worked well. Here’s what I learned along the way.

My requirements:

Sub-50ms responses

Possibility to scale f…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help