English 中文(简体)
每一次请求中每一次需要量身高射线,造成问题
原标题:Fetching memcache variable on each request causing problems

我会利用GAE的午餐,根据每项要求挑选一个毛豆。 这种蓝宝是能够/处置特定ur的旗帜。

如果情况确实如此,所有事情都是正常的,如果是假的,它就会退回特定格式的答复。

这些服务是每二次约7项要求,谷歌似乎对使用肉类施加了限制,而现在,自几天前以来,每二次约1次请求时,这种疲软就一直存在。 我不得不紧急派遣飞机,从法典中删除这一检查。 但是,我需要一种替代性的例行做法,使这项服务能够/分散。

采用停机坪变量是一种选择,但每例休息室都有自己的功能,因此可以工作。

谁能建议这样做?

最佳回答

在你能够经常获得肉类检查方面,没有限制(除疗伤外)。 不管怎样,你永远不应仅仅依靠午餐来储存价值;你总是应该回到永久储存机制,如数据储存。

问题回答

为了保持一致性,最好采用数据储存/交易而不是肉类。

To reduce the latency of datastore/transaction, you may try to mix memcache and datastore/transaction methods. For example

# while reading status 
# 1. try to read from memcache
# 2. if memcache exists, return the value
# 3. if not, read from datastore, save to memcache, and return

# while writing status
# 1. use a transaction to write data to datastore and memcache




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签