📄️ Transactions
Transactions in MongoDB allow multiple read and write operations to be executed atomically on a single document or multiple documents. In simpler terms, a transaction treats a set of changes to the database as a single unit, ensuring data integrity and consistency. If any part of the transaction fails, all changes within that transaction are rolled back, leaving the data in its original state.
📄️ Change Streams
Change Streams in MongoDB are a powerful feature that allows you to track real-time changes to your MongoDB data. This can be extremely useful for applications that require immediate action in response to database changes.
📄️ GridFS
GridFS is a specification provided by MongoDB for storing and retrieving large files such as images, audio files, video files, etc. It is a great solution for storing files larger than 16MB, which is the maximum document size in MongoDB.