-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Overview
Explore adding a new package to the MinimalLambda ecosystem that provides a framework for writing AWS Lambda extensions in .NET.
Background
AWS Lambda extensions enable developers to augment Lambda functions with additional capabilities such as monitoring, observability, security, and governance. Extensions run as separate processes alongside the Lambda function and can hook into the Lambda lifecycle.
Proposed Exploration
Investigate creating a MinimalLambda.Extensions package that would:
-
Provide a .NET framework for building Lambda extensions
- Simplify the extension development process
- Handle the Extensions API lifecycle management
- Offer strongly-typed interfaces for extension hooks
-
Support extension lifecycle events
- INIT phase hooks
- INVOKE phase hooks
- SHUTDOWN phase hooks
-
Abstract the Extensions API complexity
- HTTP communication with Lambda Extensions API
- Registration and event polling
- Error handling and logging
-
Align with MinimalLambda design philosophy
- Minimal boilerplate
- Strongly-typed interfaces
- Dependency injection support
- Easy to test
Reference Material
- AWS Lambda Extensions Documentation
- AWS C# Extension Example
- Optimizing AWS Lambda Extensions in C# and Rust
Research Questions
- What are the common patterns in existing .NET Lambda extensions?
- How would this integrate with the existing MinimalLambda packages?
- What API design would provide the best developer experience?
- Are there performance or cold start implications?
- What testing strategy would be appropriate?
- Should this support both internal and external extensions?
Success Criteria
- Research document outlining the proposed API design
- Proof of concept implementation
- Comparison with existing extension approaches
- Decision on whether to proceed with full implementation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels