please support global locking #6506
vigouredelaruse
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
This is outside the scope of what aspire has on its roadmap but would love to see others try to build this on top of whatever lower level building blocks aspire provides |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
assuming
this is a suggestion aspire would help diminish locking ad-hockery by supporting the configuration of a global locking strategy, that if it doesn't exist already, or isn't planned in some document i haven't read
.net 9 is introducing new lock semantics that will join a cognitive loading set of locking strategies that all ignore multinode deployments
who will bell the cat
while thinking about belling the cat there's the de rigeur background material on fencing tokens, replica counts and inopportune wall-clock shifts very nicely introduced
with that said here is offered a more rigorous problem statement
who
developers continue to rely on thread locking strategies and vendors continue to support such workflows with language intrinsics and framework extensions
what
thread locking strategies are usually employed to synchronize access to resources, otherwise known as gating a workflow activity sequence
unfortunately thread locking semantics represent a fossilized layer of computer science, dated to a time when solutions were needed to synchronize multiple threads, as opposed to the current condition where solutions are needed to synchronize multiple threads running in multiple hosts each running on multiple nodes that do not necessarily coexist within a uniform time zone
why
domain specific distributed locking strategies exist, chiefly known to database administrators. however a team seeking a single entrypoint into an ecosystem of cross-platform generalized distributed locking strategies will currently look in vain
where
microsoft is positioning a new development time resource orchestration model with aspire that can serve as an entry point into a distributed locking ecosystem
how
aspire offers extension points that permit
* abstraction of resource configuration and composition used for rendering service definitions
* abstraction of resource consumption by client code
to be successful it's suggested here that the proposed global locking abstractions must needfully normalize the locking semantics of the supported strategies according to the underlying global locking best practices, as well as simplify the best practice supporting devops
from this planning repo readme
regards
Beta Was this translation helpful? Give feedback.
All reactions