Exploring Cloud Functions - Scaling and Concurrency | Scribe

    Exploring Cloud Functions - Scaling and Concurrency

    • Hafeez Baig |
    • 7 steps |
    • 18 seconds
    alert ordinal icon
    Please review the previous lab on Cloud Functions before proceeding with this lab.<https://scribehow.com/shared/Playing_with_Cloud_Functions__Gen_2__n8uLSogcRXCxSfeY5ZVtvg>
    1
    Sign in into the **Google Cloud Platform**
    2
    Type "**Cloud Run**" in the search bar and click on the **Cloud Run** option
    information ordinal icon
    **What is Cloud Run?**\ \ Cloud Run is a managed compute service by Google Cloud that enables you to run containerized applications in a fully managed environment. It automatically scales your containers based on incoming traffic and charges you only for the resources you use, providing a serverless experience for deploying and managing containerized applications.
    3
    Click on the Name **my-second-generation-cloud-function**
    4
    **my-second-generation-cloud-function** wizard will open, click on the **EDIT & DEPLOY NEW REVISION** button
    5
    **Deploy revision to my-second-generation-cloud-function** wizard will open, scroll to the **Request timeout** section and type "**60**"
    information ordinal icon
    **What is Request timeout?**\ \ Request timeout is the maximum duration that a server will wait for a client to send a complete request, or the maximum time allowed for the server to process and respond to a client's request. If this time limit is exceeded, the server terminates the connection and returns a timeout error.
    6
    Scroll to the **Maximum concurrent requests per instance** section and type "**1**"
    information ordinal icon
    **What is the Maximum concurrent requests per instance?**\ \ Maximum concurrent requests per instance is a configuration setting that specifies the maximum number of simultaneous requests that a single instance of a service or application can handle at the same time. This helps manage resource utilization and ensures optimal performance by preventing any single instance from being overwhelmed.
    7
    Scroll the page and click on the **DEPLOY** button
    information ordinal icon
    Congratulations! on completing this lab and Exploring Cloud Functions - Scaling and Concurrency