简体   繁体   English

树莓派集群上的 Node.js

[英]Node.js on raspberry-pi cluster

I built a cluster of 4 nodes with Raspberry following this tutorial: http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton.htm我按照本教程使用 Raspberry 构建了 4 个节点的集群: http : //www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton.htm

Now I want to run a Node.js (webserver) application using this cluster with MPI or otherwise现在我想使用这个集群和 MPI 或其他方式运行 Node.js(网络服务器)应用程序

How is the best way to do this?最好的方法是如何做到这一点? More transparently?更透明?

I've used another computer as a load balancer, directing the request to each node, but it did not seem the right way to use a custer, as a single machine.我已经使用另一台计算机作为负载平衡器,将请求定向到每个节点,但似乎不是将 custer 用作单个机器的正确方法。

I was watching the PM2, which has self scale, but I believe it only works for single machine.我在看PM2,它有自秤,但我相信它只适用于单机。

在 MPI 中运行 node.js 毫无意义,因为 node.js 不使用 MPI api。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM