Optimizing Performance and Security: Crafting Robust APIs
Offered By: Conf42 via YouTube
Course Description
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
Related Courses
API Design and Fundamentals of Google Cloud's Apigee API PlatformGoogle Cloud via Coursera API Development on Google Cloud's Apigee API Platform
Google Cloud via Coursera SAP Cloud Platform API Management
SAP Learning Developing APIs with Google Cloud's Apigee API Platform
Google Cloud via Coursera Building Modern Nodejs Applications on AWS
Amazon Web Services via edX