Drupal performance optimization best practices include:
- Disabling unused modules and cron on production to reduce overhead
- Configuring caching at the application level with modules like Boost and Memcache
- Optimizing server configuration through APC caching, CDN integration, browser caching, and cron job configuration
- Improving database performance by optimizing InnoDB settings and enabling the query cache
The document provides best practices for optimizing Drupal performance at the application, server, and database levels to reduce bottlenecks and improve load times.
Basics of Web App Systems Architecture
General Web Software Optimization Strategies
Defining a Goal for Performance
Performance Metrics, tools
Performance Debugging Techniques
What Can You Control?
What Is Caching?
Drupal Performance modules
Optimizing Drupal
Implementing High Performance Drupal SitesShri Kumar
UniMity's substantial presence in Drupal Camp Deccan 11-11-11 in HYD. Audience were just applauding with gusto at the end of our presentation (How to build and maintain high performance websites)
How to reduce database load using Memcachevaluebound
Configuring Memcache with Drupal 8 helps to reduce database load by caching DB objects in RAM. In this presentation, Ajay Reddy of Valuebound has explained how to install Memcache on the server and configure it with Drupal 8.
In this short presentation, Subhash Yadav of Valuebound has explained about “Caching in Drupal 8.” A cache is a collection of data of the same type stored in a device for future use. Caches are found at every level of a content's journey from the original server to the browser.
In this presentation, Neera Prajapati of Valuebound has discussed on performance optimization in Drupal 8. She has also talked about a range of topics like why website loading time matters? Importance of web performance and how to boost it? and others.
Basics of Web App Systems Architecture
General Web Software Optimization Strategies
Defining a Goal for Performance
Performance Metrics, tools
Performance Debugging Techniques
What Can You Control?
What Is Caching?
Drupal Performance modules
Optimizing Drupal
Implementing High Performance Drupal SitesShri Kumar
UniMity's substantial presence in Drupal Camp Deccan 11-11-11 in HYD. Audience were just applauding with gusto at the end of our presentation (How to build and maintain high performance websites)
How to reduce database load using Memcachevaluebound
Configuring Memcache with Drupal 8 helps to reduce database load by caching DB objects in RAM. In this presentation, Ajay Reddy of Valuebound has explained how to install Memcache on the server and configure it with Drupal 8.
In this short presentation, Subhash Yadav of Valuebound has explained about “Caching in Drupal 8.” A cache is a collection of data of the same type stored in a device for future use. Caches are found at every level of a content's journey from the original server to the browser.
In this presentation, Neera Prajapati of Valuebound has discussed on performance optimization in Drupal 8. She has also talked about a range of topics like why website loading time matters? Importance of web performance and how to boost it? and others.
A common request sent from your web browser to a web server goes quite a long way and it can take a great deal of time until the data your browser can display are fetched back. I will talk about making this great deal of time significantly less great by caching things on different levels, starting with client-side caching for faster display and minimizing transferred data, storing results of already performed operations and computations and finishing with lowering the load of database servers by caching result sets. Cache expiration and invalidation is the hardest part so I will cover that too. Presentation will be focused mainly on PHP, but most of the principles are quite general work elsewhere too.
Powerpoint file(incl. animations!): http://db.tt/oQiXb9lq
This is the slides of the presentation "Wordpress optimization" who presented at WordCamp 2013.
How to improve your wordpress performance and speed up your website more than 700% faster!
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
The keynote shares some tips and best practices to choose a hosting package for your WordPress sites.
Originally presented by HostDime India at WordPress Trivandrum Meetup on 20 January 2018.
Did you know that 80% to 90% of the user's page-load time comes from components outside the firewall? Optimizing performance on the front end (e.g. from the client side) can enhance the user experience by reducing the response times of your web pages and making them load and render much faster.
A brief overview of caching mechanisms in a web application. Taking a look at the different layers of caching and how to utilize them in a PHP code base. We also compare Redis and MemCached discussing their advantages and disadvantages.
Make Drupal Run Fast - increase page load speedAndy Kucharski
What does it mean when someone says “My Site is slow now”? What is page speed? How do you measure it? How can you make it faster? We’ll try to answer these questions, provide you with a set of tools to use and explain how this relates to your server load.
We will cover:
- What is page load speed? – Tools used to measure performance of your pages and site – Six Key Improvements to make Drupal “run fast”
++ Performance Module settings and how they work
++ Caching – biggest gainer and how to implement Boost
++ Other quick hits: off loading search, tweaking settings & why running crons is important
++ Ask your host about APC and how to make sure its set up correctly
++ Dare we look at the database? Easy changes that will help a lot!
- Monitoring Best practices – what to set up to make sure you know what is going on with your server – What if you get slashdoted? Recommendation on how to quickly take cover from a rhino.
The presentation of the Drupal frontend optimizations from Drupal Camp LA 2011. The slides go over optimizations you do in the backend to serve files in the frontend faster and optimizations in the front end to css and javascript to make that aspect run faster.
My slides from WordCamp Dhaka 2019 on WordPress Scaling. In this session I explained performance optimisation using HTTP/2, Caching and compressing resources.
I also explained how to Dockerize WordPress to make it easier to scale.
A common request sent from your web browser to a web server goes quite a long way and it can take a great deal of time until the data your browser can display are fetched back. I will talk about making this great deal of time significantly less great by caching things on different levels, starting with client-side caching for faster display and minimizing transferred data, storing results of already performed operations and computations and finishing with lowering the load of database servers by caching result sets. Cache expiration and invalidation is the hardest part so I will cover that too. Presentation will be focused mainly on PHP, but most of the principles are quite general work elsewhere too.
Powerpoint file(incl. animations!): http://db.tt/oQiXb9lq
This is the slides of the presentation "Wordpress optimization" who presented at WordCamp 2013.
How to improve your wordpress performance and speed up your website more than 700% faster!
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
The keynote shares some tips and best practices to choose a hosting package for your WordPress sites.
Originally presented by HostDime India at WordPress Trivandrum Meetup on 20 January 2018.
Did you know that 80% to 90% of the user's page-load time comes from components outside the firewall? Optimizing performance on the front end (e.g. from the client side) can enhance the user experience by reducing the response times of your web pages and making them load and render much faster.
A brief overview of caching mechanisms in a web application. Taking a look at the different layers of caching and how to utilize them in a PHP code base. We also compare Redis and MemCached discussing their advantages and disadvantages.
Make Drupal Run Fast - increase page load speedAndy Kucharski
What does it mean when someone says “My Site is slow now”? What is page speed? How do you measure it? How can you make it faster? We’ll try to answer these questions, provide you with a set of tools to use and explain how this relates to your server load.
We will cover:
- What is page load speed? – Tools used to measure performance of your pages and site – Six Key Improvements to make Drupal “run fast”
++ Performance Module settings and how they work
++ Caching – biggest gainer and how to implement Boost
++ Other quick hits: off loading search, tweaking settings & why running crons is important
++ Ask your host about APC and how to make sure its set up correctly
++ Dare we look at the database? Easy changes that will help a lot!
- Monitoring Best practices – what to set up to make sure you know what is going on with your server – What if you get slashdoted? Recommendation on how to quickly take cover from a rhino.
The presentation of the Drupal frontend optimizations from Drupal Camp LA 2011. The slides go over optimizations you do in the backend to serve files in the frontend faster and optimizations in the front end to css and javascript to make that aspect run faster.
My slides from WordCamp Dhaka 2019 on WordPress Scaling. In this session I explained performance optimisation using HTTP/2, Caching and compressing resources.
I also explained how to Dockerize WordPress to make it easier to scale.
Improving Website Performance with Memecached Webinar | Achieve InternetAchieve Internet
Improving the performance and scalability of your Drupal website with a Memcached implementation.
In this webinar, you will learn about:
• The components of a Memcached system
• Installing a simple Memcached installation
• Complex distributed installations and when to use them
• Verifying the installation
Improving Website Performance with Memecached Webinar | Achieve InternetAchieve Internet
Improving the performance and scalability of your Drupal website with a Memcached implementation.
In this webinar, you will learn about:
• The components of a Memcached system
• Installing a simple Memcached installation
• Complex distributed installations and when to use them
• Verifying the installation
Site Speed = Success – Optimising WordPress from the Server Up - Presented by...WordCamp Harare
I’d like to talk on how to make WordPress fly on the various different levels available to you, from right down as simple as basic steps to take within WordPress or as advanced as server tweaks, will use my time hosting Techzim as a case study example
My talk on wordpress and website performance and quick tips + advanced on how to improve website performance
Video at http://wordpress.tv/2017/01/04/anthony-somerset-site-speed-success-optimising-wordpress-from-the-server-up/
Make Drupal Run Fast - increase page load speedPromet Source
What does it mean when someone says “My Site is slow now”? What is page speed? How do you measure it? How can you make it faster? We’ll try to answer these questions, provide you with a set of tools to use and explain how this relates to your server load.
We will cover:
- What is page load speed? – Tools used to measure performance of your pages and site – Six Key Improvements to make Drupal “run fast”
++ Performance Module settings and how they work
++ Caching – biggest gainer and how to implement Boost
++ Other quick hits: off loading search, tweaking settings & why running crons is important
++ Ask your host about APC and how to make sure its set up correctly
++ Dare we look at the database? Easy changes that will help a lot!
- Monitoring Best practices – what to set up to make sure you know what is going on with your server – What if you get slashdoted? Recommendation on how to quickly take cover from a rhino.
Like all frameworks, Drupal comes with a performance cost, but there are many ways to minimise that cost.
This session explores different and complementary ways to improve performance, covering topics such as caching techniques, performance tuning, and Drupal configuration.
We'll touch on benchmarking before presenting the results from applying each of the performance techniques against copies of a number of real-world Drupal sites.
Drupal Perfomance. Talk given at DrupalCamp North, 25th July 2015.
This session looked at tools you can use to analyse the performance and benchmark a Drupal site. It then looked at tools and techniques that can be used to improve the site performance. The session also included a case study about the Drupal based BAFTA website that was built by Access. Focusing on the recent Film and TV awards, which saw a large amount of traffic in a short amount of time.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
2. 2
Overview
• Drupal Performance
• Know the tools for performance Analysis
• Best Practices for Performance Optimization
– Application Level
– Server Configuration
– Database Configuration
• Common mistakes which causes Performance
bottlenecks
3. Drupal Performance
• Performance bottlenecks is a major issue with Drupal based
application
• Common understanding among people, product stakeholders
and web developers is:
Drupal is not a right choice for large application with lot
of users and content.
It consumes lot of memory and resources.
3
4. 4
Drupal Performance
Why Drupal is Slow?
• Because it’s not configured/deployed correctly…
• Contents are dynamic not static.
• Bootstrap process is complex where series of events occurs
behind the scene:
Establishing a database connection
Loading all settings and modules
Initializing a user session
Mapping the URL to page callback
Render the Page (theme initialization)
On every single page request all the above events occurs in backend.
5. 5
Drupal Performance
When do you think about performance?
(Before/After Development)
Discuss and freeze the performance related NFRs carefully
under requirement document, before starting the development.
Set a goal for performance which needs to be achieved.
Finalize Caching strategies.
9. 7
Best Practices - Application Level
Disable and Delete unused and non-essential modules
Disable the Update Manager module on Production.
Database logging (dblog) is enabled by default in Drupal 7, and errors can
fill up your database quickly.
A better solution is to fix all PHP notices and warnings to reduce logging
overhead.
10. 8
Best Practices - Application Level
Put JS at the bottom of the page.
Custom JS/CSS should be added in the application only using
drupal_add_js() and drupal_add_css() function respectively.
Aggregate and minify JS/CSS file through Drupal Admin.
Use the Fast 404 module to serve static 404s for image, icon,
CSS, or other static files, rather than bootstrapping Drupal.
12. 9
Best Practices – Server Configuration
Cache PHP with APC(Alternative PHP cache)
Cache everything to reduce the page load time for
anonymous user (Boost, Memcache/Varnish).
13. 10
Best Practices – Server Configuration
Configure CRON to be executed at a certain timestamp in a day, instead of
executing this on every request. Drupal executes cron hook on every page request.
CDN Integration – to store all static files e.g. css, js and images.
Leverage browser caching
Optimize images to reduce the total page size.
14. 11
Best Practices – Server Configuration
Boost + Memcache – Works best in most of the case as it
solves performance issue for anonymous and authenticated user
both
Boost provides static page caching for Drupal enabling a very significant performance and
scalability boost for sites that receive mostly anonymous traffic
Precache everything through warmup script
Use cache-expire module to update cache on node insert/update/detele.
16. 13
Best Practices – Server Configuration
• Memcache
You can use the Memcache module to move some common cache queries out of the database
and into memory. Information held in memory will always be retrieved more quickly than
information retrieved from a database query.
• APC (Alternative PHP Cache)
PHP is an interpreted language, which means the files have to be reduced down into
opcodes in order to actually be executed by the server.
Once APC is installed on the server and configured, it will store the intermediate code of
PHP files in memory so that every request does not result in fetching all those PHP files off disk
and interpreting the files every time.
17. 14
Best Practices – Server Configuration
• Integrate CDN to store all static files(JS/Images/CSS)
A content delivery network (CDN) is a collection of web servers distributed across multiple
locations to deliver content more efficiently to users. The server selected for delivering content to
a specific user is typically based on a measure of network proximity.
18. 15
Best Practices – Server Configuration
• Leverage Brower Caching
What browser caching does:
“Remember" the resources that the browser has already loaded. When a visitor goes to
another page on your website your logo or CSS file does not need to be loaded again,
because the browser has them "remembered". The end result is that your pages load
much faster.
Browser caching can be enabled with few configuration added in the .htaccess file on the
server.
• Set expiry time of static contents
<IfModule mod_expires.c>
# Enable expirations.
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
19. 16
Best Practices – Server Configuration
• Leverage Brower Caching
• Set max-age header
<FilesMatch "(.js.gz|.css.gz)$">
Header set Cache-Control "max-age=2678400, public"
ExpiresActive On
ExpiresDefault "access plus 1 month“
Requirements:
• mod_expire and mod_header modules needs to be installed and enabled on the
server(Apache).
20. 17
Best Practices – Server Configuration
• CRON Configuration
Misconfiguration of CRON settings results into major performance issue as Drupal executes all
the cron hooks on every single page request by default.
Configure CRON to be executed at a certain timestamp in a day
Elysia cron module works perfectly for configuring cron.
It extends Drupal standard cron, allowing a fine grain control over each task and several
ways to add custom cron jobs to your site.
21. 18
Best Practices – Server Configuration
• CRON Configuration
Configuration on Server side:
Connect to server through ssh
Login as root user (sudo su)
Command to view/edit crontab file
crontab –l (to view the list of cron script configured on the server)
crontab –e (opens the crontab configuration)
Add the below line to excute the cron at 2:10 AM daily
10 2 * * * /usr/bin/wget -O - -q -t 1
http://www.createdbespoke.com/sites/all/modules/community/elysia_cron/cron.php?cr
on_key=sfaslsfklsfjlksfjlfsaf
Save the file and quit – wq
23. 19
Best Practices – Database
Do not use InnoDB for the semaphore table, use Memory
ALTER TABLE semaphore ENGINE=MEMORY;
innodb_buffer_pool_size 70-80% of memory is a safe bet. I set it to 12G on 16GB box.
innodb_log_file_size – This depends on your recovery speed needs but 256M seems to be a
good balance between reasonable recovery time and good performance
innodb_log_buffer_size=4M is good for most cases unless you’re piping large blobs to Innodb
in this case increase it a bit.
24. 20
Best Practices – Database
Enable MySQL query cache (i.e. query_cache_size)
Find Slow query through slow query log file.
Create indexes to optimize the query