Hello,
Please could you help me with these performance related questions
1) Your company has recently released the first version of a company's web site. The application is experiencing severe performance problems on the production box.
Which one of the following is NOT going to have a positive effect on the performance of the application?
Option 1 Precompiling JSPs.
Option 2 Increasing the number of connections in a connection pool.
Option 3 Packaging custom actions in a single jar file.
Option 4 Reducing verbosity of a logging subsystem.
Option 5 Disabling shrinking in a connection pool.
I think right answer is Option 3?
2) Your application must frequently display data for 3,000 tickers. Each ticker has approximately 20 financial ratios represented as double values.
Referring to the scenario above, which one of the following will result in the fastest response time?
Choice 1 Go to the database for each client's request to read 3,000 lines (one line per ticker).
Choice 2 Pre-generate and store pages in the database in the compressed format.
Choice 3 Create a central cache of ticker data, and put a deep copy of the cache in each HttpRequest.
Choice 4 Create a central cache of ticker data and access it from various pages.
Choice 5 Create a central cache of ticker data, and put a deep copy of the cache in each client's session; access that copy from various pages.
3) How can storing session information in a Session Bean be more scalable over storing session information in HttpSession?
Choice 1 Session Beans can use container managed persistence.
Choice 2 Session Beans can be used by multiple client threads.
Choice 3 HttpSession requires use of cookies or URL rewriting.
Choice 4 Session Beans can survive a server crash.
Choice 5 Session Beans can be activated/passivated.
I think Choice 5 is the right answer?
Please could you help me with these performance related questions
1) Your company has recently released the first version of a company's web site. The application is experiencing severe performance problems on the production box.
Which one of the following is NOT going to have a positive effect on the performance of the application?
Option 1 Precompiling JSPs.
Option 2 Increasing the number of connections in a connection pool.
Option 3 Packaging custom actions in a single jar file.
Option 4 Reducing verbosity of a logging subsystem.
Option 5 Disabling shrinking in a connection pool.
I think right answer is Option 3?
2) Your application must frequently display data for 3,000 tickers. Each ticker has approximately 20 financial ratios represented as double values.
Referring to the scenario above, which one of the following will result in the fastest response time?
Choice 1 Go to the database for each client's request to read 3,000 lines (one line per ticker).
Choice 2 Pre-generate and store pages in the database in the compressed format.
Choice 3 Create a central cache of ticker data, and put a deep copy of the cache in each HttpRequest.
Choice 4 Create a central cache of ticker data and access it from various pages.
Choice 5 Create a central cache of ticker data, and put a deep copy of the cache in each client's session; access that copy from various pages.
3) How can storing session information in a Session Bean be more scalable over storing session information in HttpSession?
Choice 1 Session Beans can use container managed persistence.
Choice 2 Session Beans can be used by multiple client threads.
Choice 3 HttpSession requires use of cookies or URL rewriting.
Choice 4 Session Beans can survive a server crash.
Choice 5 Session Beans can be activated/passivated.
I think Choice 5 is the right answer?