Post AaGuFQ9unwKdLIrdS4 by _@f.djw.li
 (DIR) More posts by _@f.djw.li
 (DIR) Post #AZTOsHhZyJbO86XdAW by shiri@foggyminds.com
       2023-09-05T01:52:14Z
       
       0 likes, 1 repeats
       
       @admins I'm curious for feedback about other admin's setups. I know the default choice is apache, but how many are like me running nginx + php-fpm?I'm curious what tips and tricks people have figured out? Has anyone settled on a good stable caching config? (Last time I set up caching I tried to limit it to just static files and images, but it somehow cached some of the regular pages it seems wondering if maybe one of those css or javascript files is actually dynamic?)As it stands my setup is two nginx webservers behind an nginx load balancer, both running php-fpm, a shared nfs media storage directory, memcached on the database server for php sessions.
       
 (DIR) Post #AZTOtnhqSxfTg9OAdM by pippin@floof.org
       2023-09-05T23:11:46Z
       
       1 likes, 0 repeats
       
       Single-user instance, but mine's just MariaDB, Nginx and (chroot'ed) PHP-FPM, all behind an haproxy front-end.  It's been responsive enough I haven't felt the need to do anything extra about caching (yet!)
       
 (DIR) Post #AZTOtoanAfcWQZ63HM by shiri@foggyminds.com
       2023-09-05T23:30:39Z
       
       1 likes, 0 repeats
       
       @pippin You probably never will with a single instance. I may never reach the point of it being a problem, I was just having some performance issues early on, mostly due to available memory for the database.
       
 (DIR) Post #AZTPumm7VsN12EQDwm by roland@f.haeder.net
       2023-09-06T00:21:51Z
       
       0 likes, 0 repeats
       
       @shiri Apache 2.4 with PHP-FPM and MariaDB for a "single-user" instance. A friend of mine is here, too and registration is closed.
       
 (DIR) Post #AaGuFQ9unwKdLIrdS4 by _@f.djw.li
       2023-09-18T22:33:38Z
       
       1 likes, 0 repeats
       
       @shiri I'm another single-user instance, but it's pretty responsive and snappy with Nginx/FPM. To be honest, I haven't configured PHP on Apache in quite some time, and I expect it would be net slower just because of how Apache functions.It was much slower before I dealt with the activitypub-troll.cf issue (they were murdering my db), it runs quite well for my needs. Might do caching and/or db replication, more as a best practice than because I think anyone will ever sign up on my instance...I've got a cron running a version of something @hankg suggested in an older thread, and a few instance blocks, that also improved response times by a noticeable margin.I'm living dangerously on develop, though I haven't pulled in a few days since it's performing much better now.