Skip to content

Polly Architecture

Polly is a cloud based Software as a Service (SaaS) solution. Below diagram details out various layers of Polly.

Polly Architecture

Figure 1. Polly Architecture


Polly’s infrastructure is powered entirely by managed cloud providers - AWS and Azure. Backed by AWS and Azure’s massive infrastructure, Polly is fast, secure, highly available & scales seamlessly.

It uses managed cloud services like AWS S3, DynamoDB, RDS (running PostgreSQL), AWS ElasticSearch Service, AWS Lambda, Amazon API Gateway, Amazon Cloudfront, Amazon Cognito. Polly’s computational infrastructure is powered by Kubernetes used to orchestrate Docker containers on both AWS and Azure. It is highly scalable and compatible with all cloud providers.

Polly infrastructure is deployed in US West (Oregon) Region on AWS and West US2 (Washington) on Azure.

Micro-services & Serverless architecture

Various parts of Polly are built and deployed as micro services. This allows for better fault isolation and resilience. A focus on managed serverless components like API Gateway, Lambda functions, S3, DynamoDB, S3 etc also allows Polly to scale seamlessly under high load.

Technology Stack

Polly’s micro-services architecture pattern allows the development teams to choose different technologies that are best suited to those parts. Polly has been built ground up using Python3.6, Angular11, NodeJS, R & R-Shiny.

Third Party Integrations

File uploads from Polly front-end is powered by Filestack. Sentry integration allows Polly developers to monitor errors and fix them faster. Mixpanel is used for gathering usage analytics which help product owners refine and improve platform capabilities and user journeys.