Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 279 d 4 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 291 d 3 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 5589 d 8 h chandranshu /trunk/ Added the missing links to create a refund  
1248 5704 d 8 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 5715 d 3 h chandranshu /trunk/PyProj/src/shop2020/ Added pool_recycle parameter to the create_engine call  
1130 5715 d 3 h rajveer /trunk/PyProj/src/shop2020/payments/impl/ modified size of the description column to 200  
746 5764 d 8 h rajveer /trunk/PyProj/src/shop2020/ support mysql added for mysql  
743 5765 d 6 h rajveer /trunk/PyProj/src/shop2020/ Logistic provider addition to order, code moved to OrderService.  
703 5770 d 6 h chandranshu /trunk/PyProj/src/shop2020/payments/impl/ Removed some extraneous commas from the data service  
701 5770 d 7 h chandranshu /trunk/PyProj/src/shop2020/ Implemented all methods of the payment service  
420 5925 d 5 h ashish /trunk/ payment service