Category Archives: Architecture

Configure Cloudflare Worker as Health Canaries

We want to know immediately when the servers are not functioning or API servers break down. We can do this easily by setting up the healthchecks in CloudFlare. It alows us to send health checks pings to the destination URLs and you can also specify the expected HTTP code, or the target response text. This Continue Reading »

Separating the Web Server from the API Server

It is always a good idea to separate the web server (normally used to host the front-end UI/site) to its APIs. This has several advantages: Avoid the Single Point of Failures If you have only 1 server that acts as both Front-end and Back-end, when the server goes down, it is down. And it is Continue Reading »