Comments (2)
Hi.. I am planning to use durable functions and couldn't find a way to use the servicecollection that is built in functionappconfiguration class inside the durable function. is it possible?
from functionmonkey.
Hi, I will use durable functions on a project to make function chaining, async flows & monitor (timeouts). For what I see there is no support for all the durable functions concepts right? ActivityFunction, Orchestration, Contexts, Clients, etc,
For now, I see that we will need:
1- Start a new orchestration (from an Http Trigger function) - DurableOrchestrationClient
2- Implement the orchestration flow - using the DurableOrchestrationContext
3- Implement different Activity triggers - we will need the input pass by the Orchestration
4- Resume the orchestration from an Http Trigger
I know that abstract all these concepts in FunctionMonkey, it will take some time since for now is not possible to have them what do you advise if we want to have both Durable functions & FunctionMonkey?
Solution A:
- Every function that interacts with Durable functions concepts can't be registered using the function monkey approach but needs to use the Microsoft way. If a certain Azure function (using monkey) needs to start an orchestration use a HttpTrigger for another function (no monkey) to start orchestration. To resume use some concept (this will have performance/cost impact)
Solution B:
- For the orchestrations use Microsoft API
- Register ActivityTriggers as a special Trigger. Need to be implemented on FunctionMonkey and inject the input to the ICommandHandler (is this hard?
- Have a simple Client (wrapper of ? DurableOrchestrationClient) just to start an orchestration from a CommandHandler.
- To be able to resume Orchestration improve the Client wrapper to support also raise events.
Solution C:
- Don't use durable functions at all, use Service bus to chain functions (?) and for workflows use (what?)
Any suggestion each approach should I use A, B, C (or another one)?
I think the approach B would be the best commitment, but to do that, I would need to have functionalities that don't exist on function monkey. I would like to help to develop them if you are interested, and hope my IT skills would be enough :)
from functionmonkey.
Related Issues (20)
- CamelCaseJsonSerializer does not work for ExpandoObject
- HttpResponseHandler not used for BadParameterResponse in http.csharp.handlebars HOT 1
- Receive and add CancellationToken to DI to enable for graceful shutdowns HOT 1
- Compiling Azure Functions with NuGet package dependencies fails HOT 13
- Problems with StorageQueue in 4.0.56-beta4 HOT 2
- Event Grid Triggers
- Unable to upload a file
- HowTo BeforeServiceProviderBuild HOT 1
- Solution Structure
- Http Trigger: AuthorizationLevel.Anonymous runs ClaimsPrincipalAuthorization but it should be ignored HOT 3
- How to access Cookie (and QueryString) collection ?
- Future of Function Monkey HOT 10
- Compiler Build Error with Entity Framework Core HOT 4
- Add Validators via Assembly search not working HOT 2
- Primitives / Arrays in HTTP body
- Need a way to access full HttpContext HOT 2
- FunctionMonkey.Compiler can't be built
- Accessing request headers
- Azure App Configuration in Configuration.
- CosmosDB lease container appears inoperable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from functionmonkey.