GAE 中的 Cloud Python 库是否使用缓存或内存缓存来访问 Cloud Firestore 数据?

Does Cloud Python lib in GAE use caching or memcache for access to Cloud Firestore data?

设置:Google Python 标准环境中的 App Engine 应用程序。

目前,该应用使用 NDB 库从其数据存储 read/write。它使用异步 tasklet 从 Datastore 和内存缓存进行并行、异步读取。

如果我想使用 Firestore 替代 Datastore,似乎我必须使用 Google Cloud Client Library for Python。我相信 google-cloud 库不支持像 tasklet 这样的机制。但我想知道:库是否使用线程安全缓存机制来请求 Firestore API,甚至可能是 GAE 的内存缓存?

Cloud Firestore 服务器端客户端库未针对 App Engine Standard 进行优化。它们不与像 GAE 的 memcache 这样的缓存解决方案集成;你必须自己写那个层。