Skip to content

Example basic lambda service with external/multiple runtimes #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

heavens
Copy link
Contributor

@heavens heavens commented Jun 7, 2023

Apologies in advance if this topic has already been addressed and or is out of scope for what may be accepted as an example. A topic I've noticed being broughtup periodically is the ability to use the lambda_runtime with a custom runtime/executor instead of the one currently baked in. In light of this, I drafted a minimal example showcasing how an application that has a lambda microservice could look. I kept the implementation minimal serving as more of a proof of concept to guide users however, if required, a more in-depth example could be drafted up.

Issue #, if available:

Description of changes: This example is a fork of the current basic lambda example with the additions of running a lambda microservice within a mock application that also runs another theoretical service utilizing channels to pass messages across threads.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

…sing lambda_runtime usage alongside another runtime thread/thread pool.
Copy link
Contributor

@calavera calavera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

someone might find it useful 👍

@calavera calavera merged commit 19b8326 into awslabs:main Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants