Java Saas Product is very slow [closed]?

It could be any number of reasons, though I doubt Apache has anything to do with it. Possible reasons include: unoptimized queries database tables don't have indexes where they are needed your database server hardware is crap your algorithms and choice of data structures are bad you are calling database too many times (requesting data even though it was loaded on previous screen etc..) your database configuration and caching might be wrong your frontend technology might be problematic (JSF is slow compared to JSP) First thing you should do is figure out how much time per page render is spent querying database, how much on application server. You should also record count how many queries are executed per render (and which ones).

Then substract these 2 times from time to load the page on the client side and you get the third time which is time to output the page to the client and to render the page on the browser. If the time spent in the database on a single query is large then use a database profiler to see where DB is performing long table scans and set up indexes there. If the query returns a lot of data but you are using just a bit of it, try writing a more specific query.

If your spend a lot of time in DB because of the number of queries try to reduce the number of queries by caching or reusing data on application server. If time spent of application server seems to be the problem you might need to rethink your algorithms and design choices. If a lot of time is spent in the third part - transferring and rendering it on a client, try optimizing javascript, using expiration headers on your static content, CDNs, etc... Download and install YSlow pluging and use it to test your page and follow its suggestions.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions