[Design of JBoss jBPM] - Re: new simplified menu structure
by tom.baeyens@jboss.com
"david.lloyd(a)jboss.com" wrote : "tom.baeyens(a)jboss.com" wrote : Processes : Should display a list of processes similar to the current Find Processes menu screen. By default, this screen shows only the latest versions of the processes in alphabetical order.
|
| For the new prototype, there should be two tables for Processes. One table should have a row for each unique process name, and it should contain any information that is shared between all versions of a process (even if it is just the name). The other will be a child table of the main Process table and should contain per-version information. The main process table should have link to the Process Version table representing the current "active" version. This way, the latest version of a process can be found without having to using grouping SQL operations, and also the user can easily revert to an earlier version of a process if they need to by changing a simple link.
|
| This normalization will greatly simplify the querying of process information.
Wouldn't this be nicer solved by a checkbox in the search criteria "Show all versions" which by default is unchecked ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999432#3999432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999432
19 years, 3 months
[Design of JBoss jBPM] - Re: one central search page
by tom.baeyens@jboss.com
can i conclude that there is concensus to have 2 separate search pages: one for task instances and one for process instances ?
open questions:
* will both of these have a menu item ?
* will there be a process definition search as well ?
* if not, what will be the way to start a new process instance of a process definition ?
Maybe we should have following menu items: 'Tasks', 'Processes' (process definitions) and 'Executions' (process instances)
Just a suggestion:
Tasks: shows the user task list by default. I would put the search criteria form below the user task list. By default, the current actor criteria field is set to the authenticated user...
Processes: shows the list of processes. By default the list will filter out all processes that are not the highest version for a given process name. Also here below the list, we could have the search criteria that can be refined by the user.
Executions: shows the process instances sorted by start date descending by default. Also here i would put the dearch criteria form below the actual list.
On performance: I would not be bothered by performance now. The architecture is build for scalability. Fixing issues will be dealt with later. Functionality, navigation and ease of use are more important for now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999431#3999431
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999431
19 years, 3 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Failover analysis
by timfox
"ovidiu.feodorov(a)jboss.com" wrote : Keeping a single centralized valve per connection gives a single point of bottleneck. All threads invoking into any delegate will have to acquire/release the synchronization element of that valve. This will lead to a lot of contention.
|
| Distributing the load across different valve instances will relieve some of this pressure, with no apparent drawback.
|
I don't really agree with this. You would only get a lot of contention if the threads were all attempting to get the same write lock, but in the normal case they would be getting the read lock, and multiple read locks can obtained at any one time - this is kind of the whole point of read locks.
There may be a very small synchronized region in actually executing the call to get the read lock but this is probably insignificant.
If we can reduce the scope for deadlock and make the code simpler by using a single pair of locks I would prefer that solution.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999355#3999355
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999355
19 years, 3 months