I'm new to Heroku, and I was thinking about building a java RESTful web service that spins up TCP/UDP servers/clients to handle streams of data based on the RESTful calls. Aka, the RESTful calls are the triggers of TCP/UDP server creation for streaming data. Is that possible?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Heroku can only handle traffic over HTTP. I'm not completely clear on your use case, but if you want the servers that you spin up to handle incoming UDP traffic then you won't be able to do it on Heroku.