我如何创建分布式计算系统? [英] How can i create system for distributed calculations?

查看:132
本文介绍了我如何创建分布式计算系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是控制论系的学生,我想用Java编写一个项目。
我想创建分布式计算系统。

它包含下列组件:

1.用户的主程序(每个程序不同具体情况)

2.用户的任务程序,只能解决一些小任务(每种情况也不同)

3.我的程序,将与用户的主程序交互知道哪些任务需要解决
4.我的程序将与用户的任务程序交互以告知其输入数据并获取输出数据
5. Apache Tomcat和我的servlets +数据库,所有这些将允许接下来的事情:


  • 在系统中注册主程序和计算节点
  • 保存在数据库任务从主程序中,保存任务结果,将从节点发送
  • 查看一些统计信息(有多少任务已解决,系统中有多少个节点等)


请告诉我关于设计这个系统的一些想法。
我也想知道,我的java程序如何与本地机器上的用户程序进行交互(我的意思是数据交换)。



p.s。谢谢,对不起我的英文,并记住,我想编写我自己的系统(所以我不能使用现有的解决方案) 解决方案

阅读琳达 JavaSpaces 。然后阅读 MapReduce 。这应该给你一些想法,可以解决这些问题。


I am a student of faculty of Cybernetics and I want to write one project using Java. I want to create system for distributed computing.

It will contains next components:
1. User's main program (different for each concrete situation)
2. User's task program, that can only solve some little task (also different for each case)
3. My program, that will interact with user's main program to know, which tasks are needed to be solved 4. My program, that will interact with user's task program to tell it input data and get output data 5. Apache Tomcat and my servlets + database, all this will allow next things:

  • register main program and calculations node in system
  • save in DB tasks from main program, save task results, that will be sent from nodes
  • see some statistic information (how many tasks are solved, how many nodes in system and so on)

Please tell me some ideas about designing this system. I also want to know, how can my java program interacts with user's program on local machine (i mean data exchanging).

p.s. thank you, sorry for my English and remember, that i want to write my own system (so i can't use existing solutions)

解决方案

Read up on Linda and JavaSpaces. Then read up on Apache Hadoop and MapReduce. That should give you some ideas for the ways these things can be tackled.

这篇关于我如何创建分布式计算系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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