Project:Maintenance/041325: Difference between revisions
Information about Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
;4-9 notes | ;4-9 notes | ||
:Curious behavior from the server. New settings have resulted in both some expected and other unexplained behavior. Reviewing logs. Possibility of strangeness on DigitalOcean's end of things not specifically site-related. | :Curious behavior from the server. New settings have resulted in both some expected and other unexplained behavior. Reviewing logs. Possibility of strangeness on DigitalOcean's end of things not specifically site-related. | ||
:*Reported an issue with SMW 5.0.0 - incorrect pathing | :*Reported an issue with SMW 5.0.0 - incorrect maintenance pathing found in tangentially related slow responses. | ||
:*Revamped OPcache and broader PHP settings. 99.4% hit rate last checked with solid headroom. | :*Revamped OPcache and broader PHP settings. 99.4% hit rate last checked with solid headroom. | ||
:*Varnish, memcached & redis have now hit the backlog. If PHP performance due to the recently committed changes continues its positive trends then I'll be refocusing on nginx & MediaWiki-specific optimization before re-approaching those issues. The current server configuration allows a healthy amount of memory to work with so there's room for improvement here. |
Revision as of 00:56, 10 April 2025
Maintenance Log
- 4-7 notes
- Primarily spending time investigating issues surrounding PHP and its fpm-pool configuration. Settled upon a workable state.
- Reviewing other aspects of PHP fine tuning. Tidied up MediaWiki's LocalSettings - most gains outside of a redis / memcached approach have been explored.
- 4-8 notes
- Recent string of updates & upgrades combined with some of the PHP tweaking has resulted in better overall performance.
- Navigating OPcache and monitoring changes to the pool config.
- Looking over the rewrites & 404 handling. Need to revisit some aspects of the nginx config...
- I will try to implement the use of Varnish. It, some further PHP tuning and the aforementioned memory-oriented caching are essentially what remains of this topic.
- "Ok, so what's going on with the file archive?"
- In brief, it dawned upon me I need a file conversion pipeline (not necessarily as a part of the site). The files I intend to serve, the formats I find them in and the process of reorganizing the files to serve the correct one at the correct place is something I can't handle haphazardly. I've tested a few services and built my own tool. That said, I like https://cloudinary.com
- Yes...I am finally looking into getting the e-mail server working correctly.
- Because the migration is much more than repopulating a URL with some new content I'll also be revisiting extensions and the status of the Citizen skin in the coming week. Adding on Varnish, making sure things like cache control, gzip's "config"/calls, text compression, wasted CSS and un-optimized resource loads are combed over. Lots of little this and that to do. This is a case where the first 80% is everything and the final 20% is just going through the motions.
- Needless to say I'm avoiding committing to any framework or backend service as a foundation for the file archive. As outlined before the functionality of the site overrides the form it takes, for now. Is it ugly? You bet your sweet cheeks it is. Does it work? Sure does, it even throws errors (when it's supposed to!). Naturally I'm leaning into PHP and towards Laravel. My taste for javascript-centric frameworks has already run thin.
- OPcache config in play. Monitoring.
- 4-9 notes
- Curious behavior from the server. New settings have resulted in both some expected and other unexplained behavior. Reviewing logs. Possibility of strangeness on DigitalOcean's end of things not specifically site-related.
- Reported an issue with SMW 5.0.0 - incorrect maintenance pathing found in tangentially related slow responses.
- Revamped OPcache and broader PHP settings. 99.4% hit rate last checked with solid headroom.
- Varnish, memcached & redis have now hit the backlog. If PHP performance due to the recently committed changes continues its positive trends then I'll be refocusing on nginx & MediaWiki-specific optimization before re-approaching those issues. The current server configuration allows a healthy amount of memory to work with so there's room for improvement here.