dongxie9448 2017-01-15 08:15
浏览 45

Google App Engine:一个后端服务/模块?

How does one have a simple backend module/service/backend (or whatever they decide to call it in the future since they seem to use all three interchangeably) on GAE? I need zero endpoints and no web server: I have an app that reads stuff from an endpoint and I want to store that in a database. This is not a cron job, imagine this as a while(1){do_stuff()}.

I am woefully confused at the GAE tutorials, which I've been reading for over three hours now. I'm just shocked at how bad the documentation is: there is a ton of information but not a single working example (e.g. the .yaml files of the config file document are incomplete and don't work out of the box).

  • 写回答

1条回答 默认 最新

  • douying2243 2017-01-15 10:05
    关注

    Have you considered using a module with manual scaling? You could map /_ah/start to a handler that does your loop. Unlike with automatic scaling your loop can continue for up to 24 hours.

    评论

报告相同问题?

悬赏问题

  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 个人网站被恶意大量访问,怎么办
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制