Periodically delete entries in objectification

I am using the Google App Engine with Objectify and would like to delete several db entries every 5 minutes. What would be the best way to do this? Should I use Google App Engine ThreadManager or cron work? Or is there another way?

+1
source share
2 answers

Cron sounds like setting requirements here, but I'm worried about the scale of the objects that need to be removed. (Up to several hundred thousand every five minutes according to the comments). Removing that many objects take a significant amount of time is likely to take more than five minutes, and may even be more than 10 minutes for cron front-end handlers.

backend-, - . , , , , , .

, , , , . , , cron , , , . , cron keep-alive .

, .

0

, 5 :

map/reduce. , ( ), - .

GAE. Google Compute Engine mongodb redis. AWS. GAE , " " - .

+1

All Articles