Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

云函数收费过高 #48

Open
1n7erface opened this issue Jun 28, 2023 · 6 comments
Open

云函数收费过高 #48

1n7erface opened this issue Jun 28, 2023 · 6 comments

Comments

@1n7erface
Copy link

能否出一个腾讯云函数的配置教程,创建出云函数后怎么配置可以降低费用成本。目前默认创建的配置收费都觉得太贵了。

@shimmeris
Copy link
Owner

腾讯云函数的定价为 price = f(调用次数,一次调用时长,部署函数内存,出网流量)

在 HTTP 代理中中只有部署函数内存是可控的,目前统一设置的 128MB,最小可设置为 64MB,后续会再测试一下尽量小的设置内存。

在 SOCKS 代理中调用次数通常为 1,除内存外可控的变量是时长,因为 SOCKS 代理的特殊性不希望它中途断开,所以设置的为最大值 900s,后续也会添加参数供自行选择。

P.S 如果觉得腾讯收费贵,可以选择 AWS

@1n7erface
Copy link
Author

你好,那反向代理是否有可控选择的参数?

@shimmeris
Copy link
Owner

反向代理没用上云函数,没有可配置的

@Nuoyancv
Copy link

Nuoyancv commented Jul 8, 2023

我一天花费了750

@1n7erface
Copy link
Author

一天七百多就别用了吧,用几天房子都要给腾讯。

@shimmeris
Copy link
Owner

有可能触发到递归调用了,目前使用的代理库存在这个漏洞。我有做修复,不过还没发布 release( issue #44 )

Repository owner deleted a comment from devsquadcore Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@shimmeris @1n7erface @Nuoyancv and others