-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
From a customer:
All of the docs seem to create one client per query. Most projects which use datastore will want some form of concurrency. The docs don’t provide any guidance or support for connection pooling, or what is inexpensive v.s expensive, e.g. what actually involves RPC. From my reading of logs, it looked like the first call to fetch makes an HTTP call to auth, and later calls are just an RPC. Unclear if there is any connection re-use, or the best practice from a performance perspective.
Ideally we have some standard pattern where you create a client and perhaps import that client from elsewhere, reusing it for queries?
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.