Hi,
I am performaing load testing on Jboss 4.0.0 and expecting 500 messages/second.
I have simple HTTPServlet implemented which receives HTTP POST messages (approx
100 characters string) and put in hsql database table. (I have to use hsql :( )
1. What should be thread pool configuration in Jboss for such load? Below is
server.xml of tomcat.
(server.xml)
< Connector port="8080" address="${jboss.bind.address}"
maxThreads="500" minSpareThreads="75" maxSpareThreads="150"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" / >
2. I understand that each request is handled by JBoss in *different* thread. So
my application does not require their own thread pooling. Please correct me if
wrong.
3. I am using inbuilt HSQL database for storing messages. What is maximum
number of connection possible at a time with this database (basically, can HSQL
handle this much load - as each message by thread is going to added in a
table). What should be my min/max pool size of hsql?
(hsqbdb-ds.xml)
<!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed
on first use -->
<min-pool-size>30</min-pool-size>
<!-- The maximum connections in a pool/sub-pool -->
<max-pool-size>100</max-pool-size>
I have gone through tuning/slimming of jboss wiki and did optimization. But
still i am getting connection refused in client. Also JBoss server memory grows
over period of time eventually causing out of memory.
Does database connection plays here?
I am using -Xms512M -Xmx1024 option.
My Server is PIV 3 GHz - 2 GB - Windows XP SP2.
JBoss version 4.0.0 with inbuild HSQL database.
Appreciate your prompt reply.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931141#3931141
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931141
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user