Code Monkey home page Code Monkey logo

appengine-speedtest's Introduction

appengine-speedtest

Usage

  1. Fix region

    locationID = "asia-northeast1"

  2. Create project and deploy

export proj=[YOURPROJECT]
export region=[YOURREGION]

$ gcloud config set project ${proj}
$ gcloud projects create ${proj}
$ gcloud app create --region=${region}
$ gcloud services enable cloudtasks.googleapis.com
$ make deploy

$ make benchmark

Benchmark

appengine-speedtest's People

Contributors

sonatard avatar

Stargazers

 avatar  avatar

appengine-speedtest's Issues

Discussion

現在、Google App Engineではappengine専用のSDKからCloud SDKへの移行がが進んでいます。
そのような中Google App Engine Go1.12以降ではappengine SDKの廃止が決定しました。

しかしCloud SDKを利用するとCloud Datastore(Cloud Firestore datastore mode)ではレイテンシーが2-4倍、Cloud Tasksのタスク作成では50倍ほどの時間がかかるため、移行するためにもGoogle開発陣に現状を伝えて対応してもらう必要があります。

そのため同様に移行に困っている皆さんの声を聞かせていただければと思います。

こちらで報告頂きたいこと

  • レイテンシーが遅くて困っている状況やサービス
  • 希望のレイテンシーの値など

報告する際に記載して頂きたい情報

  • 利用しているサービスとバージョン とリージョン
  • 利用しているSDKの種類(appengine sdk or cloud sdk )

計測結果参考 go111

https://github.com/sonatard/appengine-speedtest/blob/master/main.go を使用して計測。(regionだけは環境に合わせて変更)
30回連続で同じRPCを発行した平均。

Tokyo asia-northeast1 region

SDK Service RPC latency
Cloud SDK Cloud Firestore datastore mode Put 69ms
Cloud SDK Cloud Firestore datastore mode Get 57ms
Cloud SDK Cloud Firestore datastore mode Get and Put in transaction 未計測
Cloud SDK Cloud Tasks CreateTask 192ms
appengine Cloud Firestore datastore mode Put 21ms
appengine Cloud Firestore datastore mode Get 12ms
appengine Cloud Firestore datastore mode Get and Put in transaction 未計測
appengine App Engine TaskQueue Add 2ms

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.