3 ms·
Each of those caches the preview/etc. so they hit it once in a while, and that works for all their users. Each mastadon server is independent and can't share th
by ehutch79 2y ago
Each of those caches the preview/etc. so they hit it once in a while, and that works for all their users. Each mastadon server is independent and can't share that preview cache.
All the issues sound more like a them problem than mastadon or cloudflare.
Something's wrong with their setup. Hard to tell as now HN has brought them to their knees
- OJFord 2y ago> Something's wrong with their setup. Hard to tell as now HN has brought them to their knees Agreed, and hardly surprising is it that if the site can't cope with link preview traffic that non-trivial page views would be trouble too!
- kemotep 2y agoCloudflare being unable to handle 100MB of traffic over 5 minutes sounds like itsfoss failed to set something up properly. The link preview is a fraction of the total page that would have to be loaded for each individual user no matter where they came from. ActivityPub itself could more intelligently cache or display the content but something doesn’t add up if Cloudflare can’t handle that kind of traffic let alone Hacker News traffic.
- 1231232131231 2y agoI believe cloudflare is just letting their requests go through and their webserver can't handle it?
- vbezhenar 2y agoWhat's the point of using Cloudflare without caching?
- dabber 2y agoCloudflare has some other features like a Web Application Firewall (WAF) and bot protection/filtering (which seems like it would solve their problems too?) From the article: > Presently, we use Cloudflare as our CDN or WAF, as it is a widely adopted solution. To me, it sounds like the author isn't really familiar with the difference between a CDN and WAF is; or familiar with Cloudflare beyond it being a popular thing they should probably have for that matter.
- ehutch79 2y agovbezhenar: They've misconfigured something and the page itself is marked max-age=0 which disables cloudflare caching. I'm also betting nginx isn't caching either.
- ehutch79 2y agoThey've set their headers to prevent caching by cloudflare. max-age=0 The images arn't the problem, it's their dynamicly generated page, even if the content is pretty static.