Request Processing Optimization
Learn Request Processing Optimization (Performance Optimization, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Request path : DispatcherServlet runs filters, handler mapping, interceptors, argument resolvers, the controller and message converters; each step costs time. Keep it short : do little in filters and interceptors, and keep controllers thin. Do work once : avoid repeated parsing, repeated lookups and repeated serialization.