Thank Tobias! Most of problems solved by org.opencastproject.server.maxload
However I would like to implement an option to operation saying: "urgent" "background" "performed by third party CPU" urgent would be performed immidieatly, those in background would be spawned in the background -- depending on CPU usage parformed by thisd party would be something like ... on hold waiting for other PC to finish the job, waiting for an event to be finished and reported. ----------I think many of this can be done right now, so what I would like to know is how Jobs are handled in Matterhorn, ---engineernig details ---> so I will avoid browsing tones of the code. BTW: Same thing happened with user management. I was wondering why user management is not handled by spring security entirely... until I moved all the users -including admin - outside of internal user provider services, created admin user - I was able to log in and use the webpages, browse uploaded videos with viewers and.... unable to start a workflow or upload something because operation processing had not clue what "admin" user is and why somebody started a workflow handled by admin user (Webpage knew who admin user is - retrieved it from spring security). BUT instead of learning it here (simple question: what is "matterhorn-userdirectory-ldap" for if LDAP is handled by spring security ) I had to learn entire code.... I will do the same with operations, but I would like to know where to look for. Expert is needed :-) --- On Tue, 5/22/12, Tobias Wunden <[email protected]> wrote: > From: Tobias Wunden <[email protected]> > Subject: Re: [Opencast Matterhorn] Running multiple operations at the same > time > To: "Opencast Matterhorn" <[email protected]> > Date: Tuesday, May 22, 2012, 12:05 AM > Hi Pawel, > > the number of workflows that can be processed in parallel is > determined by the number of cores reported to the JVM. So at > least in theory, if you have a dual core machine, you should > be able to run two jobs at the same time. However, one > service will always only process one job. > > Tobias > > On 15.05.2012, at 17:08, Pawel Fic <[email protected]> > wrote: > > > > > Hi, > > > > I have started a workflow that re-converts the video to > different format. For large videos it takes a lot of time. > > Server is busy handling the conversion, and I cannot > upload / publish / retract anything else in the meantime. > > > > I would like to have couple of workflow handlers. > > Can I do that easily? > > > > It's probably piece of cake, maybe I should put this on > Matterhorn Users, -on the other hand, if it's not there I > would like to add this functionality, so I could use how the > Operations Handlers are started from the moment when a > workflow definition is applied to an episode. > > > > Can somebody help me with that? > > > > -Pawel > > > > _______________________________________________ > > Matterhorn mailing list > > [email protected] > > http://lists.opencastproject.org/mailman/listinfo/matterhorn > > > > > > To unsubscribe please email > > [email protected] > > _______________________________________________ > > _______________________________________________ > Matterhorn mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn > > > To unsubscribe please email > [email protected] > _______________________________________________ > _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
