Comments (4)
I see. I think that strategy might work and that the feature could be generally useful - thank you.
While useful, it may be difficult for our team to prioritize this feature at this time without input from more users. That said, many of the features in this project are community contributions, and we'd be happy to accept a PR for this enhancement as well is anyone wants to contribute it (in which case we can publish it immediately).
from durabletask-mssql.
The following setup: hub process is running under AD account, SQL server trusted authentication, shared connection pool between task hub and domain specific logic. Multiple physical hosts, each running single hub process. Hosts are partitioned based on task hub name.
In regards to your concern. It seems to revolve around @taskHubMode = 1. This can still be enforced even with explicit task hub name (e.g. instead of deducing task hub name, assert USER_NAME() = taskHubName). Other mode then becomes application level responsibility mode.
from durabletask-mssql.
@michaelplavnik can you share more about the setup that you want to enable? There are several ways to share a database and I want to understand if there is a mechanism to enable your scenario that doesn't require explicit task hub parameters.
I anticipate it will be difficult for us to continue support the higher security model if we add explicit task hub parameters.
from durabletask-mssql.
i support this line of discussion because operating durable functions with the sql provider drives one into conflict with unforable combinations of at minimum
- 1:1 map of sql-login-name<=> task hub separation. in a dev environment with frequent code changes this is a confounding factor for retiring in-flight orchestrations that encourages bloat of 'abandoned' schemas and databases with inflight orchestrations
- tight coupling of schema names and kubernetes func deploy configuration of scalar metric as per the config below. this is a cross-cutting concern that depends on the keda autoscaler configuration
- metadata:
connectionStringFromEnv: FunctionStorage_SQLSERVER
query: SELECT dt.GetScaleRecommendation(10, 1)
targetValue: '1'
type: mssql
to expand on scale recommendations for a minute the issue seems be solvable by parameterizing the query clause in the above exhibit to abstract away the schema name placeholder as per
but that's not a simple matter of search and replace here https://github.com/microsoft/durabletask-mssql/blob/main/src/DurableTask.SqlServer/Scripts/logic.sql
instead the achievable use case i seem to be reaching for is an extension of earlier points in this msg with at minimum
- environment independent platform support for retiring inflight orchestrations
i believe the rationale posited by the original poster is in line with what i've said here. apologies if not
from durabletask-mssql.
Related Issues (20)
- Exception is not propagated to parent orchestration as expected HOT 5
- Payloads as varchar and charset of payloads HOT 7
- Always encrypted support HOT 6
- Managed identity SQL auth problems (schema creation, new instance events) HOT 4
- Fully scripted deployment not easy with the dt_rutime role added at runtime HOT 4
- Pagination become slow when alot of orchestration HOT 1
- Configurable minimum for backoff retry for polling interval HOT 1
- chatty azure insights traces HOT 3
- Add AzFunctions' Scale Controller support for managed identity HOT 1
- Multiple ExecutionCompletedEvent found HOT 9
- Feedback KEDA HOT 2
- Terminate Pending orchestration HOT 1
- Prevent termination of pods with long-running functions using KEDA HOT 2
- Incorrect Calculation of GetRecommendedScale due to UTC/Local Time formats in tables HOT 4
- SqlUtils doesn't support suspending HOT 4
- Azure SQL transient error HOT 3
- Lost Events HOT 10
- await operator on non-OrchestrationContext tasks leaves Instance in perpetual running state HOT 2
- Instance ID should be 256 char HOT 2
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 durabletask-mssql.