node.js - building socket.io based server structure -


i'm trying make server side structure new project

project web application should pretty fast

i think using sockets faster http requests , don't want decrease user experience lots of page reloads. i'm planning use socket.io want write core of application in php

so came idea use nodejs server , use php-fpm nodejs use php need suggestion bad idea ? if yes why ? , if not how can achieve using php-fpm nodejs ?

and if have better idea build kind of structure or other suggestions please tell me

i'm planing use latest software in components including php 5.4+ , maybe 5.5 released stable until finish project

thanks

i've started using ratchet php websockets server, , it's pretty good, easy code for; , wouldn't have overhead of nodejs <--> php-fpm

don't know how scale large numbers of users though.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -