[SERVER-310] Notification of insert into a collection Created: 24/Sep/09  Updated: 22/Mar/13  Resolved: 24/Sep/09

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Peter Kieltyka Assignee: Eliot Horowitz (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All that are currently supported


Participants:

 Description   

I'd like to use Mongodb for a persistent store for a queue. It would be nice to be able to have my client connect to mongodb and issue a callback to be notified whenever a new record is inserted into a collection. The alternative is to continually poll the collection in an infinite loop which obviously sucks.

Give it some thought. Thanks.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 17/Oct/09 ]

closed b/c resolved 2+ weeks ago

Comment by Eliot Horowitz (Inactive) [ 24/Sep/09 ]

dup of SERVER-124

however, you could use a tailable cursor for that.

not too many docs for that - but very cool.

ping us in irc or mailing list if you're interested

Generated at Thu Feb 08 02:53:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.