<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi all, </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Just wanted to send a shout-out to everyone who responded to my posting regarding implementing a background task queue. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The implementation went into production earlier today and users seem to be happy. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Again, thanks!!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hermann</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:cromedome@gmail.com">Jason Crome</a><br><b>Sent: </b>Monday, April 13, 2020 10:05 AM<br><b>To: </b><a href="mailto:dancer-users@lists.preshweb.co.uk">Perl Dancer users mailing list</a><br><b>Cc: </b><a href="mailto:dancer-users@dancer.pm">Perl Dancer users mailing list</a><br><b>Subject: </b>Re: [dancer-users] background task queue</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I might be biased, but I like Minion. So much so that this was released earlier today: <a href="https://metacpan.org/pod/Dancer2::Plugin::Minion">https://metacpan.org/pod/Dancer2::Plugin::Minion</a><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You can find some additional information from a few years ago on the Advent Calendar (<a href="http://advent.perldancer.org/2018/16">http://advent.perldancer.org/2018/16</a>). It may or may not be helpful in your decision-making process.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers,<o:p></o:p></p></div><div><p class=MsoNormal>CromeDome<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:black'>Jason A. Crome / CromeDome<br>CPAN: <a href="https://metacpan.org/author/CROMEDOME">https://metacpan.org/author/CROMEDOME</a><br>github: <a href="https://github.com/cromedome">https://github.com/cromedome</a><br>Twitter: <a href="https://twitter.com/cromedome">https://twitter.com/cromedome</a><br><br><br><o:p></o:p></span></p></div></div><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On Apr 13, 2020, at 12:12 PM, Hermann Calabria <<a href="mailto:hermann@ivouch.com">hermann@ivouch.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi all,<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Does anyone have any suggestions and/or best practices for how to implement a background task queue (i.e. something similar to Python’s<span class=apple-converted-space> </span><a href="http://www.celeryproject.org/"><span style='color:#0563C1'>www.celeryproject.org</span></a>) that works well with Dancer and/or for Perl in general?<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Some of the options I’m currently exploring:<o:p></o:p></p></div><div><p class=MsoNormal><a href="https://beanstalkd.github.io/"><span style='color:#0563C1'>https://beanstalkd.github.io/</span></a><o:p></o:p></p></div><div><p class=MsoNormal><a href="https://mojolicious.org/perldoc/Minion"><span style='color:#0563C1'>https://mojolicious.org/perldoc/Minion</span></a><o:p></o:p></p></div><div><p class=MsoNormal><a href="http://gearman.org/"><span style='color:#0563C1'>http://gearman.org</span></a><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Thanks!<o:p></o:p></p></div><div><p class=MsoNormal>Hermann<o:p></o:p></p></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>_______________________________________________<br>dancer-users mailing list<br></span><a href="mailto:dancer-users@lists.preshweb.co.uk"><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#0563C1'>dancer-users@lists.preshweb.co.uk</span></a><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'><br></span><a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users"><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#0563C1'>https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</span></a><o:p></o:p></p></div></blockquote></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>