【发布时间】:2018-06-25 08:42:27
【问题描述】:
当所有代码都在 Google 项目中运行时;性能符合预期。
但是;在开发过程中,我将笔记本电脑连接到测试 Google Project BigTable 实例;每个查询需要 2-4 秒才能运行。
当我使用cbt CLI 命令触发命令时,它的响应响应类似。
这种开销是否有已知原因?也许它需要如何对外部连接进行身份验证?
在启动时,我看到以下日志:
Opening connection for projectId ..., instanceId ..., on data host bigtable.googleapis.com, admin host bigtableadmin.googleapis.com.
Bigtable options: BigtableOptions{dataHost=bigtable.googleapis.com, adminHost=bigtableadmin.googleapis.com, ..., appProfileId=, userAgent=hbase-1.4.1, credentialType=DefaultCredentials, port=443, dataChannelCount=32, retryOptions=RetryOptions{retriesEnabled=true, allowRetriesWithoutTimestamp=false, statusToRetryOn=[DEADLINE_EXCEEDED, UNAVAILABLE, UNAUTHENTICATED, ABORTED], initialBackoffMillis=5, maxElapsedBackoffMillis=60000, backoffMultiplier=2.0, streamingBufferSize=60, readPartialRowTimeoutMillis=60000, maxScanTimeoutRetries=3}, bulkOptions=BulkOptions{asyncMutatorCount=2, useBulkApi=true, bulkMaxKeyCount=125, bulkMaxRequestSize=1048576, autoflushMs=0, maxInflightRpcs=320, maxMemory=143183052, enableBulkMutationThrottling=false, bulkMutationRpcTargetMs=100}, callOptionsConfig=CallOptionsConfig{useTimeout=false, shortRpcTimeoutMs=60000, longRpcTimeoutMs=600000}, usePlaintextNegotiation=false}.
Refreshing the OAuth token
有什么我可以考虑的选择吗?除了使用 BitTable 模拟器?前段时间我在运行它时遇到了一些麻烦。所以必须再试一次。
谢谢, 布伦特
【问题讨论】:
-
这似乎是一个服务问题,而不是可以通过堆栈溢出诊断的问题。您能否提出 Google Cloud 支持票来解决这个问题?
-
@brent 你能提出这个问题的票吗?
标签: oauth throughput google-cloud-bigtable