Aaron Brazell: Asynchronous Events

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


December 16, 2015

Whenever a post is saved, a page is loaded, a comment is created or a template is loaded, WordPress fires off events that, as developers, we have loved and cherished. These events are hooks. While hooks have been the quintessential building blocks of WordPress for over a decade, they come with a cost. Often times, developers will hook functionality into the save_post event, for instance, to fire off a notification to an external service or perform some sort of background task. The more of these tasks are hooked into WordPress, the slower WordPress becomes.

In this talk, I will show you how to alleviate these bottlenecks with asynchronous hooks – hooks that can be used to perform the exact same tasks, but not block the rest of WordPress from running. Through a library created by 10up’s Eric Mann and John Bloch for TechCrunch on WordPress VIP, the overhead of running actions can be reduced to a negligible amount.

Presentation Slides »

Rate this:


WordCamp Baltimore 2015 13


Aaron Brazell 3


Asynchronous events 2
hooks 33
Speed Optimization 51
Web Performance 44


English 9286

MP4: Low, Med, High
OGG: Low
Subtitle this video →
%d bloggers like this: