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

Implement a simple echo server with a proxy server. #10

Merged
merged 4 commits into from
Feb 4, 2024
Merged

Implement a simple echo server with a proxy server. #10

merged 4 commits into from
Feb 4, 2024

Conversation

r1ru
Copy link
Owner

@r1ru r1ru commented Feb 4, 2024

Summary

Microkernels are well suited to microservices architectures. This is because the basis of microkernels is message passing, and applications are necessarily event-driven. To prove this, I implemented a simple echo server and a proxy server. The proxy server allows the echo server to communicate over the network without modification.

How to use

  • Add hostfwd option to QEMUFLAGS.
QEMUFLAGS += -netdev user,id=net0,hostfwd=tcp:127.0.0.1:1234-:80
  • Run WasmOS on Qemu and execute the following command.
shell> start proxy
  • Connect to localhost:1234 and send data.

proxy

@r1ru r1ru changed the title Create Demo: Implement a simple echo server with a proxy server. Feb 4, 2024
@r1ru r1ru merged commit 8fdcf9d into main Feb 4, 2024
2 checks passed
@r1ru r1ru deleted the dev branch February 4, 2024 14:16
@r1ru
Copy link
Owner Author

r1ru commented Feb 4, 2024

This PR is related to #1

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.

1 participant