设计问题 [英] Design Issue

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

问题描述

问候,


我正在使用远程桌面管理系统。


此产品的一项功能是远程配置,即我必须能够在远程机器上创建一个新进程,删除进程等。


它必须是:

单主机单一操作(SHSO )

单主机多操作(SHMO)

多主机单操作(MHSO)

多主机多操作。(MHMO)


这里第一个是直接的,我实现了它。


问题出在MHSO


示例:如果我在每个主机中有3个主机和10个任务。其中5个任务在所有3个主机中都很常见。

现在如果在所有主机上执行删除任务操作。


我应该做的交叉点所有的过程(所以我只会结束或杀死5个任务,因为只有5个任务是共同的)


或者我应该去所有任务的联合,我会得到20个任务(5x3 + 5个任务)。因此,如果一个任务只在一个主机中存在,那么我的应用程序将跳过在两个主机的其余部分上执行操作。


所以我很困惑要实现哪个。(联盟的任务或交叉任务?)


请提供输入.....(请从网络管理员的角度思考)。这是一个设计问题,所以所有编程语言的人都可以参与并提出想法。


问候

Dheeraj Joshi

Greetings,

I am working on a remote desktop management system.

One of the feature in this product is remote configuration, i.e i must be able to create a new process, delete a process etc on remote machine.

And it must be:
Single host single operation(SHSO)
Single host multiple operation(SHMO)
multiple host single operation(MHSO)
multiple host multiple operations.(MHMO)

Here first one is straight forward and i achieved it.

Problem is in MHSO

Example: If i have 3 hosts and 10 tasks in each host. In which 5 tasks are common in all the 3 hosts.
Now if a give a delete task operation on all hosts.

Should i do the intersection of all the processes(So i will get only 5 tasks to end or kill because only 5 tasks are in common)

Or should i go for union of all tasks and i will get 20 tasks(5x3 + 5 tasks). So out of 20 if a task is there in only one host my application will skip performing the operation on rest of the two hosts.

So i am confused which to implement.(Union of task or Intersection of tasks?)

Please give the inputs.....(Please think from a network administrators perspective). This is a design issue, so all programing language people can participate and pour ideas.

Regards
Dheeraj Joshi

推荐答案

20次观看。没有人回复。?


悲伤...... :(


问候

Dheeraj Joshi
20 Views. No one replied.?

Sad...... :(

Regards
Dheeraj Joshi


我建​​议(如果我正确地解释了这个问题)你提供了一个可以做所有事情的工具。删除主机会删除主机和其中的所有任务主机。删除任务按ID删除单个任务。按名称删除任务将从任何匹配指定(或选定)名称的主机中删除任务。感觉?


PS。一般情况下,我们不会鼓励在至少24小时之前碰到一个线程。它被视为不耐烦。如果你也发布了错误的论坛然后需要一点额外的耐心。
I would suggest (if I understannd the question correctly) that you provide a facility for doing all that you can. Delete Host would delete the host and all tasks within the host. Delete Task by ID would delete an individual task. Delete Task by name would delete tasks from any host that matched the name specified (or selected). Does that make sense?

PS. Generally we don''t encourage bumps to a thread before at least 24 hours has passed. It''s seen as impatient. If you have also posted in the wrong forum then a little extra patience is required.


@NeoPa


感谢您的回复......无论如何我们上来了有一个解决方案这个问题并开始实施。


问候

Dheeraj Joshi
@NeoPa
Thanks for the reply...... Anyways we came up with a solution for that problem and started implementation.

Regards
Dheeraj Joshi


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

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