2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Firebase Hosting 特徴

Last updated at Posted at 2019-10-05

概要

Pythonのアプリのホスト先を探していて、Firebase Hostingがどうか調べた

結論
Firebase Hostingはjavascriptとtypescriptのアプリしかサポートしてないみたい
基本的にフロントエンドAppの配信用サービスと考えられる

Go, Python, Javaなどのアプリは、GCPのCloud Runなどを使うことになりそう

Firebaseの特徴

特徴
 ・ユーザーは何も設定せずにSSL通信ができる
 ・静的コンテンツであるHTML&CSSに加えて、動的コンテンツであるExpress.jsをサポート
 ・Firebase HostingはコンテンツをグローバルCDNに置く
 ・世界中のCDNのSSDにキャッシュされているから、どこでも高速にコンテンツが届く
 ・CLIの1コマンドでアプリを起動させられる
 ・1クリックでロールバックができる

参考文献
 ・https://firebase.google.com/docs/hosting

用語の確認

CDNとは

ファイルをダウンロード配信する技術
メリット
 ・距離的に近いサーバーからダウンロードできる
 ・上位サーバーが各地にあるから、OUTトラフィックが回線不足になりづらい
 ・上位サーバーが複数あるから、冗長化されている
参考文献
 ・https://blog.redbox.ne.jp/what-is-cdn.html

静的コンテンツと動的コンテンツとは

内容 
 ・静的コンテンツはリクエストで指定されたレスポンスのHTMLページ
 ・動的コンテンツはリクエスト内のパラメータに応じて変わるレスポンスHTMLページ
参考文献
 ・http://web.javastudy.biz/?p=41

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?