Hi all, Does anyone have any suggestions and/or best practices for how to implement a background task queue (i.e. something similar to Python’s www.celeryproject.org) that works well with Dancer and/or for Perl in general? Some of the options I’m currently exploring: https://beanstalkd.github.io/ https://mojolicious.org/perldoc/Minion http://gearman.org Thanks! Hermann
Hi Hermann Gearman – been using it for 4 years – works well and has HA modes. https://www.slideshare.net/andy.sh/gearman-and-perl Z From: dancer-users <dancer-users-bounces@lists.preshweb.co.uk> On Behalf Of Hermann Calabria Sent: 13 April 2020 17:13 To: Perl Dancer users mailing list <dancer-users@dancer.pm> Subject: [dancer-users] background task queue Hi all, Does anyone have any suggestions and/or best practices for how to implement a background task queue (i.e. something similar to Python’s www.celeryproject.org<http://www.celeryproject.org>) that works well with Dancer and/or for Perl in general? Some of the options I’m currently exploring: https://beanstalkd.github.io/ https://mojolicious.org/perldoc/Minion http://gearman.org Thanks! Hermann
I think minion is a good candidate, https://mojolicious.org/perldoc/Minion On Mon, 13 Apr 2020, 17:13 Hermann Calabria, <hermann@ivouch.com> wrote:
Hi all,
Does anyone have any suggestions and/or best practices for how to implement a background task queue (i.e. something similar to Python’s www.celeryproject.org) that works well with Dancer and/or for Perl in general?
Some of the options I’m currently exploring:
https://mojolicious.org/perldoc/Minion
Thanks!
Hermann _______________________________________________ dancer-users mailing list dancer-users@lists.preshweb.co.uk https://lists.preshweb.co.uk/mailman/listinfo/dancer-users
I might be biased, but I like Minion. So much so that this was released earlier today: https://metacpan.org/pod/Dancer2::Plugin::Minion <https://metacpan.org/pod/Dancer2::Plugin::Minion> You can find some additional information from a few years ago on the Advent Calendar (http://advent.perldancer.org/2018/16 <http://advent.perldancer.org/2018/16>). It may or may not be helpful in your decision-making process. Cheers, CromeDome Jason A. Crome / CromeDome CPAN: https://metacpan.org/author/CROMEDOME github: https://github.com/cromedome Twitter: https://twitter.com/cromedome
On Apr 13, 2020, at 12:12 PM, Hermann Calabria <hermann@ivouch.com> wrote:
Hi all,
Does anyone have any suggestions and/or best practices for how to implement a background task queue (i.e. something similar to Python’s www.celeryproject.org <http://www.celeryproject.org/>) that works well with Dancer and/or for Perl in general?
Some of the options I’m currently exploring: https://beanstalkd.github.io/ <https://beanstalkd.github.io/> https://mojolicious.org/perldoc/Minion <https://mojolicious.org/perldoc/Minion> http://gearman.org <http://gearman.org/>
Thanks! Hermann _______________________________________________ dancer-users mailing list dancer-users@lists.preshweb.co.uk <mailto:dancer-users@lists.preshweb.co.uk> https://lists.preshweb.co.uk/mailman/listinfo/dancer-users <https://lists.preshweb.co.uk/mailman/listinfo/dancer-users>
Hi all, Just wanted to send a shout-out to everyone who responded to my posting regarding implementing a background task queue. We ended up going with Minion as many suggested, and found CromeDome’s Advent Calendar posting referenced below super useful, along with the various Minion docs. We ended up not using the Dancer2 plugin; we’re still on D1, so that was one reason, but the main reason was because we were inspired by the Advent Calendar posting to wrap Minion within a service object within our app’s model, rather than having it live within the web plumbing offered by Dancer. The implementation went into production earlier today and users seem to be happy. Again, thanks!! Hermann From: Jason Crome Sent: Monday, April 13, 2020 10:05 AM To: Perl Dancer users mailing list Cc: Perl Dancer users mailing list Subject: Re: [dancer-users] background task queue I might be biased, but I like Minion. So much so that this was released earlier today: https://metacpan.org/pod/Dancer2::Plugin::Minion You can find some additional information from a few years ago on the Advent Calendar (http://advent.perldancer.org/2018/16). It may or may not be helpful in your decision-making process. Cheers, CromeDome Jason A. Crome / CromeDome CPAN: https://metacpan.org/author/CROMEDOME github: https://github.com/cromedome Twitter: https://twitter.com/cromedome On Apr 13, 2020, at 12:12 PM, Hermann Calabria <hermann@ivouch.com> wrote: Hi all, Does anyone have any suggestions and/or best practices for how to implement a background task queue (i.e. something similar to Python’s www.celeryproject.org) that works well with Dancer and/or for Perl in general? Some of the options I’m currently exploring: https://beanstalkd.github.io/ https://mojolicious.org/perldoc/Minion http://gearman.org Thanks! Hermann _______________________________________________ dancer-users mailing list dancer-users@lists.preshweb.co.uk https://lists.preshweb.co.uk/mailman/listinfo/dancer-users
participants (5)
-
Dinis Rebolo -
Emmanuel Seyman -
Hermann Calabria -
Jason Crome -
Zahir Lalani