English 中文(简体)
AppEngine的习俗标志
原标题:Custom logs in AppEngine

I have an application for which I would like to record some statistics for later analysis but which are not at all needed within the application itself. i.e. The data will never need to be read by the application. Whatever system is used for storing these statistics, I just need to be able to take periodic dumps of the data.

我可以使用在AppEngine建造的伐木,但届时将在应用记录上显示。 我愿保留申请记录,以便在我每次检查时不必看到其他习俗信息。

How would you do this?

Edit: 更多有关雕像的细节。 每当用户完成某项任务(每天1-3次)时,我们需要储存有关这项任务的细节。 事件的时间和次序。 这些材料将存放在每届1至2千卡的单体内。

最佳回答

我的照片中也有类似的记录,我这样做的是在一个自赠服务器上建立一个简单的服务器,接收标识和等级,并将其储存在我们的当地数据库中。 每当我需要这种标识时,我就使用星号,将我们的标识数据发送到我们的伐木服务器。

我可以把记录数据储存在数据库中,但我会失去对我的记录进行全文检索的选择,在我的经验中,如果你通过记录文档重新计算,这非常宝贵。 我还可将这一记录储存在外部档案和<编码>grep中,但仅限于我所需要的线。

问题回答

你的最佳选择是将这一数据储存在数据库中。 如果你担心相对应,你可以使用同步行动,尽快开始写字,或可以利用任务点进行脱机。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签