dgraph-lambda-go
dgraph-lambda-go copied to clipboard
Generate forwarding lambdas for DGraph Cloud
DGraph Cloud does not support custom lambda servers.
Add a config flag for generating forwarders in JavaScript that forward the lambda requests on DGraph Cloud to the custom lambda server. DGraph Cloud -> DGraph Cloud Lambda -> DGraph-Lambda-Go
Questions: Is this necessary? The forwarder would probably be a simple fetch request to the custom server. It might reduce some boilerplate production.
How can the generated script be integrated into the JavaScript lambda workflow? A full forwarder (forwarding all lambda requests) is quiet easy. But it makes sense to use the JavaScript Lambda server for database close execution needs or lambda resolvers that do not need any external libraries.
What is the status with this issue on DGraph? DGraph Forum There has not been any hint to support cusotm dgraph servers, but a suggestion to use a WASM approach which is of interest. The question is whether WASM is able to support all necessary use cases.