How can I rent and use my own servers for cloud functions? [closed]

落爺英雄遲暮 提交于 2020-12-27 00:34:28

问题


I want to use my own servers for cloud functions instead of relying on Google's to eliminate the cold start of functions, how can I do this?


回答1:


firebaser here

There is currently no native way to run your Cloud Functions on your own server. You can run the Firebase emulator suite to emulate functions, but those are not ready for production use.

The more common approach is to set up your own server, using something like Express. But you won't get the other trigger types that Cloud Functions offers, as those are only available within Google's infrastructure at the moment and you'll have to take care of scaling with the load yourself too.



来源:https://stackoverflow.com/questions/63230731/how-can-i-rent-and-use-my-own-servers-for-cloud-functions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!