[dancer-users] Running a bot as a REST webservice

sawyer x xsawyerx at gmail.com
Sat Dec 7 11:13:55 GMT 2013

It's the same thing, IMHO. It's a state.
Keeping it in Memcached, token in a cookie, external service, etc.
Whichever one you find comfortable is the best. :)

On Fri, Dec 6, 2013 at 9:29 PM, Pierre M <piemas25 at gmail.com> wrote:

> I'm not loving the idea of storing a 3rd party session token, it's a bit
> of a pain to pass it around and it's not really scalable. Caching the bot
> itself between each REST request works, but I came accross a possibly nicer
> idea:
> My bot could be running in a Gearman worker, and I would give orders with
> a Geaman client. Possibly with Dancer::Plugin::GearmanXS, if I used Dancer
> instead of Dancer2.
> It looks the tool for the job. I'll try it in two weeks, when I'm back
> from holidays.
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20131207/0d1c069d/attachment.html>

More information about the dancer-users mailing list