Y
Hacker News
new
|
ask
|
show
|
jobs
by
mpobrien
4916 days ago
As an alternative for 1) you might consider using the TTL collections feature in mongo, which expires data after a given time threshold:
http://docs.mongodb.org/manual/tutorial/expire-data/