我如何创建分布式计算系统?

编程入门 行业动态 更新时间:2024-10-26 12:24:19
本文介绍了我如何创建分布式计算系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我是控制论系的学生,我想用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.

更多推荐

我如何创建分布式计算系统?

本文发布于:2023-11-30 05:17:09,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:分布式   系统

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!