News for hackers. Stuff that matters.
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by jzawodn on Thursday September 22, 2011 @03:01PM (#3027300)
Hmm. I see "ENGINE=MyISAM" in the code. Nowadays I can't stomach using MyISAM for anything I care about not having some sort of corruption. Given sufficient time and scale, I've seen far too many issues with MyISAM.

It'd be great to be able to specify that in the code so the user can opt for InnoDB (or engine of their choice). Perhaps a pull request is in my future...

Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by cosimo on Thursday September 22, 2011 @04:22PM (#3027637)
I seem to remember that the MySQL behavior this is based on will only work with the MyISAM engine. In fact, Flickr is using MyISAM for this, IIRC. Anyway, your changes make perfect sense, so I merged them.

Will try what happens to the test suite with InnoDB.

Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by cosimo on Thursday September 22, 2011 @05:20PM (#3027849)
Actually it works just fine ;)
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by ginzasparrow on Thursday September 22, 2011 @03:22PM (#3027392)
You could've cloned the repo and started hacking on it in the time it took you to write that.
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by jzawodn on Thursday September 22, 2011 @03:26PM (#3027413)
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by ginzasparrow on Thursday September 22, 2011 @03:33PM (#3027443)
Damn you for undermining my snarky comment. Cheers.
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by cosimo on Thursday September 22, 2011 @04:19PM (#3027629)
Merged too.
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by Zimahl on Thursday September 22, 2011 @07:59PM (#3028290)
I wasn't familiar with what 'Flickr tickets' were so I did a little Google-fu and found this excellent explanation:

http://code.flickr.com/blog/2010/02/08/ticket-servers-distri...

Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by cosimo on Friday September 23, 2011 @02:07AM (#3029031)
I had included a link to this post in the README file.
Re:Flickr-like ticket server in ~100 lines of Perl (~8k tick... by marcusramberg on Thursday September 22, 2011 @01:02PM (#3026755)
Very nice!