开发者

What about using a microkernel for Node.js + NginX?

开发者 https://www.devze.com 2023-01-06 03:00 出处:网络
Not even sure if it would easily work but for an upcoming project I may need to set up a web sockets only server, it would not have a database, memcache or even serve static 开发者_如何转开发files, al

Not even sure if it would easily work but for an upcoming project I may need to set up a web sockets only server, it would not have a database, memcache or even serve static 开发者_如何转开发files, all it would need to do is work some logic and update other clients.

The server may need to support 1~300000 clients simultaneously so Node.js+NginX makes sense, but maybe not all the other features of a traditional web server (apache for example) are necessary...

Something like Minix sounds like it would work...


This may be exactly what you're looking for:

https://github.com/tmpvar/cluster-socket.io

It allows you to handle large amounts of requests across multiple node processes.

Remember you can always stop into #node.js and ask questions! Make sure to report back with your findings.

0

精彩评论

暂无评论...
验证码 换一张
取 消