Use throttling at the first junction point between your application and the News Feed Service. Use the ELK stack for setting up a good logging and alerting pipeline. If a request goes through multiple services during the lifecycle, you can pass along a unique ID in the logs to capture a particular request across all the services.
Table of contents
Use ThrottlingOptimize Your Database QueriesFail Fast with a Circuit BreakerLog Your CheckpointsUse Kafka Over HTTP RequestsLook Out for Memory LeaksUse Caching to Prevent Excessive Database LookupUse Connection PoolingSeamless Scale-upsOpenAPI Compliant DocumentationNow you go, captain!20 Comments
Sort: