mongoDB backend

4 views
Skip to first unread message

Ashley Dev 

unread,
Nov 4, 2010, 3:56:10 PM11/4/10
to poc...@googlegroups.com
Hey, I'm about to implement a mongoDB backend. Any suggestions on where I should start, or where to look.

:)

David Snopek

unread,
Nov 4, 2010, 4:57:14 PM11/4/10
to poc...@googlegroups.com
Hello!

The documentation for PoCo::MQ::Storage is a good place to start:

http://search.cpan.org/~dsnopek/POE-Component-MessageQueue-0.2.10/lib/POE/Component/MessageQueue/Storage.pm

Admittedly, implementing a storage backend is not the easiest task.
Looking at a simple storage engine will also give you an idea of what
each Storage API method is supposed to do. I'd recommend the source
for PoCo::MQ::Storage::Memory:

http://cpansearch.perl.org/src/DSNOPEK/POE-Component-MessageQueue-0.2.10/lib/POE/Component/MessageQueue/Storage/Memory.pm

That backend is simple to the point of being naive (which is why we
use BigMemory for everything).

Good luck! Let us know how it goes.

Regards,
David Snopek.

2010/11/4 Ashley Dev  <the.as...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages