Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Solution - Interview Questions and Answers for 'Performance improvement' - 2 question(s) found - Order By Rating | ||||
This question can be asked in different variants like performace improvement of an application, improving performance for DB communication etc. | ||||
| ||||
Ans. This depends on entirely upon the code type. For example 1.If its just logic, we can try it to short circuit or put the if / switch case with maximum probability in the beginning. 2. Can use faster data structures, for eg - random retrieval instead of sequence / iterator 3. Working with primitive types or even bytes instead of Objects, even though it may result in marginal improvement. 4. If its service call, then service call with bulk load can help 5. If DB Operation, then with use of Indices , Views or using ORM , cache etc. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  performance improvement  code optimization Asked in 1 Companies | ||||
Related Questions | ||||
What things you would care about to improve the performance of Application if its identified that its DB communication that needs to be improved ? | ||||
| ||||
Ans. 1. Query Optimization ( Query Rewriting , Prepared Statements ) 2. Restructuring Indexes. 3. DB Caching Tuning ( if using ORM ) 4. Identifying the problems ( if any ) with the ORM Strategy ( If using ORM ) | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   db   database   hibernate   orm   at&t   overstock.com   performance improvement   architecture   technical lead   architect intermediate | ||||
Related Questions | ||||
Why do we need Inner classes ? Cant we just work with outer classes wherever we implement Inner classes ? | ||||
Difference between first level and second level cache in hibernate ? | ||||
What are the benefits of using Spring Framework ? | ||||
What are various types of Class loaders used by JVM ? | ||||
Difference between SAX and DOM Parser ? | ||||
What things should be kept in mind while creating your own exceptions in Java? | ||||
How to implement an immutable class ? | ||||
Difference between C++ and Java ? | ||||
If I try to add Enum constants to a TreeSet, What sorting order will it use ? | ||||