|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re^7: Perlmonks site has become far too slow (AnoServer/Load Balancer)by LanX (Saint) |
| on Aug 30, 2025 at 23:23 UTC ( [id://11166144]=note: print w/replies, xml ) | Need Help?? |
|
> Since we are working with multiple servers I'm pessimistic about using the filesystem for caching, I think it's far easier to implement in the database server. Unless it's possible to direct all AnoMonk requests to one server only. This would have the huge advantage that other web-servers wouldn't be impacted by increased bot activities. OTOH update events could happen on other servers and would need to be logged via the DB, so that the "Ano-Server" could discard the cached page.
updateOr storing the cache in a shared file system, unfortunately I have no experience to tell how efficient this is. But in this case the Ano-Server wouldn't need to run Everything, just a web-server (apache/Nginx/...) distributing static files. The updates of the static files are comparatively rare and could be easily handled by the dynamic servers. Alas some pages can't be static like log-in, chatterbox, other users. So the load-balancer or a redirection rule has to bring Ano-monks to the real servers. Anyway ... no matter if it's a static or dynamic server, setting up a dedicated server for Anomonks would improve many issues instantly.
Cheers Rolf
In Section
Perl Monks Discussion
|
|
||||||||||||||||||||||||||||||||||