Azure / Azure/azure-functions-host
Add Singleton support for Functions to ensure only one function running at a time
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
We should discuss whether we want to bring this functionality forward for Functions. However, it will be relatively simple for us to do - we just need to expose new properties via function.json for function level singletons. See [here](https://github.com/Azure/azure-webjobs-sdk/wiki/Singleton) for singleton doc.
In addition to Function level singleton support, we might also consider supporting Listener level Singleton as well.
When we do this, we should make sure it works across multiple languages (not just C#)
Contributor guide
Research direction
Start with the linked Singleton documentation and the function.json properties mentioned in the issue. Clarify the intended function-level and listener-level scope, including behavior across languages, then define the tests and acceptance criteria for ensuring only one function runs at a time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100