Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35701 12 d 21 h amit /trunk/PyProj/src/ Performance fix: reduce logging level to WARNING, remove incompatible pool_pre_ping, fix tornado dependency

- Changed logging.basicConfig from DEBUG to WARNING in 6 service files to stop
SQLAlchemy query spam that caused memory bloat (TransactionServer 553MB -> 63MB)
- Set echoOn=False as default in PurchaseServiceHandler
- Removed pool_pre_ping=True from 7 DataService files (incompatible with SQLAlchemy 0.6.6)
- Updated tornado dependency from 1.0.1 to 1.0 in setup.py (1.0.1 unavailable on PyPI)
 
35608 24 d 21 h amit /trunk/PyProj/src/shop2020/ Fix DB connection pooling to reduce service restarts

- Add pool_timeout=30 to fail fast instead of hanging indefinitely
- Add pool_pre_ping=True to detect stale MySQL connections before use
- Reduce pool_recycle from 7200s to 3600s for fresher connections
- Disable SQL echo logging (echo=False) to reduce memory/CPU usage
- Fix MongoDB connection with thread-safe initialization and proper pooling

Modified services: helper, user, inventory, order, payment, logistics, catalog
 
2747 5323 d 1 h chandranshu /trunk/ Added the missing links to create a refund  
1248 5438 d 2 h chandranshu /trunk/PyProj/src/shop2020/ Made database name a configurable parameter for Payment, Logistics and Helper service to ensure that test and development databases can be different  
1131 5448 d 20 h chandranshu /trunk/PyProj/src/shop2020/ Added pool_recycle parameter to the create_engine call  
1130 5448 d 20 h rajveer /trunk/PyProj/src/shop2020/payments/impl/ modified size of the description column to 200  
746 5498 d 1 h rajveer /trunk/PyProj/src/shop2020/ support mysql added for mysql  
743 5498 d 23 h rajveer /trunk/PyProj/src/shop2020/ Logistic provider addition to order, code moved to OrderService.  
703 5504 d 0 h chandranshu /trunk/PyProj/src/shop2020/payments/impl/ Removed some extraneous commas from the data service  
701 5504 d 0 h chandranshu /trunk/PyProj/src/shop2020/ Implemented all methods of the payment service  
420 5658 d 23 h ashish /trunk/ payment service