Does mongodb have an active push function

  mongodb, question

If a document is added to mongodb, does it have the ability to actively notify the application? For example, a queue set is added with a task to be processed. Can mongobd actively notify the application program to execute the processing instead of applying continuous polling to check the set?

There is no such mechanism, but you can monitor profile or oplog to implement it in disguise.