Google App Engine - How Reliable Are Logs?

How reliable are Google App Engine logs?

Since the logs are optimized for write speed, and the data warehouse is optimized for read speed, I am going to store some data by writing them to the logs, rather than writing them to the data warehouse.

If I call Logger.info("something"); and the call succeeds, will the log entry definitely show up in the logs? Or will he sometimes fail?

About every hour of my home computer, download logs to save data to my home computer.

+2
google-app-engine
source share
1 answer

Although this is very unlikely, the call may fail silently because the logs are written asynchronously (otherwise they will not be so fast). If you need reliability, use a task queue or deferred to insert a data warehouse object might be a better option.

+4
source share

All Articles