Video: https://www.twitch.tv/videos/177667117
"In God we trust, all others bring data" W. Edwards Deming
Performance 👎
- Latency
- Throughput
- Latency ⍺ Concurrent Users
- Throughput ⍺ Dataset Size
Guessing 👎
- Exploratory Data Analysis
- Performance Percentiles
- Flaming Graphs
- Decision Matrices
Waterfal 👎 Iterative 👍
Decision Matrix | Weight | DynamicDB | MondoDB | Alexandra |
---|---|---|---|---|
Score | ?? | ?? | ?? | |
Latency [.5s] | 5 | ? | ? | ? |
Throughput | 3 | ? | ? | ? |
Cost | 4 | ? | ? | ? |
Support | 3 | ? | ? | ? |
License | 3 | ? | ? | ? |
Documentation | 4 | ? | ? | ? |
Community | 4 | ? | ? | ? |
- https://github.com/awslabs/serverless-application-model
- https://serverless.com/
- https://github.com/aws/chalice
- http://apex.run/
Abby on Twitch: https://aws.amazon.com/twitch/live-coding-with-aws/ (Containers section)
- CPU
- Memory
- [Disk]
- [GPUs]
- [FPGAs]
- Net[s]
HVM vs. Paravirtual: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html
New Instances / Intel Features: https://aws.amazon.com/blogs/aws/ec2-instance-type-update-t2-r4-f1-elastic-gpus-i3-c5/ FPGA Instances: https://youtu.be/8RrbUyw9uSg?t=34m47s
I.S. | EBS | |
---|---|---|
Durability | Ephemeral | Durable |
Access | Local | Net |
Capacity | Predefined | Provisioned |
Cost | Included | Extra |
CAP: https://www.infoq.com/articles/cap-twelve-years-later-how-the-rules-have-changed
Cloudfront: https://aws.amazon.com/cloudfront
API Gateway: https://aws.amazon.com/api-gateway/
AWS IoT: https://aws.amazon.com/iot/
AWS Kinesis: https://aws.amazon.com/kinesis/
Direct Connect: https://aws.amazon.com/directconnect/
PERF 6. How do you ensure that you continue to have the most appropriate resource type as new resource types and features are introduced?
- Tecnology Radars: https://www.thoughtworks.com/radar
- Industry References: https://www.infoq.com/
- Conferences: https://www.papercall.io
- Meetups: https://aws.amazon.com/usergroups/
AWS X-Ray https://aws.amazon.com/xray/
Active and Passive Monitoring
Technique | Applies To | Uses | Gains |
---|---|---|---|
Caching | read-heavy | Space | Time |
Sharding | write-heavy | Size & Complexity | Time |
Compression | large data | Time | Space |
Buffering | many requests | Space & Time | Efficiency |
A/B Deploy | delivery | cost | availability |