Skip to content

Conversation

@fabianfett
Copy link
Contributor

Motivation:

In the coming weeks, we want to restructure the LambdaRuntime internals in such a way, that we allocate a lot less resources per invocation. To accomplish this, we want to encode and decode the ControlPlaneAPI requests directly from their semantic value. For this reason, we need a specialized ControlPlaneRequest and ControlPlaneResponse type that we can encode from and decode into.

Modifications:

  • Add ControlPlaneRequest, ControlPlaneResponse
  • Move Invocation and ErrorResponse into same file as ControlPlaneRequest
  • Remove Lambda namespace around Invocation

Result:

  • We can add encode methods for ControlPlaneRequest in a follow up PR
  • We can add decode methods for ControlPlaneResponse in a follow up PR

@fabianfett fabianfett added kind/enhancement Improvements to existing feature. 🔨 semver/patch No public API change. labels Dec 6, 2021
@fabianfett fabianfett requested a review from tomerd December 6, 2021 07:24
@fabianfett fabianfett merged commit b8d89ca into awslabs:main Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Improvements to existing feature. 🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants