[Design of Messaging on JBoss (Messaging/JBoss)] - LinkedList Factor on the Journal...
by clebert.suconic@jboss.com
On the journal, all the messages from all the destinations are stored on a single journal.
Suppose this scenario where a customer is using two destinations:
- FastDestination
On this destination, a consumer will be aways there to listen to messages
- LazyDestination
On this destination, a consumer needs to take the action to connect itself (think about e-mails). So he will take days to connect itself again.
Adds and deletes are coming for FastDestination but not for LazyDestination.
For example, you could have something like that on the journal
File1
10 Add Records for Lazy
8000 Add Records for Fast
File2
8000 Delete Records for Fast
100 Add Records for Fast
File3
100 Delete Records for Fast
300 Add Records for Fast
File4
599 Add Records for fast
...
On this simple Example... even though all FastRecords from File1, 2 and 3 are gone, the Journal won't be able to reclaim any files until these 10 Lazy records are gone.
If Lazy takes for instance 3 days to read its destinations, we will need probably 1 thousand journal files on the journal (or even more).
It will be fairly difficult to eventually reload the journal (It would require a lot of memory).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167653#4167653
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167653
17 years, 4 months
[Design of JBoss jBPM] - Re: login 'unification'
by kukeltje
Heiko,
Sorry for the kind of rude tone in my comment in Jira, but there are so many changes and things going one without (at least for what it seems public) discussion that it is very hard to follow things and still have a clear overall picture. I sometimes get the impression that people making changes also have no clear picture, a clear picture of jBPM that is. The fact that you ask what the relation is with the identity module to me is an example of this (no offence). Changes like this login config lead to unnecessary discussions, frustrations if changes are discussed upfront.
Ok, now the elaboration.
The identity module can be used to do assignments in the workflow engine. There is a kind of 'expression language' that can be used to decide e.g. who should get a task. The default implementation of this uses the database with users, groups, role etc... so when part of this is in files, we either have to duplicate things, keep them in sync or rewrite the identity module to use files (nah... ). The login-config.xml currently uses the same database as identity module, so things are shared and *unified*.
Using the database instead of files would solve this, so keeping things as they are... regardless of using a .sar for this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167565#4167565
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167565
17 years, 4 months
[Design of JBoss jBPM] - applying the hudson jobs in the sources
by tom.baeyens@jboss.com
0) do you know any docs that explain the schema of the hudson configuration files ? or do you create them through the web user interface configure page and then copy them from the hudson instance to the source repository ?
1) what do we have to get the hudson jobs defined in the sources configured in an existing hudson instance (like our QA lab)
i assume the ant.properties.example and the build.xml has something to do with it.
* can that be applied to a running hudson instance ?
* can those targets be applied to a hudson instance that has other jobs (like in our QA lab) ?
* do you envision an automatic update mechanism that synchronizes the hudson configurations in the sources to the hudson installation ?
2) do you know if it is possible to share this configuration between Bull and JBoss. we would like to have all job configurations in svn, but then Bull and JBoss would each only execute a subset of those configurations on their own QA boxes.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167553#4167553
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167553
17 years, 4 months