Cloud Run Vs App Engine - GCP

Cloud Run Vs App Engine - GCP

All thanks to my ex-collegue as he was not quitely convinced by the idea of choosing App Enginer over Cloud Run .

I have ran an experiment and here are my views as belows:

I am not an advocate of any of the cloud services still , for small web applications with a large database , I found App engine can be used since the results are fast as it runs 24/7 .For Cloud Run we have to containarise everything and Cloud Run will be ran only when it gets requests.It has to do the below tasks , hence it is slow .

  1. Start up the container
  2. Serves the request
  3. Shuts down the container

But , catch here is Cloud Run is much cheaper compaed to App Engine .

Mohinuddin .

Senior Data Engineer at H&M

2 年

App Engine is a Platform-as-a-Service (It uses GCE underneath) which means the code runs inside a secure sandbox environment. You simply deploy your code, and the platform does everything else for you. While Cloud Run is a Serverless offering(It uses GKE underneath), and it is designed for stateless web applications accessed via HTTP, WebSockets, or gRPC requests or streams. Also, when we are talking about App Engine then first we need to consider both the offering of App Engine which are a bit different in the way they work. App Engine Standard - Limited runtimes, no WebSockets support, quick starts up, stateless, more suited for the workload that requires immediate scaling. Scales to 0 when not serving requests. App Engine Flexible - This is more open as it allows you to use custom runtimes as it uses docker containers. So, if your runtime isn't available in the provided runtimes, you can create your own Dockerfile for the execution environment. The caveat here is, that it requires having at least 1 instance running, even if the app is not in use, plus the scaling up and down takes a few minutes. App Engine Flexible environment is a hybrid between the standard, code-centric App Engine and the container-based Cloud Run and GKE.

要查看或添加评论,请登录

Sajana Vijayan的更多文章

  • GraphQL in a NutShell

    GraphQL in a NutShell

    Importance of GrpahQL and Microservices GraphQL is a language for querying data,we can use it to query data from any…

    3 条评论
  • GCP and Services

    GCP and Services

    These nine areas to further help you choose which GCP service you should use: Deployment Type The delivery method to…

    1 条评论
  • How to select the apt Service in GCP

    How to select the apt Service in GCP

    More details will follow :)

    3 条评论

社区洞察

其他会员也浏览了