CivicActions Outlines Caching and Load-Testing Strategies for Drupal Website Performance

Poster from Stabilizing website performance Blog

Managing sustained traffic growth is the focus of a new article by Daniel Mundra, associate director of Drupal at CivicActions. The post continues an earlier discussion on bot identification and mitigation, shifting attention to infrastructure and operational measures used to keep a government Drupal website responsive under higher request volumes. Daniel says the organisation established performance baselines through monitoring dashboards as services were migrated from legacy systems to Drupal.

The article identifies caching as a primary mechanism for reducing load on Drupal. CivicActions increased page cache duration from 30 minutes to one hour after improving automated cache-clearing processes. The implementation combines Drupal caching with Amazon CloudFront caching, while automated purging removes outdated content when editors publish updates. Daniel also describes the use of CloudFront Origin Shield and collaboration with AWS engineers to improve cache availability across edge locations, reducing the number of requests that reach Drupal directly.

The post also discusses load testing as a way to identify infrastructure bottlenecks. CivicActions used the open-source tool Locust to test how components, including Amazon Elastic Kubernetes Service, Amazon Relational Database Service, search infrastructure, storage, and networking resources behaved under increased demand. The testing showed that a search appliance reached connection limits before Drupal or the database infrastructure reached performance constraints. The article concludes with areas for further work, including stricter query parameter handling, more static content delivery, and continued load testing to identify performance limits.

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Related People

Upcoming Events

Latest Opportunities