Replies: 1 comment
-
While I am here it’s worth considering this https://github.com/syumai/workers it’s a golang WASM framework for running functions on Cloudflare. it would be super cool to build topologies where functions can run in Cloudflare and also in nats nex. You can imagine the CDN doing certain functions and the Origin doing others. The CDN level function could call out to a nex Origin via a http request; TCP also works here btw , so nats.go might work too. The Origin nats nex could call out to the CDN function via a web hook, to wake it up to do some processing. The same patterns could be done with nats leaf nodes too , instead of Cloudflare, But a different hooking mechanism. Food for thought.. Really liking where NATS NEX is going. The docs show the ideas well, despite everything not working fully. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/synadia-io/nex/tree/main/examples/wasm Is rust
could we have the same in golang ? Just easier to play with it .
It might be that the wasi features of golang are not yet mature enough to do this with tinygo or golang WASM compiler ?
Am really liking how nex hangs together .
Just want to see how far I can take it and the above would be fab ..
Beta Was this translation helpful? Give feedback.
All reactions