NetSDS::Queue

Simple API to MemcacheQ powered queue
Download

NetSDS::Queue Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Michael Bochkaryov
  • Publisher web site:
  • http://search.cpan.org/~rattler/

NetSDS::Queue Tags


NetSDS::Queue Description

Simple API to MemcacheQ powered queue NetSDS::Queue is a Perl module that provides simple API to NetSDS queue.Low level messaging is based on fast and reliable MemcacheQ server. It use BerkeleyDB for persistance and Memchache protocol over TCP or Unix sockets.Every message is converted to JSON and then stored as Base64 string.SYNOPSIS use NetSDS::Queue; use Data::Dumper; my $q = NetSDS::Queue->new( server => '10.0.0.5:18181' ); # Push messages to queue $q->push('myq', { id => 1, text => 'one'}); $q->push('myq', { id => 2, text => 'two'}); $q->push('myq', { id => 3, text => 'three'}); # Fetch messages from queue while ( my $data = $q->pull('myq') ) { print Dumper($data); } Requirements: · Perl


NetSDS::Queue Related Software