我有一个现场设备,它继续使用套接字将数据发送到任何指定的端口。 我计划将GAE用于服务器端基础架构。
我读过GAE不支持套接字。 但我可以将设备配置为通过端口80发送数据。因此我们编写了一个genericservlet来在GAE上捕获这些数据。 但它没有从客户那里获得任何价值。
有什么建议可以解决这个问题?
I have a field device which keeps on sending data over to any designated port using sockets. I am planning to use GAE for server-side infrastructure.
I read GAE does not support sockets. But i can configure the device to send the data over port 80. so we wrote a genericservlet to capture this data on GAE. But it is not obtaining any values from the client.
any suggestions to fix this issue?
最满意答案
您只能使用GAE在整个请求的基础上进行处理。 您的请求被缓冲(最多10MB)然后传递给您的servlet完成。 如果您可以将设备配置为使用数据作为参数发送http请求,或者甚至批量处理这些请求,则可以使用GAE处理这些请求。 GAE仅将输入作为HTTP请求,XMPP和电子邮件处理。
You can only do processing on a whole of request basis using GAE. your request is buffered (up to a maximum of 10MB) then passed to your servlet complete. If you can configure your device to send http requests with the data as a parameter, or even to batch these then you can process these requests using GAE. GAE only process input as HTTP requests, XMPP, and email.
更多推荐
发布评论