• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question MongoDB on Windows slow *sometimes* using tailable cursors as message queue.?

emma blisa

New Pleskian
We are completing a generic service-bus implementation on C, with clients for C#, Delphi, PL/SQL and PHP. The library works great, we have awesome performance for our bus unless the MongoDB database is running on Windows (tested on 2008 R2, 2003 and 7) and there's no other "special" program running.

Out test do the following:

1. Program A sends a message on a capped collection

2. Program B tails on the message queue collection and "wakes up" when message appear using a cursor with awaitData param set to true

3. When Program B wakes up, prepares a messsage and sends a response to Program A inserting a document on a specific collection by Program A

4. Program A was already waiting on the second "response" collection and gets awaken when Program B (the producer) sent the response back

5. Mongodb Loop ends there.

Our testing program counts the loop and reports performance on a console application compiled with Visual Studio 2010.
 
Back
Top