January 2023 Summaries
3 posts from Lumigo
Filter
Month:
Year:
Post Summaries
Back to Blog
A good API should support broad use cases across different platforms such as mobile, embedded, and web applications. It should be easy to use with high-quality documentation and follow best practices for defining API paths and methods. An API should also be reliable, secure, and scalable to handle traffic spikes and increasing requests. Additionally, it's essential to have versioning support to cater to both legacy and current versions of an application. To demonstrate how to build and observe APIs, a pet store API was created using AWS Lambda functions that call the existing pet store API, followed by creating an API gateway to trigger these Lambda functions. Lumigo monitoring and observability were also set up to monitor the deployed pet store API.
Jan 24, 2023
1,463 words in the original blog post.
Amazon DynamoDB is a fully managed NoSQL database service provided by AWS, offering a scalable and high-performance data management solution. However, as a managed service, it requires vigilant monitoring to ensure optimal performance and troubleshoot common issues such as limited visibility, permissions, code debugging, and exception handling. Key metrics to monitor include throttled requests, latency, errors, capacity, and performance metrics like ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits, ReadThrottleEvents, WriteThrottleEvents, SystemErrors, and UserErrors. To optimize DynamoDB for performance, it's essential to monitor read and write capacity usage, choose between on-demand and provisioned instances based on traffic expectations, enable autoscaling, and design applications to utilize DynamoDB's features effectively.
Jan 18, 2023
1,557 words in the original blog post.
AWS Elastic Container Service (ECS) is a fully managed container orchestration service that enables users to easily run, manage and scale containers on AWS. ECS supports two launch types for running containers: Amazon EC2 and AWS Fargate. The EC2 launch type provides more control but requires more management, while the Fargate launch type abstracts away many complications and decision processes, making it faster and easier compared to EC2. Fargate is recommended for those just getting started with containers or have light workloads, as it runs containers without the overhead of managing and scaling servers and clusters, handles patching and maintenance, and provides operational efficiency. ECS launch types have specific ideal use cases, depending on your needs, and understanding when to use each is crucial for effective deployment. Additionally, AWS EC2 offers more control and advanced features but requires more management and can be relatively cheaper for running fully utilized clusters, especially if the task consumes a set or predictable amount of vCPU and memory.
Jan 12, 2023
1,755 words in the original blog post.