Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosimo/ticketserver
Flickr-like Ticket Server implemented with Perl + DBI + MySQL
https://github.com/cosimo/ticketserver
Last synced: 10 days ago
JSON representation
Flickr-like Ticket Server implemented with Perl + DBI + MySQL
- Host: GitHub
- URL: https://github.com/cosimo/ticketserver
- Owner: cosimo
- Created: 2011-09-22T15:52:22.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-22T21:08:29.000Z (about 13 years ago)
- Last Synced: 2023-04-21T10:38:40.513Z (over 1 year ago)
- Language: Perl
- Homepage:
- Size: 97.7 KB
- Stars: 23
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tickets server
=========================A sample implementation hacked together in a couple of hours
in Perl + MySQL of the Flickr tickets server, as explained
in this [blog post](http://code.flickr.com/blog/2010/02/08/ticket-servers-distributed-unique-primary-keys-on-the-cheap/).Assumptions
-----------* MySQL 5.1+ is installed locally, listening on `localhost:3306`
* Perl 5.8+ is installed, along with DBI (`apt-get install libdbi-perl`)How to use this
---------------* Basic sql schema is found in `sql/tickets.sql`
* To test basic sanity, after setting up the db, run: `prove -Ilib -v`
* To stress test the tickets db, run: `perl bin/stress.pl`Contacts
--------Email: [email protected]
Twitter: @cstrep