Alex Xu V2 - General Notes

Rest API

Don’t use verbs in the URL name, not getAllProducts, just Products with a POST request

I shoudl mention that I’ve developed my own APIs


Kafka can cache on disk

Redis Elastic Search for inverted Index

SQL has some caching too for frequent things


Physical Layer -> Ethernet connections

Data Link Layer -> Headers and Data and TCP ehaders

Network Layer -> IP

Transport Layer -> TCP vs. UDP

Session Layer

API Gateway

Rate limiting Allow-deny list Authentication Parameter validation

Service discovery

API Architecture Styles


API Testing

Smoke testing

Functional testing

Integration testing

Regression testin

Load testing Stress testing Security testing Fuzz testing