the plugin has been working awesome.. but sometimes randomly my task will 
get a job and connection to database via models will fail and i get 

2006: MySQL server has gone away

anyone else experience this and have a fix/workaround?

thanks!

On Tuesday, June 9, 2009 8:27:56 AM UTC-4, David Persson wrote:
>
> Hi MGriesbach, 
>
> I like the idea of having a simple-to-setup queue system. This way 
> it's much more easy to get into the queuing and parallel/deferred 
> processing topic. Relying on the database for doing all the locking is 
> also ok in regards that it should be easy to setup, requiring no 
> additional daemons to run as (most) users are already using a 
> database. 
>
> As you know I've created a queue plugin (which uses beanstalkd) a few 
> months ago, too. It's still in a very early state and basically just a 
> first implementation. 
>
> What I thought is if it would be possible to create a cakephp plugin 
> abstracting all the different queue system's (beanstalkd, kestrel, 
> dropr, database, ...) specialities. While this could be possible by 
> creating a data source (analog to the core DboSource) or something 
> else, I'm unsure if this really would make sense. 
>
> The positive aspects of this approach are: 
> 1. You only have to learn how this one data source works 
> 2. One could change the underlying queue system (i.e. when moving from 
> development env to production) 
>
> Another way would be to have the plugin contain several data sources 
> for the different systems so that users would've to learn how to use 
> each data source. 
>
> Anyway it would be great having a plugin promoting and facilitating 
> parallel/deferred processing, combining all different approaches to 
> queuing. 
>
> -David 
>
> My Queue Plugin: https://github.com/davidpersson/queue 
> Beanstalkd: http://github.com/kr/beanstalkd/tree/master 
> Kestrel: http://github.com/robey/kestrel/tree/master 
> Dropr: https://www.dropr.org/ 
>
>
> On 9 Jun., 13:37, MGriesbach <[email protected]> wrote: 
> > Hi 
> > 
> > I'm currently implementing a Plugin for CakePHP, which enables a 
> > developer to Queue up any kind of Script execution (for example 
> > Sending Emails, uploads/downloads etc.) and would like to ask for 
> > feedback. 
> > 
> > The Plugin is aimed to be a simple to setup, simple to use alternative 
> > to systems like Gearman or dropr, while only implementing very basic 
> > features (no network transport layer for instance). 
> > 
> > Overall it works very well at the moment, and I would like to hear 
> > some feedback mostly to see if there is any interest in this tool, and 
> > of course suggestions about the implementation. 
> > 
> > The code can be found athttp://github.com/MSeven/cakephp_queue/ 
> > 
> > Thanks in advance. ;)

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to