C Client Library & Threaded App

16 views
Skip to first unread message

J-EC

unread,
Apr 4, 2018, 1:25:59 PM4/4/18
to mongodb-dev
Hello,

I've searched and searched and come up empty ...

After reading about the Mongo C Client Library and connection pooling (mongoc_client_pool_t) along with the simple threaded example (http://mongoc.org/libmongoc/current/connection-pooling.html), I'm curious to see any open-source apps that use the library in this way.

Any references?  :)

I'm thinking a thread pool + producer / consumer model is probably needed, but would like to see how other open-source apps make use of the C Client library.  Are there any?

Thank you!

J-EC

unread,
Apr 4, 2018, 8:31:50 PM4/4/18
to mongodb-dev
For clarification, the Mongo C Client is forcing me to consider a multi-threaded implementation for my app.  I would instead prefer single-threaded app with an async Mongo client as discussed in the JIRA below, but I understand it is a "Won't Fix", thus my desire to find apps that interact with the C Client in a threaded manner.

https://jira.mongodb.org/browse/CDRIVER-27

Apologies for posting to mongodb-user instead of mongodb-dev!   I'll also post on mongodb-user, but if anyone here has any thoughts, then please reply.

Thank you!
Reply all
Reply to author
Forward
0 new messages