Relative Content

Tag Archive for scheduling

Is this still a Greedy Algorithm

As a preface I will state this is for a homework assignment. I have already discussed this with the professor and will not be using this design. This purpose of this question is whether or not the defined algorithm is greedy. Also if this is in the wrong section I apologize and please let me know where it should be asked.

How do you calculate the CPU usage?

Suppose that in a single processor system, an average of 6 process arrive each minute. Each process needs an average service time of 8 seconds. How would you calculate the fraction of time the CPU is kept busy ?

Design Pattern for Cron/Schedule in MongoDB

I am looking for a good pattern to handle cron-type data in a MongoDB collection (or collections). I have been peeking at the O’Reilly book MongoDB Applied Design Patterns and poking around the MongoDB site’s Use Cases site but neither seems to to cover this type of data.

Design Pattern for Cron/Schedule in MongoDB

I am looking for a good pattern to handle cron-type data in a MongoDB collection (or collections). I have been peeking at the O’Reilly book MongoDB Applied Design Patterns and poking around the MongoDB site’s Use Cases site but neither seems to to cover this type of data.