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.

Redis in my Postgres

98 pointsby jordeover 12 years ago

6 comments

CoffeeDregsover 12 years ago
Holy awesome! I really like postgres and, with FDW, a question comes to mind.<p>Can I basically put up a PG instance and have that manage/proxy to all of my backend stores? It would be nice to be able to just use my one DB library to query Riak, Redis and Postgresql [my usual datastore stack]. I didn't see anything in here about doing CUD operations on the FDW stores, but the benefit of having a single consistent interface for READs might be large enough to adopt this.
phpnodeover 12 years ago
very cool, anyone using these foreign data wrappers in production? along with the json support this is the kind of thing that will push me over the edge and make me switch from mysql to postgres. It looks like the answer to the nosql vs sql debate might be "both, togther".
评论 #4670995 未加载
JonnieCacheover 12 years ago
At this rate postgres will be making the tea by the end of next week.
评论 #4671621 未加载
评论 #4672104 未加载
spullaraover 12 years ago
The FDW wrapper that they have is really not worthy of Redis. It only supports K/V and none of the structured types. Might as well be talking to memcached. The README is useful in this case:<p><a href="https://github.com/dpage/redis_fdw/blob/master/README" rel="nofollow">https://github.com/dpage/redis_fdw/blob/master/README</a>
rabidsnailover 12 years ago
You can even write your own foreign data wrappers in python: <a href="http://multicorn.org/implementing-an-fdw/#id3" rel="nofollow">http://multicorn.org/implementing-an-fdw/#id3</a> Their "Hello, world" example is less than 15 lines of code.
Detrusover 12 years ago
Is the performance on these queries good?
评论 #4671438 未加载
评论 #4672157 未加载
评论 #4671813 未加载