• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

I want to design a system which mediates user requests against the machine resources. Ideas i need...

Hi there;
I want to design a system which mediates user requests against the machine resources. Ideas i need.

I have multiple clients that need to execute a program remotely. My implementation regarding executable invocation is done but i need ideas to evaluate the request for starting and stopping that executable "against computer resources". Can you help me?

Kind regards.
0
jazzIIIlove
Asked:
jazzIIIlove
  • 2
1 Solution
 
Hugh McCurdyCommented:
I think it would help to know more about the problem.  What is the threat against resources?  Does the program take a long time to execute?  Are you expecting thousands of requests at the same time?  Something else?

If for instance, if the actual threat is a network bottleneck, then you should be looking there instead.  (Unless your program is going to spew out terabytes of information, producing a bottleneck...."always" some exception.)

I have ideas, at least for some of the problems.  I just don't want to sit here and provide 10 different answers when you only need 0 or 1 of my ideas.  (One of my ten might not even be relevant to your problem.)
0
 
jazzIIIloveAuthor Commented:
Hey, thanks for the interest. There are 50 clients that will execute a program concurrently for some calculations that may take sometimes seconds, sometimes dates.

The users are expected to reside in a same LAN but may vary. The server machine ought to be very str
ong.
So, given those above, what kind of design against server resources for the very queing system?

I need ideas.

Kind regards.
0
 
Hugh McCurdyCommented:
My first reaction would be to let the operating system do what operating systems do -- schedule.  However, it appears you want something more.

It appears the problem is that the calculations are CPU intensive and you don't want too many running at once.

How many do you want to allow to run at once?
Is it possible to predict the execution time from the request?
Will there be jobs with higher priorities than others?
What are you planning to say to the users who are waiting?  ("You are 7th in line.  Estimated time is XXX."  Giving an estimate only works if can do some prediction.)

If this is really demanding but also important, I suggest a server with many processors and lots of RAM.  Depending on how much money your company is willing to spend, you might consider multiple servers.  This gets advanced.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now