TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Announcing Soulmate, a Redis-backed service for fast autocompleting

97 点作者 ericwaller超过 14 年前

12 条评论

timr超过 14 年前
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 未加载
jedsmith超过 14 年前
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 未加载
ncavig超过 14 年前
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 未加载
dmix超过 14 年前
The example autocomplete on Seatgeek.com is indeed impressively fast.<p>I might have to use this in my next service.
评论 #2219378 未加载
dhruvbird超过 14 年前
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?
kin超过 14 年前
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.
henriklied超过 14 年前
Great stuff!<p>In curious: What do you think about exposing this service via WebSockets? Would that make it even faster?
siculars超过 14 年前
Oh, oh yes. Thank you kindly. I was literally about to embark on this very feature. Let's take a closer look...
kingkilr超过 14 年前
The UI on seatgeek is almost identical to what rdio provides, I wonder if rdio is using it.
Detrus超过 14 年前
My first few searches took a while, then every search was pretty fast. Is it the load?
jarin超过 14 年前
How ironic, this is perfect for the dating site I'm working on :)
评论 #2219408 未加载
jbendotnet超过 14 年前
Nice work.