Scheduling Jobs On web server

Posted by sirasad on Stack Overflow See other posts from Stack Overflow or by sirasad
Published on 2010-05-23T22:01:16Z Indexed on 2010/05/23 22:31 UTC
Read the original article Hit count: 293

Filed under:

Hi Folks

We Want to Create an online game like this.I think that ,this type of games have a scheduling software on web server. For Example : Player Click to create a resource And resource creation will be take a moment like 20 Minutes.(Every resource creation time will be different). This message will send to web server application but this message will not processed at same time for example must be processed after 20 Minutes. The web server application after getting the message must be put the order in the Queue.

We have Some big problems :

1- The Jobs must be complete by the web server application Even the player Exit the Game. I think that we must create something like Windows service on Web Server. Can we do it? or Is there a better way?

2- The Second problem depended on problem 1 .Because we will have many Jobs (every player can create 20,30 Jobs in every Loggin and we will have thousands of users) , So Our Scheduling System Must be Work On time . it's possible that , there is 100 , 1000 jobs in a same second , if application Can't Done Jobs in him Second will be use the next second Time and the next second jobs will shift to next second and etc. How We can do for this problem ?

Cheers

Asad Safari

Agile Coach , Scrum Master

© Stack Overflow or respective owner

Related posts about job-scheduling