All project notes

Engineering

SalesCandy’s v3 serverless rebuild

Three architecture diagrams from AWS Activate 2021 show how SalesCandy moved from a shared server stack to separate managed services.

v1 · An outsourced MVP, 2017

The first diagram shows the web app, mobile app, and lead sources passing through a shared path to the application servers and a single RDS database. SalesCandy outsourced development of this first version.

The web app, mobile app, and lead sources share a delivery path through CloudFront, a web application firewall, a load balancer, EC2, and RDS.
v1 architecture extracted from slide 8.

v2 · A more complex stack, 2018

As SalesCandy added features and brought engineering in-house, its stack acquired separate compute and database components and a static storage path. Rosli identified uneven load as one of the scaling problems the team faced.

The v2 system adds separate compute and database components and an S3 storage path behind the shared edge services.
v2 architecture extracted from slide 9.

v3 · Managed services with distinct jobs, from 2019

CloudFront served the Angular app from S3. The web and Android apps used a shared GraphQL API through AWS AppSync to reach Lambda services for user and lead management. External lead sources entered through a separate API Gateway and Lambda path. Aurora and DynamoDB served different parts of the application. That gave the team distinct places to change or scale the web app, the client API, and lead intake.

CloudFront serves the web app from S3. AppSync connects web and mobile traffic to Lambda services, while external leads enter through API Gateway and a separate Lambda.
v3 architecture extracted from slide 17.

Source. SalesCandy’s archived AWS Activate presentation, revised deck dated 22 June 2021, slides 8–12 and 17–18. Architectural review