PyCon Pune 2017

A conference on the Python programming language

Abhinav Modi

@abhinavm

Driving Google Cloud Platform via Python : Scaling and Design considerations, and how to extract the best performance

Submitted Nov 30, 2016

Google Cloud Platform (GCP) is a cloud computing service offered by Google, on the same infrastructure it uses for its services such as Google Search and Youtube. GCP provides a Python SDK which can be used to automate and drive the various features and services, allowing developers to deploy and manage their application and infrastructure.

As we started adding support to run our Application Delivery Controller (ADC) product, Avi Vantage, on GCP via the Python SDK, we faced some interesting challenges :

  1. Python’s threading mechanism, “twisted”, had some scale limitations that limited the solution performance
  2. GCP API’s inherent serialization requirement introduced a significant performance delay, especially in scale scenarios typically required for ADC provisioning on GCP..

In this talk, we share how we refactored our design and improved performance, using :

  1. Async Python constructs for better multi threading performance.
  2. GCP’s batching mechanism for their APIs

We will share some benchmark results between the various design choices, and the resulting performance gains.

Outline

  • GCP overview / constructs that we are interested in (Eg Network, Route provisioning)
  • Challenges and considerations on Scaling GCP
  • Solutions and Best Practices incorporated to improve performance

Requirements

None

Speaker bio

Ramkumar Sankar (Ramku) is the Head, Avi Networks India. He focuses on High Availability and Software Defined Controller Architecture.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

PyCon Pune 2017 more