Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Controls how many instances of an application run in parallel, using DBI as the IPC method.

0
 
  0 reviews  |  1 user  |  1,463 lines of code  |  1 current contributor  |  Analyzed 4 days ago
 
 

Queue system with an emphasis on safety, using DBI as a storage system for queued data.

0
 
  0 reviews  |  1 user  |  4,299 lines of code  |  1 current contributor  |  Analyzed 10 days ago
 
 

Scope database transactions on DBI handles in code, to detect and prevent issues with unterminated transactions.

0
 
  0 reviews  |  1 user  |  853 lines of code  |  1 current contributor  |  Analyzed 1 day ago
 
 
0
 
  0 reviews  |  1 user  |  2,619 lines of code  |  2 current contributors  |  Analyzed 4 days ago
 
 

This module provides a safe method of timing out DBI requests. An unsafe method is described in the DBI docs: http://search.cpan.org/~timb/DBI/DBI.pm#Signal_Handling_and_Canceling_Operations The problem with using POSIX sigaction() (the method described above) is that it relies on unsafe signals ... [More] to work. Unsafe signals are well known to cause instability. To understand why, imagine the DB client code is in the middle of updating some global state when the signal arrives. That global state could be left in an inconsitent state, just wait for the next time it is needed to cause problems. Since this will likely occur far from the cause, and only ocur rarely, it can be a very difficult problem to track down. Instead, this module:   - Forks a child process which sleeps for $timeout seconds.   - Runs your long-running query in the parent process.   - If the parent process finishes first it kills the child and     returns.   - If the child process wakes up it kills the parent's DB thread and     exits with a code so the parent knows it was timed out. NOTE: After this call your database connection may be killed even if no timeout occurred. This is due to a race condition - the child may wake up just as parent process finishes. Patches addressing this bug are welcome. Until this is fixed you should be ready to reconnect after call_with_timeout(). [Less]

0
 
  0 reviews  |  0 users  |  250 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

Flexible Perl ORM for easy transitions from inline SQL to objects.

0
 
  0 reviews  |  0 users  |  7,679 lines of code  |  2 current contributors  |  Analyzed 7 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.