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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Serverless Analytics Built from Scratch

114 点作者 keydunov超过 6 年前

15 条评论

lucb1e超过 6 年前
"serverless" is really the misnomer of the year.
评论 #18728428 未加载
评论 #18727551 未加载
评论 #18731945 未加载
评论 #18728326 未加载
评论 #18743054 未加载
gingerlime超过 6 年前
Interesting and nicely presented!<p>I built a prototype of something very similar, but using Google BigQuery to store and extract data[0] but never took it beyond the concept phase. I’m still using and actively maintain an open source lambda-based A&#x2F;B testing severless framework however with similar (but simpler) architecture[1]<p>[0] <a href="https:&#x2F;&#x2F;blog.gingerlime.com&#x2F;2016&#x2F;a-scalable-analytics-backend-with-google-bigquery-aws-lambda-and-kinesis&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.gingerlime.com&#x2F;2016&#x2F;a-scalable-analytics-backen...</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;Alephbet&#x2F;gimel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Alephbet&#x2F;gimel</a>
rmccue超过 6 年前
The blog post about it is probably a better link for HN: <a href="https:&#x2F;&#x2F;statsbot.co&#x2F;blog&#x2F;building-open-source-google-analytics-from-scratch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;statsbot.co&#x2F;blog&#x2F;building-open-source-google-analyti...</a>
soared超过 6 年前
I mean as a POC its not bad, but google analytics is not the same as analyzing server logs (contrary to what most people would suggest). Most of the value of ga comes from session and user level metrics, which are 1000x more difficult to implement than showing pageviews. Unless you are planning on building a device graph that rivals google, you can&#x27;t clone ga.
评论 #18727721 未加载
code4tee超过 6 年前
Build serverless app to track web stats. Get it featured on Hacker News and use the flood of traffic to demo what was done. Very meta. Nice job.
cheriot超过 6 年前
I&#x27;d be curious to see a cost estimate for some traffic level. I wonder if there&#x27;s a way to put the pixel in s3 and process the access logs more cheaply.
评论 #18726882 未加载
评论 #18726711 未加载
评论 #18727387 未加载
评论 #18726972 未加载
westoque超过 6 年前
We should really stop using the word &quot;serverless&quot;.<p>I would rather call them instead &quot;zero config servers&quot;.
jimmychangas超过 6 年前
I think you can use API Gateway as a proxy for Kinesis, removing the need for Lambda.
评论 #18727389 未加载
teej超过 6 年前
This sort of thing works until you have one person run a security scan on your site, corrupting your user agents and event types.
manigandham超过 6 年前
Side note: If you want to build your own mid-size event analytics data pipeline, then I recommend looking at snowplow: <a href="https:&#x2F;&#x2F;github.com&#x2F;snowplow&#x2F;snowplow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;snowplow&#x2F;snowplow</a>
jimktrains2超过 6 年前
Interesting. I once built a ga clone using appengine, cloud dataflow, and big query. I guess that would count as serverless? Benchmarked it against the official dumps to big quey too and it was pretty spot on for every metric we could lookup!
评论 #18726707 未加载
评论 #18726992 未加载
sbussard超过 6 年前
Endless loading... I think there&#x27;s a bug
tyingq超过 6 年前
Genuine question. What does this do that just inserting vanilla GA code in the page doesn&#x27;t? Trying to understand the &quot;why&quot;.
评论 #18727410 未加载
graphememes超过 6 年前
is PHP serverless :thinking:
InGodsName超过 6 年前
Please explain what is cube.js doing in this? I mean, what exactly cubejs does.
评论 #18728734 未加载