Custom Load Balancing With Cloudflare Workers
The following is a guest post by Jayaprabhakar Kadarkarai, Developer of Codiva.io, an Online IDE used by computer science students across the world. He works full stack to deliver low latency and scalable web applications.
Have you launched your website? Getting a lot of traffic? And you are planning to add more servers? You’ll need load balancing to maintain the scalability and reliability of your website. Cloudflare offers powerful Load Balancing, but there are situations where off-the-shelf options can’t satisfy your specific needs. For those situations, you can write your own Cloudflare Worker.
In this post, we’ll learn about load balancers and how to set them up at a low cost with Cloudflare Service Workers.
This post assumes you have a basic understanding of JavaScript, as that’s the language used to write a Cloudflare Worker.
The Basic Pattern
The basic pattern starts with adding ‘fetch’ event listener to intercept the requests. You can configure which requests to intercept on the Cloudflare dashboard or using the Cloudflare API.
Then, modify the hostname of the URL and send the request to the new host.
addEventListener('fetch', event => {
var url = new URL(event.request.url);
// https://example.com/path/ Continue reading



David Ulevitch, who was once in charge of Cisco’s security business, is leaving to become a general partner at Andreesson Horowitz.
Three companies opened the OCP Experience Center for testing new and proposed OCP technologies and for conducting demonstrations of open OCP hardware designs.
The new facility plays into the data center provider’s plan to pull hyperscale cloud deals away from competitors including Equinix.
eBay ditches OpenStack in favor of Kubernetes and Docker; AT&T awards 5G contracts; Arista makes second acquisition.
The etcdadm tool automates the configuration, deployment, and management of etcd clusters used by Kubernetes to store control plane information.
GTT is also working with another recent acquisition, Interoute, to move its SD-WAN to a universal CPE approach with an integrated firewall.
The software-defined platform runs on top of Cohesity, Cisco, HPE, or Dell EMC hyperconverged secondary storage appliances.
The former Sprint executive says that there are too many SD-WAN competitors in the market muddying the message to enterprises.
In the rush to capitalize on NFV many operators have focused purely on the NFV orchestration, but as they move from trials to production, one key piece is missing — management.