You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Go (TinyGo) | ✅ |[demo](https://mosn.io/layotto/#/en/start/faas/start)| Compile Code written by TinyGo to \*.wasm and run in Layotto And Scheduled by k8s. |
107
-
| Rust |TODO | TODO | Compile Code written by Rust to \*.wasm and run in Layotto And Scheduled by k8s. |
108
-
| AssemblyScript |TODO | TODO | Compile Code written by AssemblyScript to \*.wasm and run in Layotto And Scheduled by k8s. |
107
+
| Rust | ✅ |[demo](https://mosn.io/layotto/#/en/start/faas/start)| Compile Code written by Rust to \*.wasm and run in Layotto And Scheduled by k8s. |
108
+
| AssemblyScript | ✅ |[demo](https://mosn.io/layotto/#/en/start/faas/start)| Compile Code written by AssemblyScript to \*.wasm and run in Layotto And Scheduled by k8s. |
| Go (TinyGo) | ✅ |[demo](https://mosn.io/layotto/#/en/start/faas/start)| Compile Code written by TinyGo to \*.wasm and run in Layotto And Scheduled by k8s. |
105
-
| Rust |TODO | TODO | Compile Code written by Rust to \*.wasm and run in Layotto And Scheduled by k8s. |
106
-
| AssemblyScript |TODO | TODO | Compile Code written by AssemblyScript to \*.wasm and run in Layotto And Scheduled by k8s. |
105
+
| Rust | ✅ |[demo](https://mosn.io/layotto/#/en/start/faas/start)| Compile Code written by Rust to \*.wasm and run in Layotto And Scheduled by k8s. |
106
+
| AssemblyScript | ✅ |[demo](https://mosn.io/layotto/#/en/start/faas/start)| Compile Code written by AssemblyScript to \*.wasm and run in Layotto And Scheduled by k8s. |
Copy file name to clipboardExpand all lines: docs/en/start/wasm/start.md
+47-2
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ And if it becomes like this:
11
11
12
12

13
13
14
-
If developers no longer develop sdk (jar package), change to develop .wasm files and support independent upgrade and deployment, there will be no pain to push the users to upgrade.
14
+
If developers no longer develop sdk (jar package), change to develop .wasm files and support independent upgrade and deployment, there will be no pain to push the users to upgrade.
15
15
16
16
When you want to upgrade, you can release it on the operation platform. There is no need to restart the app and sidecar.
17
17
@@ -21,7 +21,7 @@ Layotto can load the compiled WASM files automatically, and interacts with them
21
21
22
22
#### step 1. start redis server and write test data
23
23
24
-
The example only needs a Redis server that can be used normally. As for where it is installed, there is no special restriction. It can be a virtual machine, a local machine or a server.
24
+
The example only needs a Redis server that can be used normally. As for where it is installed, there is no special restriction. It can be a virtual machine, a local machine or a server.
25
25
26
26
Here, we run redis with docker:
27
27
@@ -93,6 +93,51 @@ This http request will access the wasm module in Layotto. The wasm module will c
93
93
docker rm -f redis-test
94
94
```
95
95
96
+
### Dynamic Load
97
+
98
+
We can specify the WASM file to be loaded in `./demo/faas/config.json` config file:
This feature is still in the experimental stage, and the implementation of the WASM interactive API in the community is not uniform enough, so if you have any needs for this module, please post it in the issue area, we will build WASM together!
0 commit comments