Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Started
Created by Guest
Created on Aug 14, 2023

Asynchronous variant of MongoDB C Driver

Add async API on the C Driver.
  • ADMIN RESPONSE
    Oct 18, 2025
    We are excited to announce the release of *amongoc* - *an asynchronous C driver for MongoDB, now in public preview*. This experimental driver aims to provide an efficient, non-blocking interface for MongoDB operations. *Share your feedback* on GitHub to help shape its development into a production-ready tool. Your input is crucial, and we can't wait to see what you'll build with amongoc! *Resources* * *Announcement & Getting Started* ( https://www.mongodb.com/docs/languages/c/c-driver/current/async-c-driver/ ) * *GitHub Repository* ( https://github.com/mongodb-labs/mongo-c-driver-async/ ) * *Documentation* ( https://mongodb-labs.github.io/mongo-c-driver-async/ )
  • Guest
    Oct 29, 2024
    This is great. Is there a way to understand how this is implemented ? Mainly Is this fearure is crash consistent.? If multiple threads parallel inserting document to a collection, can this be consolidated automatically and do a bulk update by the mongo-router to the corresponding shards ?
  • Guest
    Oct 10, 2024
    Hi all, just wanted to share an update with you. Our development team is hard at work, and I'm excited to announce that we plan to release a prototype in the coming months. Stay tuned for more updates!
  • Guest
    Aug 28, 2024
    Great news, any update on this?
  • Guest
    Aug 18, 2024
    That's a great news. Any timeline you would like to share with us?
  • Guest
    Jul 12, 2024
    Excellent news!
  • Guest
    Aug 16, 2023
    Here's the related forum thread for reference - https://www.mongodb.com/community/forums/t/why-not-supply-async-api-in-mongo-c-driver/16260.
  • Guest
    Aug 16, 2023
    Just to mirror my comments from the original forum post. For us, this is less about pure performance, and more about fitting MongoDB into our event driven framework. With FreeRADIUS each operating system thread processes thousands of requests in "parallel", with each request having its own call stack, and yielding back to the interpreter for any I/O. For FreeRADIUS v4 (the upcoming release), modules with blocking I/O are either being removed from the codebase (Firebird, DB2, FreeTDS), or moved out from the main worker threads to run in their own thread pools. These separate thread pools add a large performance penalty and increases code complexity.