Forem Creators and Builders 🌱

Discussion on: Scalability of FOREM selfhost

 
jamie profile image
Jamie Gaskins

^^ This. The only currently supported caching reverse proxies are Fastly and Nginx. The Forem Self-Host configuration uses OpenResty, which is built on Nginx, so even though you won't have the points of presence that a proper CDN would provide (which often has a low cache hit rate anyway without a large quantity of traffic), you'll still get solid caching on top of the layers of application-level caching we do.

Are you currently seeing traffic volume that would require looking into a CDN?

Thread Thread
 
9comindia profile image
9comindia • Edited

Are you currently seeing traffic volume that would require looking into a CDN?

Not yet :) just preparing for the future.
I tried a website killer app few days ago on my website url, which was hosted with 2 core 4 GB RAM on GCP.. the response times are approximately as below:
5 concurrent users - 1 sec
100 concurrent users - 2 sec
200 concurrent users - 4 sec
800 concurrent users - 50 sec

100 concurrent users itself is a huge traffic, which the website can hold good, proved by the test.

But if someone else uses similar tools and continuously attack the website, there is no protection,
Even the cloud security mechanisms did not intercept the attack; and the website was not accessible from other devices during the attack.

That's why hoping that cloudflare or any other CDN may be able to effortlessly serve the cached static content to such attackers and keep the website up for real users.