| 37250 |
7 h 19 m |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
perf: speed up /partner/listing by batching partner-level data and parallelizing solr calls
- Fetch stock snapshot, favourites, web offers, combo models, CIS, items,
cashback and price circular once per request (union of all listings'
catalogs/items) instead of once per listing
- Precompute slab-payout/scheme-offer alignment once per catalog so shared
PriceCircularItemModelNew instances are not mutated twice
- Fan per-listing solr queries out on a bounded thread pool; brand exclusion
resolved once on the request thread (Hibernate session is thread-bound)
- Drop per-doc info logs (full stock map, label dumps, solrtype) |
|