batchprocessor solution

Share business templates, ideas, experiences, etc with fellow Servoy developers here

batchprocessor solution

Postby Harjo » Tue Feb 13, 2018 11:47 am

Does someone know, where I can find this demo (batchprocessor) solution used in this presentation?
I have searched everywhere, but I can't find it.

https://www.yumpu.com/en/document/view/ ... all-servoy
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4286
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: batchprocessor solution

Postby mboegem » Tue Feb 13, 2018 2:10 pm

No, sorry... that seems to be pretty old according to the admin page logo. :-)

I notice this is using cronjob to schedule functions.
Have had trouble with this in the past as certain cronjob could run long time, conflicting with other schedules.

Moved away from that and now simply schedule a single job every x minutes, checking a table with jobs and its due date/time, then just invoke the function of every job that is past its due date/time.
That way you'll trigger every job sequentially, avoiding any conflicts.

Should not take much time to set this up.
Ping me if you're interested, you've got my details ;-)
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1411
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: batchprocessor solution

Postby Harjo » Tue Feb 13, 2018 3:20 pm

I'm interested! :D
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4286
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: batchprocessor solution

Postby patrick » Tue Feb 13, 2018 5:16 pm

I have created something similar a while ago, called svyJobManager. It has quite some API to execute adhoc jobs, features headless client "pooling" (assign a number of clients that can run simultaneously), can monitor job execution etc. It uses tables though. I guess I could send that to you when interested.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3646
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: batchprocessor solution

Postby grahamg » Tue Feb 13, 2018 7:18 pm

+1 please guys. I've always found BatchProcessors a black-art and am pleasantly surprised when they run as intended -:)
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 735
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: batchprocessor solution

Postby rafig » Wed Feb 14, 2018 3:49 pm

patrick wrote:I have created something similar a while ago, called svyJobManager. It has quite some API to execute adhoc jobs, features headless client "pooling" (assign a number of clients that can run simultaneously), can monitor job execution etc. It uses tables though. I guess I could send that to you when interested.

+1 for svyJobManager please Patrick
Servoy Certified Developer
Image
rafig
 
Posts: 497
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: batchprocessor solution

Postby steve1376656734 » Wed Feb 14, 2018 6:00 pm

Also +1 please Patrick.

Many thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 199
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: batchprocessor solution

Postby Harjo » Thu Feb 15, 2018 12:53 pm

patrick wrote:I have created something similar a while ago, called svyJobManager. It has quite some API to execute adhoc jobs, features headless client "pooling" (assign a number of clients that can run simultaneously), can monitor job execution etc. It uses tables though. I guess I could send that to you when interested.


Maybe release it as an example project on the Servoy GitHub?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4286
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: batchprocessor solution

Postby steve1376656734 » Thu Feb 15, 2018 1:00 pm

Or even as a downloadable package on the Servoy Package manager?
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 199
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote


Return to Sharing Central

Who is online

Users browsing this forum: No registered users and 2 guests

cron