Home / Companies / Lumigo / Blog / May 2022

May 2022 Summaries

2 posts from Lumigo

Filter
Month: Year:
Post Summaries Back to Blog
Lumigo, a monitoring and debugging platform for serverless applications, has developed an IntelliJ plugin that automatically maps user serverless.yml files, locates functions, and adds a Lumigo icon to open the corresponding function directly in Lumigo. The development of this plugin was a challenge for two frontend developers who had to learn Java and Kotlin to overcome language barriers. They used PSI (Program Structure Interface) files and an add-on called PsiViewer to visualize the code structure. The plugin's functionality includes faster performance, improved product engagement, and better assistance for developers. The plugin's creation was made possible by Lumigo's 10% investment in personal development, allowing employees to use their working time to invest in personal projects or self-development.
May 26, 2022 1,116 words in the original blog post.
AWS Lambda execution lifecycle consists of three main phases: initialization, invocation, and shutdown. In the initialization phase, a Lambda creates its runtime environment, downloads code, imports necessary modules, and runs initialization code. During the invocation phase, the Lambda processes an input, produces output, and waits for the next input, eventually moving to the shutdown phase after idle time exceeds a threshold. To add capabilities beyond these phases, AWS provides Lambda extensions, which can be categorized into external and internal extensions. This response will focus on using external extensions. An example use case is building a cross-runtime log shipper without modifying the Lambda function itself. External extensions enable registering events for specific phases and sending HTTP requests to AWS to register and complete tasks. The process involves storing a unique identifier from AWS, waiting for the next phase, and informing the extension name to AWS. Solutions like lambda-log-shipper provide pre-built implementations of log shipping and other use cases, allowing developers to easily get started with extensions without implementing everything by themselves.
May 17, 2022 1,155 words in the original blog post.