Discussion:
[mongodb-dev] C Client Library & Threaded App
J-EC
2018-04-04 16:33:04 UTC
Permalink
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!
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/c7dbd6a8-55e6-45eb-8646-a6acb7d9f915%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
J-EC
2018-04-05 00:31:50 UTC
Permalink
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!
Post by J-EC
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!
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/cbaff155-597f-4b3e-b54c-9373045a4961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...