Skip to content
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

Multi-module support #6

Closed
gzurl opened this issue Oct 18, 2022 · 0 comments · Fixed by #27
Closed

Multi-module support #6

gzurl opened this issue Oct 18, 2022 · 0 comments · Fixed by #27
Assignees
Labels
🚀 enhancement New feature or request

Comments

@gzurl
Copy link
Contributor

gzurl commented Oct 18, 2022

Currently, only one Wasm module with a unique configuration can be loaded at a time.

At first glance, we might want to consider two different scenarios:

  1. Different Wasm modules on the same Apache instance, each of them attached to a different route.
  2. One Wasm module serving different routes, but with different configurations.

In this issue, we will focus on 1). See #7 for the scenario 2).

Different Wasm modules at the same time involve, at least:

  • Data structures storing httpd.conf mod_wasm directives need to be duplicated (once per module).
  • Data structures for WASI context need to be duplicated too (ie: stdout buffer)
  • Incoming HTTP requests need to be routed to the right Wasm module.

A first goal for this feature could be to serve PHP and Python Wasm modules by only one Apache instance.

@gzurl gzurl added the 🚀 enhancement New feature or request label Oct 18, 2022
@gzurl gzurl self-assigned this Oct 20, 2022
gzurl added a commit that referenced this issue Nov 25, 2022
Multi-module and Multi-configuration support. Fixes #6, #7, and #16.
@gzurl gzurl closed this as completed in #27 Nov 25, 2022
@gzurl gzurl changed the title Support for different Wasm modules at the same time Multi-module support Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant