简体   繁体   English

Billing for Channel API是如何完成的?

[英]how is Billing for Channel API done?

I've chosen google-app-engine because of its scalability, and now I try to understand how much I will have to pay once I release the product. 我之所以选择google-app-engine是因为它具有可扩展性,现在我试着了解一下我发布产品后需要付多少钱。

I've looked back and forth in the google app engine documentation to find an answer for question and couldn't find. 我在谷歌应用程序引擎文档中来回查找问题的答案,找不到。 I found few details in the "Quotas" page, I found how much I can get for free and how much is the Billing Default Quota. 我在“配额”页面中找到了一些细节,我发现我可以免费获得多少,以及账单默认配额多少。

In Billing Page there are number for CPU, etc with Resource and Unit and how much it cost. 计费页面中,有资源和单位的CPU等数量以及它的成本。 But no where could I find how much will it cost me per channel calls/created, etc. 但是我无论在哪里都能找到每通道呼叫/创建的费用等等。

I can't even try to make calculations with what's in the Admin console, because the current numbers there now are 0 (since there are 2 users which are the programmers). 我甚至无法尝试使用管理控制台中的内容进行计算,因为当前的数字现在为0(因为有2个用户是程序员)。

How can I be ready for the releasing of the product that (hopefully) will have a huge number of channels created daily? 我怎样才能发布产品(希望)每天都会创建大量的频道?

Is there a page I missed, or is there a tool for calculating? 有错过的页面,还是有计算工具?

Thanks! 谢谢!

EDIT: Moishe, thanks for the quick and readable answer. 编辑:Moishe,感谢快速和可读的答案。 So here are some more questions: 1. Do you think - if needed - that I will be able to get even more quota for the number of channels? 所以这里还有一些问题:1。你认为 - 如果需要的话 - 我将能够获得更多的频道配额吗? I saw there's a special form to ask for more quotas, but I'm not sure that includes the Channel-API feature... 2. Are there any posts you've made for "how to use channel-API efficiently"? 我看到有一个特殊的表格要求更多配额,但我不确定它是否包含Channel-API功能...... 2.您是否有任何关于“如何有效使用channel-API”的帖子? I saw some stuff about reusing the tokens per user. 我看到了一些关于每个用户重用令牌的东西。 Is there more? 还有更多吗?

Thanks again. 再次感谢。

Creating a channel costs about 2.7 CPU-seconds. 创建通道的成本约为2.7 CPU秒。 A CPU-hour costs $0.10. CPU小时费用为0.10美元。 So, each channel created costs 因此,每个渠道都会产生成本

(2.7 / 3 600) * $0.10 = $7.5 × 10^-5

So creating 1000 channels will cost $0.075, or 7.5 cents. 因此,创建1000个频道将花费0.075美元,即7.5美分。

You'll also get charged the normal outgoing bandwidth costs for any data sent over a channel. 您还需要为通过通道发送的任何数据收取正常的传出带宽费用。

The CPU cost probably isn't the biggest concern; CPU成本可能不是最大的问题; you're more likely to run into quota caps then running out of money. 你更有可能遇到配额上限,然后没钱了。 Paid apps are limited to 86400 channel creations/day (1/second). 付费应用仅限86400个频道创建/天(1 /秒)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM