如何实现 AWS SimpleDb 的点击计数?
我在 AWS SimpleDB 中有数据,我想知道它有多受欢迎。客户端可以是网站或移动设备。我想要一些方法来了解它的受欢迎程度。 100% 的准确度并不是特别重要,所以这里那里丢一些东西是可以接受的。
我怎样才能实现这个?
(我想我也许可以用 Google Analytics 做点什么,但我对此了解不够。)
I have data in AWS SimpleDB and I want to know how popular it is. The client can be a website or a mobile device. I'd like some means of seeing just how popular it is. 100% accuracy is not especially important, so dropping a few here and there is acceptable.
How can I implement this?
(I was thinking that I might be able to do something with Google Analytics, but I don't know enough about this.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否查看过您的 AWS 账户的使用情况报告?它有一些非常好的、粗略的数据。我不认为它会给您带来真正的点击计数器,但会告诉您各种操作每小时/每天消耗了多少字节。
我使用 GAE 来处理一些中间件,所以如果我需要一个点击计数器,那就可以使用它。不知道大家有没有用过类似的型号。当然,您也可以将命中计数器写入数据库本身,但这效率相当低。
Have you looked at your AWS account's Usage Reports? It has some pretty good, rough data. I don't think it will yield you a true hit counter but will tell you how many bytes various operations are consuming down to the hour/day.
I use GAE for some middleware stuff so if I needed a hit counter, that's where it would go. Don't know if you use a similar model. You could also of course write a hit counter into the database itself but that would be pretty inefficient.