TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Announcing Soulmate, a Redis-backed service for fast autocompleting

97 pointsby ericwallerover 14 years ago

12 comments

timrover 14 years ago
Are you really using the technique described in the Redis auto-complete page? Doesn't that method take a lot more RAM than is necessary using a more specialized approach (i.e. a trie)?<p>Also, from what I can tell, every query is log(N) in the size of the completion set, instead of linear in the length of the query/suggestion (again, like a trie). Seems like this might have trouble scaling to large suggestion sets.
评论 #2220099 未加载
jedsmithover 14 years ago
As a UX note, I've always quietly loved autocompletes that aren't just a flat list of terms, but actually contain structured information organized in an intuitive fashion. The design of the suggestions on SeatGeek is fantastic.
评论 #2220136 未加载
ncavigover 14 years ago
Would be cool to have an example of this running on websockets and get rid of the request/response latency that most autocompletes have. Keep the socket open when the text field is focused and you should be able to cut down the response time even further without that overhead.
评论 #2223396 未加载
dmixover 14 years ago
The example autocomplete on Seatgeek.com is indeed impressively fast.<p>I might have to use this in my next service.
评论 #2219378 未加载
dhruvbirdover 14 years ago
How many phrases of length 30 could you handle with 1GB of RAM?<p>Or do you have numbers on the mean length of a phrase you handle currently, the number of such phrases and how much memory it takes?
kinover 14 years ago
Awesome work guys! I really hope this type of UI becomes more widespread. On a side note, I've always thought the guys over at www.glyde.com execute it quite well.
henrikliedover 14 years ago
Great stuff!<p>In curious: What do you think about exposing this service via WebSockets? Would that make it even faster?
sicularsover 14 years ago
Oh, oh yes. Thank you kindly. I was literally about to embark on this very feature. Let's take a closer look...
kingkilrover 14 years ago
The UI on seatgeek is almost identical to what rdio provides, I wonder if rdio is using it.
Detrusover 14 years ago
My first few searches took a while, then every search was pretty fast. Is it the load?
jarinover 14 years ago
How ironic, this is perfect for the dating site I'm working on :)
评论 #2219408 未加载
jbendotnetover 14 years ago
Nice work.