有哪些实用选项可用于扩展 Windows 可执行文件
需要有关如何在桌面 Windows 上扩展 CPU 密集型任务的建议。系统不会运行任何Web服务器,它将运行多个且数量不断增加的可执行文件 将数据写入数据库(每个数据库都有自己的数据库,但同一数据库服务器)。 我正在考虑设置基于刀片服务器的集群或网格之类的东西,所以我只需插入一个新的刀片服务器,系统就会利用新服务器的CPU自动扩展。内存和磁盘,但这似乎超出了我的范围,因为我的技能水平仅限于设置常规的 Linux/Windows 网络和 Windows/Web 编程。我正在使用 sql server,但可以移动到在 Windows 上运行的任何其他数据库。
我实际上开始编码,可以说主进程将不断检查系统何时需要扩展,方法是检查每个刀片上运行的进程数量,并使用 power shell 在资源可用的刀片上远程启动新进程。 看起来是最糟糕的选择,但我必须以某种方式让它发挥作用。
考虑到我的运行时环境只能是桌面窗口,我还能如何做到这一点。 (现在是 xp,以后是 7)?
谢谢您,任何线索将不胜感激。
need advice about how to scale a cpu intensive tasks on desktop Windows. The system will not run any web server, it will run multiple and growing number of executable
writing data to database(each to its own database but the same db server).
I was thinking of setting something like a cluster or grid based on blade servers, so I would just plugin a new blade and system would automatically expand utilizing new server's cpu . memory and disk but that seems to be out of my league as my skill level ends at setting up regular Linux/Windows networks and windows/web programming. I am using sql server but can move to any other db that runs on windows.
I actually started coding so to speak master process which will continuously check when system needs to be expand by checking how many processes are running on each blade and remotely starting new process on a blade where resources are available using power shell.
Looks like the worst option but I have to make it work one way or another.
How else I can do this considering the fact that my runtime environment can be only desktop windows. (xp now and 7 later)?
Thank you, any clues will be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您制作的应用程序是 CPU 密集型的,那么我强烈建议您使用使用静态编译器而不是 JiT 编译器的语言。该图表位于此处:
http:// www.raulvm.com/information-systems.php/2010/12/09/interpreted-vs-compiled-languages
这应该能够帮助您做出更明智的决定。
If your making an application that's CPU intensive then I highly recommend using a language that utilizes a static compiler instead of a JiT compiler. The chart located here:
http://www.raulvm.com/information-systems.php/2010/12/09/interpreted-vs-compiled-languages
Which should be able to help you make a more informed decision.