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
basically i have one function that uses multiple http triggers, but each trigger has a different context (basically opens up a different DB connection). And the HTTP request needs to access this different context information, and since objects cant be shared between different contexts (workers) then i must use different HTTP triggers.
One could argue that i could use different functions to achieve that, however the overhead of using 1 function per connection instead of 1 context per connection turned out to be quite high in my case.
i have got one instance in which i am using about 22 connections (triggers) consuming a total of about 500MB of RAM, while one function would require about 80MB of RAM which would totalize to about 2GB of RAM (4x more)
btw, how did i get here? basically while finding a solution to the same underlying use case as described in: #2352 (comment)
Feature Type
Adding new functionality to Nuclio
Changing existing functionality in Nuclio
Removing existing functionality in Nuclio
Problem Description
unfortunately not currently possible to have more then one HTTP trigger on the same function
Feature Description
It would also be great to be able to attach different Gateways to different HTTP triggers (ports)
Alternative Solutions
i am currently not aware of any
Additional Context
No response
The text was updated successfully, but these errors were encountered: