Does mongodb have the function of active push?

If a new document is added to

mongodb, does it have the ability to actively notify the application? For example, if a queue set adds a pending task, can mongobd actively notify the application to perform the processing instead of constantly polling and checking the collection?

Mar.04,2021

does not have this mechanism, but you can monitor profile or oplog to implement

in disguise.
Menu