Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Distributting app. logic for performance.  RSS feed

 
Tonny Tssagovic
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,
I have read an interesting paper made by JMOB group (object web http://rubis.objectweb.org/ RUBis project) where they compare different architectures (servlet + JDBC, Servlet + session beans ..)and their performance. It seems however that the servlet alone solution always outperforms the EJB ones.(probably do to the overhead of the middleware..) .
Could anyone give me an example where an EJB solution outperforms a servlet-alone solution? As far as I understand, If the business Logic takes longer time to compute than to call a remote object (roundtrip + marshalling +unmarshalling - time not used by the process while blocking and waiting for the remote object) than splitting the business logic, and letting it run on an other server (a J2EE EJB container) and using RMI-IIOP to connect the servlet to the EJB will make sence, is this true? (common sence, but could you please comment on it)
Do you guys know any tool that help you compute the time used in different app. modules, and suggests a distribution according to some params. (like network and computer speed, JVM used and so on!!)

PS: I am talking pure performance.. but comments about high availibility under peak load will also be interesting;-)
Thanks in advance!!Rubis
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If ever there was a question more suitable to our "performance" forum, this is it. So i've moved it there for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!