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

Create WASM based demo of Shotover #3

Open
benbromhead opened this issue Oct 19, 2022 · 0 comments
Open

Create WASM based demo of Shotover #3

benbromhead opened this issue Oct 19, 2022 · 0 comments

Comments

@benbromhead
Copy link
Member

It would be super cool to let people play with shotover in a sort of WASM powered demo that runs right here in their browser. For example see https://supabase.com/blog/postgres-wasm.

There are a few ways to go about this

  1. would be to have everything run in a WASM based virtual machine. This would be the easiest in terms of getting a Cassandra / Kafka node running (running in a VM for the JVM is probably simplest). Though this is likely to be quite a big download.
  2. Compile all the deps to native WASM (including the JVM, shotover etc) and run directly. This is probably madness, but could be interesting (see https://linuxtut.com/en/ed1b7c139e7e9749e264/)

The end product would run say a single cassandra instance, a single redis instance, shotover and then some sort of client, to demonstrate everything happening in the backend.

If we actually just wrote some WASM based VM that would take a docker compose file and just run it... that would be super cool and easy to run the demos.

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

No branches or pull requests

1 participant