Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Optimizing Performance and Security: Crafting Robust APIs

Conf42 via YouTube

Overview

Explore a comprehensive conference talk on optimizing API performance and security in Golang. Discover essential strategies for crafting robust APIs, including authentication and authorization techniques, input validation, audit trails, and secure password management. Learn about the importance of using config files, masking sensitive data, implementing rate limiting, and ensuring secure communication. Delve into performance optimization techniques such as optimized database queries, caching, pagination, and microservices architecture. Gain insights on building robust APIs through early failure detection, appropriate status code usage, graceful error handling, and context passing. Understand the significance of ACID compliance, structured logging, health checks, retry mechanisms, and metrics exposure. Conclude with valuable tips on versioning for maintainability and key takeaways for creating high-performance, secure, and resilient APIs in Golang.

Syllabus

intro
preamble
whoami
things we want our api to be
secure - authentication / authorization
validate unputs
log user activity audit trails
use appropriate response
password management
use config file vs env vars
mask sensitive data
implement rate limiting
secure communication
patch your dependencies
fast - use optimized database queries
implement caching
pagination
break into smaller service
robust
fail early fail fast
use appropriate status code
don't just check errors, handle them gracefully
context passing
acid compliance
context passing
use structured logs
implement health checks
handle retries gracefully
expose metrics
version for maintainability
conclusion
thank you

Taught by

Conf42

Reviews

Start your review of Optimizing Performance and Security: Crafting Robust APIs

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.