在哪里可以在 Google Cloud Platform 上运行连续作业?

虚无0

我的工作涉及持续监听一个或多个 websocket/mqtt 提要并将这些数据转发到事件队列。这项工作是用 javascript 编写的,并且会 24/7 连续循环运行。

最明显的解决方案是在带有 Compute Engine 的 VM 上运行此作业,但我想知道是否有更优雅的解决方案。例如,Azure 拥有非常适合此类任务的 WebJobs。如果出现错误,它甚至会重新启动脚本。

GCP 上是否有其他组件可以以“托管”方式运行此作业?

菲利普·施

Google Cloud 目前没有类似于 Azure WebJobs 的产品。Google Cloud App Engine 的标准环境和灵活环境目前都不支持 websocket。为了使用 websockets,您可以使用Compute EngineKubernetes Engine

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类常见问题

Google Cloud Platform:如何重命名Google Cloud Platform项目?

来自分类Dev

我在哪里可以查看跟踪器在Google Analytics(分析)上发送的数据?

来自分类Dev

Google Cloud Platform kubernetes GuestBook示例未运行

来自分类Dev

Google Cloud Messaging VS Google Cloud Platform

来自分类Dev

如何在Google Cloud Platform上安装Godaddy SSL证书

来自分类Dev

是否可以更改Google Cloud Platform项目的区域?

来自分类Dev

可以更改Google Cloud Platform项目ID吗?

来自分类Dev

Google Cloud Platform和Google Cloud Firestore之间的区别?

来自分类Dev

更改Google Cloud Platform上的GPU配额

来自分类Dev

更改Google Cloud Platform上的GPU配额

来自分类Dev

Google Cloud Platform无法完成作业-权限错误?

来自分类Dev

google_osconfig在Google Cloud Platform上的VM的CPU使用率稳步上升

来自分类Dev

Google Cloud Platform修复SSH

来自分类Dev

在哪里可以找到Google Cloud Functions中活动并发调用的数量

来自分类Dev

在哪里可以找到Google Play的viewpagerindicator?

来自分类Dev

Google Cloud Messaging VS Google Cloud Platform

来自分类Dev

在Google Cloud Platform上创建自动磁盘快照(备份)保留

来自分类Dev

Google Cloud ML控制台用户界面在哪里?

来自分类Dev

是否可以将“ Google Cloud Endpoints”用于未托管在“ Google Platform”上的后端API?

来自分类Dev

我的Google Cloud Storage存储桶中的文件在哪里?

来自分类Dev

我在哪里可以在按钮上包含Google Analytics(分析)事件跟踪代码?

来自分类Dev

限制 Google Cloud Platform Compute 上的实例大小

来自分类Dev

在 Google Cloud Platform 上创建实例时无法运行启动脚本

来自分类Dev

如何在 Google Cloud Platform 上安装 Tink 加密库?

来自分类Dev

Google Cloud Platform 上的 Docker 映像运行错误

来自分类Dev

在哪里可以找到旧版 google-cloud-python 的文档?

来自分类Dev

如何在 Google Cloud Platform 上的 App Engine 中更改 php 版本(运行时)?

来自分类Dev

如何在 Google Cloud Platform 上安装 Wordpress 4.9

来自分类Dev

尝试在 Google Cloud Platform 实例上运行 VMWare Workstation?

Related 相关文章

  1. 1

    Google Cloud Platform:如何重命名Google Cloud Platform项目?

  2. 2

    我在哪里可以查看跟踪器在Google Analytics(分析)上发送的数据?

  3. 3

    Google Cloud Platform kubernetes GuestBook示例未运行

  4. 4

    Google Cloud Messaging VS Google Cloud Platform

  5. 5

    如何在Google Cloud Platform上安装Godaddy SSL证书

  6. 6

    是否可以更改Google Cloud Platform项目的区域?

  7. 7

    可以更改Google Cloud Platform项目ID吗?

  8. 8

    Google Cloud Platform和Google Cloud Firestore之间的区别?

  9. 9

    更改Google Cloud Platform上的GPU配额

  10. 10

    更改Google Cloud Platform上的GPU配额

  11. 11

    Google Cloud Platform无法完成作业-权限错误?

  12. 12

    google_osconfig在Google Cloud Platform上的VM的CPU使用率稳步上升

  13. 13

    Google Cloud Platform修复SSH

  14. 14

    在哪里可以找到Google Cloud Functions中活动并发调用的数量

  15. 15

    在哪里可以找到Google Play的viewpagerindicator?

  16. 16

    Google Cloud Messaging VS Google Cloud Platform

  17. 17

    在Google Cloud Platform上创建自动磁盘快照(备份)保留

  18. 18

    Google Cloud ML控制台用户界面在哪里?

  19. 19

    是否可以将“ Google Cloud Endpoints”用于未托管在“ Google Platform”上的后端API?

  20. 20

    我的Google Cloud Storage存储桶中的文件在哪里?

  21. 21

    我在哪里可以在按钮上包含Google Analytics(分析)事件跟踪代码?

  22. 22

    限制 Google Cloud Platform Compute 上的实例大小

  23. 23

    在 Google Cloud Platform 上创建实例时无法运行启动脚本

  24. 24

    如何在 Google Cloud Platform 上安装 Tink 加密库?

  25. 25

    Google Cloud Platform 上的 Docker 映像运行错误

  26. 26

    在哪里可以找到旧版 google-cloud-python 的文档?

  27. 27

    如何在 Google Cloud Platform 上的 App Engine 中更改 php 版本(运行时)?

  28. 28

    如何在 Google Cloud Platform 上安装 Wordpress 4.9

  29. 29

    尝试在 Google Cloud Platform 实例上运行 VMWare Workstation?

热门标签

归档