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?

  1. better have graceful degradation - because websocket protocol still in changing rapidly.
  2. for scalling, i'm use redis pub/sub, can use cluster module multi-core.
  3. don't know.
  4. i'm share session connect socket.io redisstorage. can use redisstorage handle logged-in users.

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -