{"id":2444,"date":"2019-06-28T14:08:00","date_gmt":"2019-06-28T14:08:00","guid":{"rendered":"https:\/\/2019.orlando.wordcamp.org\/?post_type=wcb_session&#038;p=2444"},"modified":"2019-07-31T06:29:24","modified_gmt":"2019-07-31T10:29:24","slug":"enqueue","status":"publish","type":"wcb_session","link":"https:\/\/orlando.wordcamp.org\/2019\/session\/enqueue\/","title":{"rendered":"Background Processing and Queues"},"content":{"rendered":"\n<p>You built a site for a client, who complains that it takes forever to load the admin. You released a plugin, and your users tell you it\u2019s slowing down their site. You explain to them that it\u2019s busy doing very important things: sending emails, importing data from APIs, generating reports\u2026 All essential, but your users don\u2019t want to wait around while these jobs run. As a plugin or site developer, you can improve the user experience of your application by processing these tasks in the background, or even on a separate server. Let\u2019s take a look at the options, benefits, and trade-offs when implementing queues to handle background tasks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You built a site for a client, who complains that it takes forever to load the admin. You released a plugin, and your users tell you it\u2019s slowing down their site. You explain to them that it\u2019s busy doing very important things: sending emails, importing data from APIs, generating reports\u2026 All essential, but your users &hellip; <a href=\"https:\/\/orlando.wordcamp.org\/2019\/session\/enqueue\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Background Processing and Queues<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":383275,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1566547200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[738],"footnotes":""},"session_track":[1279974],"session_category":[],"class_list":["post-2444","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-wordpress-development-workshop"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paxzxj-Dq","session_date_time":{"date":"August 23, 2019","time":"4:00 am"},"session_speakers":[{"id":"738","slug":"jonathan-brinley","name":"Jonathan Brinley","link":"https:\/\/orlando.wordcamp.org\/2019\/speaker\/jonathan-brinley\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/2444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/2444\/revisions"}],"predecessor-version":[{"id":2811,"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/2444\/revisions\/2811"}],"speakers":[{"embeddable":true,"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/738"}],"author":[{"embeddable":true,"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wporg\/v1\/users\/jbrinley"}],"wp:attachment":[{"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=2444"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=2444"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/orlando.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=2444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}