Open tj opened 6 years ago
Maybe this could help somehow? https://github.com/akrylysov/algnhsa
@franciscocpg https://github.com/apex/gateway — looks similar haha. Honestly it's not a big win over using the shim. I'd still like to add it, but it's not a huge priority.
ops, didn't know it :raised_hands:
Unless there's something incredibly wrong with how I've implemented golang support, the differences are not significant. https://gist.github.com/tshak/7fa2c7803ae5a27f66441752d1bd8e45
Currently there's a local proxy
Up Proxy -> Your App
, however with native Go we could now let you run native Go apps without the proxy, by embedding it, something like:Honestly I think the latency benefits would be negligible, but it's worth investigating. Another benefit would be that you can shave ~3mb off your deploy size (and time).
TL;DR this keeps all of the Up proxy features, with none of the overhead.
Runtime
? decide how to signal native support"github.com/apex/up/platform/lambda/proxy/golang"
up start
respects this