• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Response Time

 
Nancy Dawson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is this requirement that response time should not be more than 15 seconds, what class can you use to ensure that a transaction that is taking too long gets cut off
 
Santiago Urrizola
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must think in other type of desitions, like, wich transaction mechanism, wich type of ejb, persistence, client server communication ... etc. In terms of performance.
 
Cleuton Sampaio
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nancy,

Santiago is right.

You have timeout mechanism to deal with that (Connection Timeout, Http Timeout). But this is not the main cause of bad response time. Garbage collection, bad load distribution, bad separation of layers, inappropriate use of entity beans (collection of Entities) etc.

I have read Mark Cade�s book and I followed his advices, so I am not using entity beans at all... Only DAOs. But I have seen people that used Entity beans and passed and vice-versa. I think you must tell them whether your solution is scallable and why. You will have to justify it in the Essay exam (part III).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic