-
Notifications
You must be signed in to change notification settings - Fork 50
Fixing Performance issue of team page by Adding cache in 3.x #1210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.x
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 3.x #1210 +/- ##
=========================================
Coverage 44.24% 44.24%
Complexity 3070 3070
=========================================
Files 344 344
Lines 11235 11235
=========================================
Hits 4971 4971
Misses 6264 6264
🚀 New features to boost your workflow:
|
|
Hi @boobaa , This PR partially optimizes the team listing. Team data is cached on the first load. For all subsequent requests, the data is retrieved from the cache, leading to a significant performance gain—we observed a nearly 50% reduction in load time starting from the second load. Next Step:Optimizing Data Rendering in Drupal, which we've identified as the next major area for speed improvement. |
|
Hi @divya-intelli , Sounds like a good first step. As a test, I have a local site with drupal/apigee_edge:3.0.13 which is configured to fetch ALL the Apigee-related data for the
So while this seems to be a good first step, further optimization is still needed. Whether it's regarding data rendering or something else in Drupal, I'm not sure. Some profiling could help identifying the most painful parts in the code, but I didn't have the bandwidth for that. |
|
Thanks @boobaa for testing this PR. My investigation into the latency issue identified that the primary cause was the time consumed by data rendering. Consequently, pagination was adopted as the optimal solution to effectively address and optimize this rendering constraint. We have successfully implemented Drupal pagination ( PR #1212 ) to address this, resulting in a 50% reduction in initial page load time. By combining this with caching logic (PRs #1212 and #1210 ), subsequent page loads (2nd, 3rd, and beyond) are now seeing an even greater performance boost a massive 80% to 85% reduction in load time, as all subsequent pagination data is served from the cache. |
Fixing Performance issue of team page by Adding cache
Partial Fix for #1150