Open RubyNova opened 2 years ago
Care to PoC this, @RubyNova ?
I don't mind us looking into this at all, especially if it means easier maintenance. However I'd like to see some performance data to support if possible/reasonable.
(If RubyNova doesn't pick this up, anyone else is free to 😃 )
I can certainly PoC it and see what I can make happen - it'll probably mean cloning the existing function and uploading a .NET 6 app to it.
Just had a thought - is it possible the function's region could introduce latency?
I understand startup times may be different depending on the lang used, but I also thought Azure Functions were regioned, meaning there is a chance of increased latency depending on where you are accessing the URL/function from...would you be able to confirm this too?
as per https://github.com/novelrt/novelrt.github.io/issues/52 it appears we have a time delay. I don't know exactly what's causing it, but I am wondering if we should consider moving this to .NET 6 instead of node so that maintainers have a better shot of maintaining it, if the delay is the same either way - especially if we want to be providing more endpoints going forward.
My main reason for this line of thinking is because I've been told that node supposedly has 0 startup time, but I somewhat remain skeptical since its effecitvely the same core as other very expensive JS-based things like chromium and electron. .NET is not only more performant but is also lighter, but I do not know if it has any startup time issues.
I would like this to be considered, even if we decide against it in the end. While this is community maintained, having maintainers being able to jump in easier I think is a good benefit we might want to have, as most of the core maintainer team do not write JavaScript.