Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036518
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2017-07-20 10:172017-09-21 16:49
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q4
StatusclosedFix in branchFixed in SCM revision9933d754a9b9
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036518: useless ping to butler on every login

DescriptionWhen logging in Openbravo, community branding url is calculated, one of its parameters is internetConnection which defines whether server has access to butler. To compute it, a ping to butler is done.

This ping can take some hundreds of milliseconds, which make every single login slower.
Steps To Reproduce* case 1: Login ERP and check StaticResources request takes ~400ms
* case 2: Login POS and check ApplicationFormat request takes ~350ms (in this case is even worse as this info is not used)
Proposed SolutionHaving this statics in butler does not worth the penalty in every login: so this info should just go away.

After removing this parameter times goes down:
* ERP: from ~400ms to ~80ms
* POS: from ~350ms to ~20ms
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0035553 closedcaristu Improve scalability of the login process 
related to defect 0036504 closedalostale remove references to Basic Edition and Trial Subscription 

-  Notes
(0098144)
hgbot (developer)
2017-07-20 10:33

Repository: erp/devel/pi
Changeset: 9933d754a9b9304fb6d1aef55fdb8130ce1fe2a2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jul 20 10:33:14 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9933d754a9b9304fb6d1aef55fdb8130ce1fe2a2 [^]

fixed bug 36518: useless ping to butler on every login

  Removed this ping and the parameter in the community branding url that flags
  whether there is connectivity from server to butler.

---
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0098172)
caristu (developer)
2017-07-21 08:54

Reviewed
(0099281)
hudsonbot (developer)
2017-09-21 16:49

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9750b78d3e5c [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2017-07-20 10:17 alostale New Issue
2017-07-20 10:17 alostale Assigned To => platform
2017-07-20 10:17 alostale Modules => Core
2017-07-20 10:17 alostale Triggers an Emergency Pack => No
2017-07-20 10:18 alostale Relationship added related to 0035553
2017-07-20 10:18 alostale Relationship added related to 0036504
2017-07-20 10:18 alostale Assigned To platform => alostale
2017-07-20 10:18 alostale Tag Attached: Performance
2017-07-20 10:18 alostale Review Assigned To => caristu
2017-07-20 10:19 alostale Steps to Reproduce Updated View Revisions
2017-07-20 10:19 alostale Steps to Reproduce Updated View Revisions
2017-07-20 10:26 alostale Proposed Solution updated
2017-07-20 10:27 alostale Proposed Solution updated
2017-07-20 10:33 hgbot Checkin
2017-07-20 10:33 hgbot Note Added: 0098144
2017-07-20 10:33 hgbot Status new => resolved
2017-07-20 10:33 hgbot Resolution open => fixed
2017-07-20 10:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9933d754a9b9304fb6d1aef55fdb8130ce1fe2a2 [^]
2017-07-20 10:45 alostale Steps to Reproduce Updated View Revisions
2017-07-21 08:54 caristu Note Added: 0098172
2017-07-21 08:54 caristu Status resolved => closed
2017-07-21 08:54 caristu Fixed in Version => 3.0PR17Q4
2017-09-21 16:49 hudsonbot Checkin
2017-09-21 16:49 hudsonbot Note Added: 0099281


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker