node.js - Web App technologies choice -
i writing user interface in ember.js , need in server-side decision concerning transfer technologi , server-side script.
app planned wrap calling of few server-side script adding database suggar handling users permissions , storing inputs-outputs.
users has logged-in proper work application.
i expecting high concurrency of working users , since can use more paralel threads on server not entirely sure if have go node.js+socket.io.
half of requests simple ask database requests , other half need little more computation time of server-side script (up 5s).
i use mongreldb database.
my biggest questions:
- is today technologicaly safe go pure websockets or better have gracefull degradation of socket.io?
- will node.js scale nicely on multi-core box or should use mongrel2 python backend?
- will python backend handle big concurency giving responses long?
- how handle logged-in users node.js+socket.io?
- better have graceful degradation - because websocket protocol still in changing rapidly.
- for scalling, i'm use redis pub/sub, can use cluster module multi-core.
- don't know.
- i'm share session connect socket.io redisstorage. can use redisstorage handle logged-in users.
Comments
Post a Comment