The Bailiwick Express.

40% reduction in monthly cloud costs.

The Challenge.

System Labs assisted Bailiwick Express with optimising their cloud environment, expanding the disks on some of their Linux servers. The issue they faced arose due to incorrectly configured LVM volumes, which we quickly rectified. Bailiwick approached us to do an audit of the existing system and run Linux based server Infrastructure as an extension of their team.

The Solution.

Infrastructure

Bailiwick Express operate three sites. UK, JSY, GSY.

Part of the Bailiwick infrastructure was on a dedicated VMWare server hosted by OVH and other parts were split over DigitalOcean public cloud. Operating Systems were a mix of various versions of Ubuntu.

Tech Stack

We designed a new stack comprising of NGINX, APACHE and CentOS7 which leveraged a Varnish, in-memory cache to reduce the load on their database servers. The fact that we had three very similar stacks meant that we could script the deployment as Configuration as code (CAC) using Ansible and we created the playbooks for the Application and DB servers. This means that we can replicate the environment within about 10 mins – this acts as a DR plan in the event of something going wrong.

Varnish Cache

We set a cache lifetime to 2h. Any page or assets are rendered normally on the first request, the rendered page is stored into the cache – each following request within the 2h lifetime is served directly from memory so that the request never hits the backend or the database. This caching mechanism resulted in significantly less consistent load on the infrastructure which allowed us to lower the resources required by each server, which in turn lowered the total monthly running costs by 40% per month.

Improved Performance

The loading of any page which is served from the cache was also significantly faster for the end-user. Before switch over our monitoring platform highlighted that the average HTTPS response time was between 3-4 seconds. Once we completed the migration and went live on the new solution the same monitoring showed an average HTTPS response time of 200 – 400ms which is a performance gain of 99x for the average user landing on the homepage.

Take your project
to the next level.
Lets build together.

Contact us.

Want to learn more about adding digital value to your business? Drop us a line and we'll be in touch.

Jersey HQ

Suite 23
4 Wharf Street
JE2 3NR
Jersey

Brighton HQ

Floor 5 & 6
Tower Point
44 North Rd
BN1 1YR
Brighton

Email: info@systemlabs.io

Phone: +44(0) 1534 625736