zaqar/tests/etc
kgriffs 72974b7be1 fix: Requests get slower when queues have a lot of messages
The primary culprit was an additional scan operation
in the MongoDB driver's _list(...) method, triggered by
a range query on the message's expiration date.

This patch removes that field from the index, so the filtering
is done using a single scan pass. It also removes 'e' from the
index used for counting messages, since in testing it was
slightly faster to leave it out (and should also slightly speed
up insertion time since it's once less index field that mongo
has to worry about.)

Also in this patch, the order of the project and
queue name fields were swapped in the index in order
to optimize for selectivity. In addition, some minor
edits were made for style and correctness.

Finally, this patch also removes thresholding from
the GC so that we don't have expired messages hanging
around for a long time that have to be filtered out.

Change-Id: Ie4bd125e966612f4a8022fd6af133314d05fe428
Closes-Bug: #1216950
2013-09-11 12:20:44 -05:00
..
drivers_storage_invalid.conf Pull actual tests out of marconi/tests 2013-09-06 10:56:41 +02:00
drivers_transport_invalid.conf Pull actual tests out of marconi/tests 2013-09-06 10:56:41 +02:00
functional-marconi.conf Implement embedded marconi-server execution 2013-09-10 11:39:53 +02:00
functional-tests.conf Implement embedded marconi-server execution 2013-09-10 11:39:53 +02:00
keystone_auth.conf Pull actual tests out of marconi/tests 2013-09-06 10:56:41 +02:00
wsgi_faulty.conf Pull actual tests out of marconi/tests 2013-09-06 10:56:41 +02:00
wsgi_mongodb.conf fix: Requests get slower when queues have a lot of messages 2013-09-11 12:20:44 -05:00
wsgi_sqlite_validation.conf Pull actual tests out of marconi/tests 2013-09-06 10:56:41 +02:00
wsgi_sqlite.conf Pull actual tests out of marconi/tests 2013-09-06 10:56:41 +02:00