-
Notifications
You must be signed in to change notification settings - Fork 0
[$200] Priority - performance on prod #304
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
Comments
Contest https://www.topcoder.com/challenges/30159433 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30159433 has been updated - it has been assigned to obog. |
@jmgasper let's check cache. Admin role required. Go to Plugins (/dashboard/settings/plugins). Enable Debug Bar. Debug Bar has a Debugger View Permission. Only Admin can see it. Step 1. Check active cacheGo to The list of parameters from config.php. Check CACHE_ENABLED (should be true) and CACHE_METHOD ( should be memcached):
Step 2. Check cache typeWhat is the value of Type? If cache is active but type is not equal to 'ct_memory' => cache is not working. Step 3. Timeline dataIf cache is active and cache Type is 'ct_memory'. Disable Debug Bar. |
Hi @atelomycterus ! Thanks again for all your work on the forums, great feedback from the community so far! Step 1Values of the config.php from the actual live server: // Cache
$Configuration['Cache']['Enabled'] = true;
$Configuration['Cache']['Method'] = 'memcached';
$Configuration['Cache']['Memcached']['Store'] = array (
0 => 'vanilla-forums.056cmt.0001.use1.cache.amazonaws.com:11211',
); Step 2It seems like that type is correct Step 3I don't see any dropdown? I can't click the values in the top right of the debug bar. |
Thanks! You're welcome! Controller - 4+secs => It looks like categories/roles are not cached. Timeline in PROD is very close to what we had in DEV before using memcached + caching Topcoder data (handle,photo url and so on). Cache Settings is ok on your screen. Have you checked server log's file and memcached log's file? Are there any errors? My guess is that cache doesn't work. I mean nothing is written to cache and, accordingly, is not read from the cache. If Let's check it. Step 1Could you check server log's file? Step 2Could you check memcached log's file? Step 3If there are no errors in both logs. Let's deploy Debug plugin in PROD. By default, it's deployed only in DEV. I'll fix it and it'll be deployed to PROD as well. (I've fixed it - PR-#305, Dockerfile has been updated.)
Check Categories CacheOpen/refresh the main page in another browser tab. if cache is working, then categories should be cached. If you see 'Could not encode the response' => no data in cache. Check Roles CacheCheck 'Roles'. You should see a list of all roles: Check Topcoder CacheLet's check Topcoder keys in cache.
Go to Users page (https://discussions.topcoder.com//dashboard/user) and find User by name. You should see UserID at the bottom bar: Topcoder Profile key is 'topcoder.{UserID}':
|
@jmgasper @rootelement Quick fix to deploy Debug Plugin to PROD PR-#305. |
@atelomycterus - Deploying now. I'll pull that information above later today. |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30159433 |
Fixed up a few broken config items based on your documentation above, thanks. |
@atelomycterus - We just deployed to prod, and performance still seems to be a bit weak. I'm seeing 15+ seconds to load the main page. This should have caching enabled now, so I'm not sure what else could be the delay.
What can we provide you to help debug this?
The text was updated successfully, but these errors were encountered: