Video: The Success Story of Server-Side Swift at Cultured Code - Vojtech Rylko - YouTube
Old Architecture
Current Modern Architecture
- Kubernetes
- Deployment
- Amazon AWS:
- Swift interacts with AWS using Soto
- Terraform: Infrastructure as code
- Amazon AWS:
- Logging:
- Fluent Bit
- CloudWatch (AWS)
- PagerDuty
- Prometheus Metrics
- Vapor
- which is built on top of Swift NIO
- Database:
- Aurora:
- Swift interacts using MySQLKit
- Offloaded database onto S3 AWS
- Redis
- Swift interop using Redistack
- Used for ephemeral data such as push notifications
- Aurora:
- Email input service:
- Things has a service where users can email and have it converted into a Todo in Things.
- Email triggers a lambda function (python), parsed using SQS, then passed to the Swift Vapor service.
-
Push notifications (APNS):