effectively manage and scale word press multisite and importance of insights
TRANSCRIPT
![Page 1: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/1.jpg)
Effectively manage and Scale WordPress Multisite and
Importance of Insights
Neel Shah@neelshah91
New York University
Harshit Sanghvi@harshit_ps
![Page 2: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/2.jpg)
ContentsWP at NYU
Plugin/Theme Update Process
Mirroring Production to Dev/QA
Dynamic Site Creation Process
Importance of Insights
![Page 3: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/3.jpg)
https://wp.nyu.edu
Web Publishing - Stats5227 Sites
17880 Users
65 Plugins
52 Themes
Site Type:
52% Teaching & Learning
39% Personal
9% Administrative
![Page 4: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/4.jpg)
https://wp.nyu.edu
Web Publishing - StackAWS EC2 Instance
Amazon Aurora DB
Redis Cache
PHP 7
NGINX Server
Shibboleth Single Sign On
![Page 5: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/5.jpg)
Selecting Hosting ProviderYour Current Team
Level of Support
Level of Access
Flexibility
Support for Single Sign On
Production and Dev Resource Sharing
Cost
![Page 6: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/6.jpg)
Plugin/ Theme Update Process
![Page 7: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/7.jpg)
BenefitsAvoid unwanted code in Production
Shorter release cycles
ToolsCAC tools for wp-cli
(https://github.com/cuny-academic-commons/wp-cli-cac)
Behat for unit tests
Jenkins CI
Plugin/ Theme Update Process
![Page 8: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/8.jpg)
Mirroring Production to Dev/ QA
![Page 9: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/9.jpg)
Mirroring Production to Dev/ QABenefits
Fully mirrored Dev/QA environment
Backup db for large multisite
Migrate from one hosting provider to another
ToolsMirror_db (https://github.com/neelakansha85/mirror_db)
Jenkins CI
![Page 10: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/10.jpg)
New Site Creation Process - wp-signup.php
![Page 11: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/11.jpg)
SELECT TYPE
Dynamic Site Creation Process
![Page 12: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/12.jpg)
CHOOSE WHAT YOU NEED
Essential Settings
![Page 13: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/13.jpg)
MAKE IT PRETTY
Themes
![Page 14: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/14.jpg)
SELECT PLUGINS
Features
![Page 15: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/15.jpg)
YAY!
Finish
![Page 16: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/16.jpg)
BenefitsEnhancing current wp-signup page
ToolsSite Setup Wizard
(https://wordpress.org/plugins/site-setup-wizard)
Dynamic Site Creation Process
![Page 17: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/17.jpg)
Importance of Insights into Multisite
![Page 18: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/18.jpg)
Some unanswered questionsHow many sites are being created and when?
What is the most popular theme or a plugin among all the sites?
Are all my plugins compatible with latest WordPress version?
Are any of my 10000s sites getting spammed?
Is some user misbehaving within my multisite environment which affect overall network performance?
How are my users connected to each other through different sites?
![Page 19: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/19.jpg)
WP Network StatsDeveloped for New York University
Can answer all of the above questions and many more
Features - Background processing for generating new statistics for the network. It allows you to
safely generate stats without compromising the performance of your large multisite network.
Ability to fine tune batch processing settings.
Protected network admin settings.
Notification when the stats are available.
Analytics dashboard using D3 charts to gain insights into some of the generated data.
Generates set of CSV files corresponding to different types of stats.
You can selectively generate the stats you need - Sites Stats, Plugins Stats, Themes Stats or Users Stats.
![Page 20: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/20.jpg)
Multidimensional DetectiveFind sites with >200 users, >20 active plugins, >1000 posts, >5000
comments or >1000 attachments
![Page 21: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/21.jpg)
Multidimensional DetectiveFind sites with >200 users, >20 active plugins, >1000 posts, >5000
comments or >1000 attachments
![Page 22: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/22.jpg)
Some Insights from NYU’s WordPress service
![Page 23: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/23.jpg)
Sites Created By Date vs. Time of Day
![Page 24: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/24.jpg)
Site Privacy, Active Theme, DB Version
![Page 25: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/25.jpg)
Sites Registered Over Time
![Page 26: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/26.jpg)
Users Registered between two dates
![Page 27: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/27.jpg)
Users Interconnection
![Page 28: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/28.jpg)
Use casesSend targeted communication emails. e.g.,
To all the admins of sites which has more than 1000 attachments about potential violation of terms of use.
To site admin who is allowing comments from public about potential spam issues.
To all the users who use a specific plugin/theme about upcoming changes to that plugin/theme.
Decide migration strategies when replacing/retiring a plugin/theme based on its usage.
What to do when a plugin/theme is found incompatible with latest WordPress release
Archive/delete sites or content created by alumni.
![Page 29: Effectively manage and scale word press multisite and importance of insights](https://reader036.vdocuments.site/reader036/viewer/2022062522/58ac15a81a28ab33178b65ab/html5/thumbnails/29.jpg)
Thank You
Harshit Sanghvi@harshit_ps
Neel Shah@neelshah91
Questions?