Support for C/C++/Java daemon processes in backend

Status
Not open for further replies.

reeteshr

New Member
Messages
1
Reaction score
0
Points
0
I wanted to have a flash game UI with all heavy duty A.I. processing happening in the web backend in a dedicated daemon process (C/C++/Java) that is always running and looking for messages on sockets. The UI would send simple messages to the daemon process (C/C++/Java) through PHP/JSP servlets. The servlet would talk to the daemon process using sockets, receive a response and return data that the flash UI could use to update itself.

It has to be a process that is always running because it would carry A.I. state (move search tree etc.) for the game running in the browser.

Question: is this supported?
 

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
Question: is this supported?
The simple answer: not on free hosting

The free hosting servers are designed for hosting webpages and nothing more, so trying to do this would not only slow the server right down for everyone else but would also get you suspended under the script clause of the ToS.
Judging from your explanation, the minimum you are going to require is a VPS server, as these are the lowest priced servers available that will allow you to run your own processes and maintain a daemon in the background.
 
Last edited:
Status
Not open for further replies.
Top