database - Best way to let a remote bot (agent) and a web panel communicate (PHP) -


im in process of writing web panel manage game servers on local , remote servers. remote servers have simple php bot on them carries out instructions given web panel.

my question is, best way (taking consideration performance , reponsiveness) instructions web panel agents?

eg: sockets extension? memory table in database called queue agent periodicly queries?

please discuss options, if may not seem better alternatives :3

use memcached , giant array! :)

edit

both sides of equation can access remote memcached server same way. treating big array stack of instructions. console can add new ones, , bot can read, remove one, , perform it.

the cons. silly idea. oh, , easy royally screw if aren't careful.

the pros. super easy. , prolly fast.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -