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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Thredis is Redis + SQL + Threads

94 点作者 janerik超过 12 年前

12 条评论

antirez超过 12 年前
Interesting! But not where the original Redis project is headed to (other than Cluster I do not want to add any major feature for a while), so it made a lot of sense to fork and hack on it as a separated project.
评论 #5110483 未加载
评论 #5110385 未加载
whatsthepoint超过 12 年前
I think this approach manages to combine all the disadvantages and almost none of the benefits of SQL and NoSQL (and threads?). It's cute but seriously, where would this ever be practical? Consider the alternatives:<p>If you need concurrent client transactions over sets wouldn't you be better off just using a SQL database?<p>If you need fast KV, why not just use NoSQL over SQL ala memcache or something newer like memcache/innodb[1] ?<p>If you want complex updates over redis why not just use redis 's Lua interface[2]?<p>I think sqlite4's approach[3] (SQL above NoSQL) makes a lot more sense than this since it will presumably let me write a SQL application and deploy it with any KV store.<p>1- <a href="https://blogs.oracle.com/MySQL/entry/nosql_to_mysql_with_memcached" rel="nofollow">https://blogs.oracle.com/MySQL/entry/nosql_to_mysql_with_mem...</a><p>2- <a href="http://oldblog.antirez.com/post/redis-and-scripting.html" rel="nofollow">http://oldblog.antirez.com/post/redis-and-scripting.html</a><p>3- <a href="http://www.sqlite.org/src4/doc/trunk/www/design.wiki" rel="nofollow">http://www.sqlite.org/src4/doc/trunk/www/design.wiki</a>
vessenes超过 12 年前
Oh wow, this is awesome. I wish to put the bitcoin block chain into thredis tonight.
yoda_sl超过 12 年前
Probably a good idea to have antirez feedback on it, and see if this is something that will make sense in Redis overall. I think the dump as a SQLite DB file is a great idea since it can be potentially used by some other system by simply copying it and have plain old SQL applied to it.
tmzt超过 12 年前
What are the threads used for? It's mentioned in the page but not explained. Looks awesome.
评论 #5110547 未加载
chromaticorb超过 12 年前
It's duct-taped together but cute as all hell, like a lil' Frankenstein's Monster
kiennt超过 12 年前
Redis used event loop model to handle requests. So basically, at any time, there is only 1 thread change data. This model make redis fast and still guarantee data is atomic. I wonder if thredis use thread how thredis solve that issue?
评论 #5111467 未加载
评论 #5110623 未加载
untothebreach超过 12 年前
I like it. I don't know that I would ever use it, but I like it.
aidos超过 12 年前
Really cool little project. Kudos.<p>Someone posted about one of their projects here the other day, Akiban [0]. While not exactly the same it was also bridging the SQL/NoSQL worlds. Not 100% sure on how it works but it has table-groups to let you pre join collections together (I think).<p>[0] <a href="http://www.akiban.com/" rel="nofollow">http://www.akiban.com/</a>
评论 #5111883 未加载
barber5超过 12 年前
I don't know if I need this, but bravo for being crazy
caiusdurling超过 12 年前
That's insane. In an awesomely insane kinda way.
sleek超过 12 年前
<a href="http://www.quickmeme.com/meme/3spmcc/" rel="nofollow">http://www.quickmeme.com/meme/3spmcc/</a>