xitrum-framework / comy

Simple URL shortener using Xitrum and MongoDB
http://xitrum-framework.github.io/
16 stars 2 forks source link

getAllURLAccessOnDate() may cause memory issue #1

Closed levinhkhanh closed 14 years ago

levinhkhanh commented 14 years ago

getAllURLAccessOnDate() may cause memory issue when the return data is too large. Consider re-write this function or re-implement the business logic when removing URLs accessed on a specific date

vinhkhanhit commented 14 years ago

Replace Cassandra with MongoDB. MongoDB return a cursor (not an array) when querying