October 2022 Summaries
5 posts from Lumigo
Filter
Month:
Year:
Post Summaries
Back to Blog
The author of the blog post discusses their experience with IoT devices, specifically with an ESP32D devkit connected to an AWS Lambda function. They encountered frustration when trying to understand how data was flowing into the application due to limited visibility into device operations. To alleviate this issue, they used observability and tracing tools, such as Lumigo's LiveTail, to monitor the flow of data from the IoT device to the Lambda function. The author also shares their experience with choosing an IoT board, setting up certificate authentication, and routing messages using AWS IOT SQL. They demonstrate two approaches to handling click logic on the cloud side: using SQS queues as a trigger for Lambda functions and moving the logic back to the Arduino sketch itself. The author concludes by highlighting the importance of monitoring AWS services with tools like Lumigo.
Oct 31, 2022
1,159 words in the original blog post.
This article discusses various optimization techniques for AWS Lambda functions, which are crucial components of serverless architectures. The author emphasizes that while Lambda is a professional service, its ease of setup and management can lead to misconceptions about performance. To improve the performance of Lambda functions, the article highlights several key optimizations: splitting dependencies to reduce code loading time during cold starts, optimizing imports by directly importing submodules, bundling code to minimize loaded code size, and applying general optimizations such as moving init code outside of function bodies, sending requests in parallel, batching items, and utilizing Serverless framework configurations. By implementing these techniques, developers can significantly improve the performance and efficiency of their Lambda functions.
Oct 25, 2022
1,411 words in the original blog post.
Python's versatility is one of its most appealing qualities, allowing developers to tackle various projects such as game development, APIs, IoT, machine learning, and web development. To scale applications effectively, it's crucial to build everything from the ground up with observability in mind. A thought experiment like Schrodinger's cat highlights the importance of observing deployed applications, which can be both throwing errors and running perfectly at the same time. The app demo created for this purpose demonstrates tracing and monitoring using AWS SQS and Lumigo, showcasing how fundamental concepts apply to real-life code. To get started with the demo, an AWS account and a connected Lumigo setup are required, along with an Amazon SQS queue and authorized IAM credentials. After cloning the repository and setting environment variables, the app can be deployed to ECS, where it's possible to observe its metrics using the Lumigo Dashboard. The demo also includes special commands like `cat`, `httstat`, and `meow` that demonstrate tracing and end-to-end monitoring in a simulated environment.
Oct 19, 2022
1,237 words in the original blog post.
AWS X-Ray is a cost-effective distributed tracing solution that provides basic observability features, but has limitations such as requiring manual instrumentation in application code and poor support for event-driven applications. In contrast, Lumigo offers a more complete solution with automatic instrumentation, automatic error capture and aggregation, issues tracking through Jira, built-in alerting and notification, and high-level performance summaries for all Lambda functions. Lumigo also captures request and response bodies in HTTP requests, provides free-text search on collected data, and has better support for event-driven applications. While X-Ray is suitable for simple use cases, Lumigo stands out as the best observability tool for serverless applications due to its value proposition and features that cater to complex application needs.
Oct 18, 2022
1,697 words in the original blog post.
The text discusses the development of Lumigo's tracing product using OpenTelemetry, a widely adopted open-source technology. The authors aim to create an easy-to-use and flexible distribution that can be used with various backends, including Jaeger. They focus on avoiding lock-in by not requiring dedicated exporters or proprietary semantic conventions. Instead, they adopt OpenTelemetry Semantic Conventions and contribute to upstream implementations. The distributions provide a no-code setup for Node.js and Python, making it easy to install and update the tracer. Additionally, they offer metadata setup, automated QA, and support for various container orchestrations. The authors emphasize the importance of compatibility, ease of adoption, and avoiding lock-in in their distribution.
Oct 03, 2022
1,052 words in the original blog post.