Non-http TCP connection on Cloudfoundry

后端 未结 2 463
温柔的废话
温柔的废话 2021-01-14 11:27

I\'m a nooby mobile developer trying to take advantage of cloudfoundry\'s service to run my server to handle some chats and character movements. I\'m using Noobhub to achiev

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-14 11:50

    "Cloud Foundry uses an L7 router (ngnix) between clients and apps. The router needs to parse HTTP before it can route requests to apps. This approach does not work for non-HTTP protocols like WebSockets. Folks running node.js are going to run into this issue but there are no easy fixes in the current architecture of Cloud Foundry." - http://www.subbu.org/blog/2012/03/my-gripes-with-cloud-foundry

    I decided to go with pubnub for all my messaging needs.

提交回复
热议问题