Skip to content

Migrate to Google App Engine #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jun 6, 2019
Merged

Migrate to Google App Engine #1

merged 18 commits into from
Jun 6, 2019

Conversation

dtinth
Copy link
Owner

@dtinth dtinth commented Mar 13, 2019

  • LINE’s server lives in Japan. Google App Engine is also available in Tokyo region. This greatly reduces latency. Now messages can be replied in 0.2 seconds!

  • Bot’s code is stored on Google Cloud Storage. The /reload endpoint reloads the code from Google Cloud Storage. This allows the bot’s code to be updated in 0.3 seconds, without triggering a new deployment (which takes about 1 minute).

  • A dev.js script can be used to monitor file changes and upload to GCS and trigger bot reload and achieve save-and-retry experience. But now it’s faster!

  • Use Google Cloud Shell’s new code editor to edit code and deploy on the cloud. No need to run a full-fledged text editor!

  • Update README file.

@dtinth dtinth merged commit 443a89a into master Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant