1
0
Fork 0
mbuni/mbuni/extras/pgsql-queue
bagyenda d2c8efd1aa minor fix to pgsql-queues 2007-09-12 02:56:55 +00:00
..
Makefile misc. fixes for extras 2007-09-10 08:36:39 +00:00
Readme.txt added extras/ directory 2007-09-05 21:37:04 +00:00
mms_pgsql_queue.c minor fix to pgsql-queues 2007-09-12 02:56:55 +00:00
tables.sql minor fixes for linux and dso loading 2007-09-09 07:57:58 +00:00

Readme.txt

This module provides Queue management for mbuni using PostgreSQL as the storage engine.
To use it, you need only add two lines to the mbuni config 'core' group:

queue-manager-module = "/path_to/libmms_pgsql_queue.so"
queue-module-init-data = "number_of_db_connections:host=dbhost user=db_user passwowrd=dbpassword dbname=dbname"

Make sure the database you are trying to connect to has already been created
and the relevant tables created using the supplied file "tables.sql".  

Some notes:
  - Mbuni will open number_of_db_connections connections to the database at startup.
    Ensure your PostgreSQL installation limits are not exceeded. DB connections will
    be shared by all parts of Mbuni, which means that in high traffic situations, 
    you may experience mbuni component slow-down as all db connections might be in use.
  - Vacuum your DB often, since a lot of rows are updated/deleted during operation.