Comments (8)
Parallel should be possible using multiple queues and thus processing streams
It should still be sequential for a specific item, but for different unrelated items it should be fine to run in parallel this way.
from cakephp-statemachine.
Thank you for your answer.
So for one specific item there is no way, at present time, to run multiple queues to get a parrallel behavior.
Anyway I'll continue to dig in the documentation, to try to understand queues and sub queues.
Or I'll have to change the strucutre of my tables.
One more time, thank you for your answer.
from cakephp-statemachine.
I dont understand how that would work, since a state machine graph is a chain of transitions
paralyzing this only creates conflicts in this chain, no?
from cakephp-statemachine.
from cakephp-statemachine.
hum the main link has disappered for m my previous answer.
SO I copy it again .
Main credits belongs to this site
from cakephp-statemachine.
IMHO parallel routing in statemachines, is well adapted for humantreatment, checking or validation of an item.
Still thinking of a Hiring Validation system.
Let's imagine than on the field a manager filla form for hiring someone,
then some N+1 or more levels Will have to validate or reject this demand.
In a sequential routing system, these human steps will last an eternity
if these humans don't check their daily todo list.
- In a parallel routing :
- as soon the budget manager will say "NO! Too much expensive!"
- the rest of the validation is unuseful.
In the sequential routing system :
- may be the budget checking step is not the first one
- have to wait than each one of others humans has done his job.
from cakephp-statemachine.
I am fairly certain what you describe is out of scope of this plugin.
Feel free to make PRs if you feel otherwise. But I dont think there is capacity from our side to change things that dramatically right now.
from cakephp-statemachine.
I agree with you. anyway thank for your time.
I'll try to use this plugin anyway.
I'll try the following strategy: Create a 'swarm' of small finite state machines, depending only on the role of the user (the verifiers). these little machines will simply have to answer a yes or no question and will have a single task to perform.
from cakephp-statemachine.
Related Issues (4)
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 cakephp-statemachine.