[Design of AOP on JBoss (Aspects/JBoss)] - AOPLogging
by stale.pedersen@jboss.org
after looking into JBAOP-623 ive changed our logger to something similar to what messaging got. i havent changed the logic for when we apply our own logger (which is SystemOutLoggerPlugin), and the problem that i see is that its not applied at all when aop is running standalone.
when i run in "verbose" mode standalone i usually get:
[java] log4j:WARN No appenders could be found for logger (org.jboss.aop.instrument.InstrumentorFactory).
| [java] log4j:WARN Please initialize the log4j system properly.
this is something we should set by if its not set by the user imo.
- but i guess we cant always set org.jboss.logging.Logger.pluginClassName to our own logger since this would overwrite what others has set it to (correct me if im wrong here).
we also have a lot of System.err.print outputs in our code, should i change them to use the logger too or is it a good reason why its not using the logger? :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172539#4172539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172539
17 years, 7 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Message Chunking Performance problems
by ataylor
I've put together some figures comparing the performance of the current trunk and the message chunking work that I've been doing. It was compiled using the perf example, both sender and listener, and uses the default settings ( apart from message count ) and were all run on the same machine, my laptop. These figures can be found here, http://wiki.jboss.org/wiki/_Files/JBM2HandlingLgeMessages/messageChunking....
Basically there are 3 sets of data, the trunk, the message branch with an initial buffer size of 1k and a max buffer size of 64k, and the message branch with an initial buffer size of 1k and max buffer size of 1k, NB. Using different initial and max buffer sizes means we need auto growing buffers.
Basically the results show that if we send lots of small buffers, say 1k, it has a massive impact om performance but if we increase the max buffer size to 64k there is little or no difference.
These results are limited so if anyone has some decent hardware it would be good to see some more figures.
I was thinking we could make the initial and max buffer size configurable and set it to a default of 1k and 64k respectively.
I also tested the speed of basic writing and reading from the buffer, for 100,000,000 bytes it took 7857/1048 Milliseconds for the branch and 8918/319 for the trunk for writing and reading.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172534#4172534
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172534
17 years, 7 months
[Design the new POJO MicroContainer] - Re: Some Maven related changes
by pgier
"alesj" wrote :
| "pgier" wrote :
| | Also, is there any reason not to change the directory names to follow the maven conventions? Currently we have src/main and src/tests. I'd like to change these to src/main/java and src/test/java.
| Dunno, never thought about it.
| What else can it be if not java?
| Probably this comes in handy when you have multi-language project?
|
| If we eventually go this path,
| then you must change all of MC's subprojects. ;-)
| - http://www.jboss.org/jbossmc
|
For microcontainer we wouldn't have anything other than Java. But if we use the standard maven directory names, then I can remove that config from the poms. Yes, it's most useful when you have multi language projects which includes stuff like javacc grammar files (src/main/javacc) like we have in the app server build.
I'll plan on changing all the MC subproject directories also. And eventually the app server will change once it's fully migrated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172421#4172421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172421
17 years, 7 months
[Design the new POJO MicroContainer] - Re: Some Maven related changes
by alesj
"pgier" wrote : I'd like to make a couple of changes in the microcontainer build. The first is to change the parent/aggregate relationship so that the pom in the root directory functions as the parent. This will be more like how the app server build and the aop maven build are set up, and more like how maven builds itself. The build subdirectory will then be just for creating the combined jar files.
|
Isn't app server similar to what we have in MC?
Component-matrix ~ build?
But yeah, fine with me.
Adrian (as now my first officer :-)?
"pgier" wrote :
| Also, is there any reason not to change the directory names to follow the maven conventions? Currently we have src/main and src/tests. I'd like to change these to src/main/java and src/test/java.
Dunno, never thought about it.
What else can it be if not java?
Probably this comes in handy when you have multi-language project?
If we eventually go this path,
then you must change all of MC's subprojects. ;-)
- http://www.jboss.org/jbossmc
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172416#4172416
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172416
17 years, 7 months