Silverlight,集群计算 [英] Silverlight, Cluster Computing

查看:70
本文介绍了Silverlight,集群计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的学校计算机部门希望使用beowulf将一组4台计算机集群在一起.

然后,我们要创建一个简单的堡垒防御游戏,该游戏可以在浏览器中运行,也可以在计算机本身之外运行(最好不使用浏览器).

但是,这是棘手的地方.我们希望能够使游戏在所有4台计算机上运行,​​并且每个人都可以同时保卫堡垒"一起玩游戏.

由于可用性,我们决定选择Silverlight.我们都了解VB的基础知识,并正在计划通过Silverlight进行编写.我们之所以选择Silverlight而不是Flash,是因为我们属于MSDNAA,并且可以免费使用Silverlight,并且我们希望在本学期中探索一些新程序.

基本上,在深入进行该项目的计划之前,我们想知道是否有可能在一个小型集群(4个)上运行游戏,并允许所有4个人同时玩游戏.

游戏不会以任何方式进行.一个简单的指向并用鼠标射击.没有聊天系统音频或书面文字.一个简单的游戏关卡系统,在每个关卡之间,都可以花费金钱/信用(从杀死东西中获得)来升级武器防御系统并进行维修.

My schools computer department wants to have a set of 4 computers clustered together using beowulf.

We then want to create a simple fortress defense game that can be run either in a browser or off the computer itself(preferably not using a browser).

However, here is where it gets tricky. We want to be able to have the game running on all 4 computers and everyone be playing together "defending the fortress" at the same time.

We decided to go with Silverlight simply because of availability. We all know the basics of VB and were planning on writing in that through Silverlight. We picked Silverlight over Flash because we belong to MSDNAA and have access to Silverlight for free and we wanted to explore some new programs this semester.

Basically before we get to far into the planning of this project we want to know if it is possible to run a game over a small cluster(of 4) and allow all 4 people to play together in the game at the same time.

The game isn''t going to be advanced by any means. A simple point and shoot with the mouse. No chat system audio or written. A simple level system in the game and in between each level being able to spend money/credits(that you get from killing things) to upgrade weapons defense systems and repair.

推荐答案

应该是可能的,尤其是当您使用将Silverlight页面用作中介的服务器时.请查看此页面以获取良好的起点.

据我了解,您无法访问外部域上的Web服务,但可以访问您域中的一个(该Web服务可以与其他域上的其他Web服务进行通信).但是,上面的链接说明了如何将WebClient和Socket与Silverlight一起使用,它们是网络通信的较低级形式.无论如何,尽管Silverlight有一些限制,但看来您确实有一些选择.

请注意,我不确定Beowulf是什么,因此可能证明该技术与Silverlight网络通信不兼容.不确定.
Should be possible, especially if you use the server that serves up the Silverlight pages as an intermediary. Check out this page for a good starting point.

As I understand it, you can''t hit a web service that is on an external domain, but you can hit one on your domain (and that web service can communicate with other web services that are on other domains). The link above, however, explains how to use WebClient and Sockets with Silverlight, which are lower level forms of network communication. In any event, while there are some restrictions in Silverlight, it appears you do have some options.

Note that I am not sure what Beowulf is, so it may turn out that that technology is incompatible with Silverlight network communication. Not sure.


看看双工

这篇关于Silverlight,集群计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆