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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Real-time event aggregation at scale using Postgres with Citus

106 点作者 samaysharma超过 8 年前

3 条评论

ahachete超过 8 年前
The whole idea about the post is quite interesting. Definitely shows the high performance capabilities of the system. I really appreciate the addition of the parallel insert via INSERT ... SELECT which is quite handy.<p>I have a question about the topic of the post. The method presented could also be simulated with a MATERIALIZED VIEW? Are they supported in Citus? In any case, the technique presented is pretty cool :)
评论 #13066562 未加载
评论 #13066005 未加载
georgewfraser超过 8 年前
Pre-aggregating data like this is a last resort in data warehousing. It&#x27;s fragile: in this example, it depends on your data coming in exactly-once, in-order. It&#x27;s also the opposite of future proof: soon, you will have a query that your pre-aggregation can&#x27;t support, and you&#x27;ll have to build more pre-aggregations.<p>Pre-aggregation is still a tool in the toolbox, but you should first consider switching to a purpose-built column-store like Redshift&#x2F;BigQuery&#x2F;Snowflake.
评论 #13069562 未加载
评论 #13067989 未加载
brightball超过 8 年前
... <i>tears of joy</i> ...