PyCon Pune 2017

A conference on the Python programming language

PyCon, the gathering for the community using and developing the open-source Python programming language. This is the first year of the PyCon Pune where the community will meet for two days of talks and working on upstream projects in two days of dev sprint. CFP ends on 30th November AoE.

Hosted by

PyCon Pune 2017 more

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