Skip to main content

Introduction

The following picture shows the basic architecture the BaiBai platform is built on.

AWS (Amazon Web Services)

We’ve been working with AWS services for 15+ years. That’s why we have choosen to build the BaiBai platform on top of AWS services, which are reliable and scalable. Here are some of the services we are using:
  • ASG/ELB: Auto Scaling Group and Elastic Load Balancer for high availability and scalability.
  • EC2: Scalable servers that host the BaiBai Site, BaiBai Trading Terminal as well as the backend servers for all our features.
  • RDS/DynamoDB: Scalable databases to store most of the data.
  • S3: Scalable long-term storage for backups.
  • CloudFront: Content delivery network for fast delivery of static assets.
  • Redis: Low latency, realtime Pub/Sub messaging system that connects all the services.
  • Elasticache: In-memory data store acting as a caching layer.

Cloudflare

We use Cloudflare for DDoS protection and security.

Workers

Workers are the core of the BaiBai platform. They are responsible for running the bots, backtests and all the realtime data processing.
Our architecture is designed on a plugin system, which allows us to easily add new type of workers.

External APIs & Services

The BaiBai platform uses a wide range of external APIs & services. Here are some of the services we are using: