{"id":3386,"date":"2024-08-06T09:06:37","date_gmt":"2024-08-06T14:06:37","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=3386"},"modified":"2024-08-06T09:06:38","modified_gmt":"2024-08-06T14:06:38","slug":"scaling-one-million-checkboxes","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/scaling-one-million-checkboxes\/","title":{"rendered":"Scaling One Million Checkboxes"},"content":{"rendered":"\n<p>Nolen Royalty made <a href=\"https:\/\/onemillioncheckboxes.com\/\">a website<\/a> (now turned off) with a million checkboxes on it which was realtime for everyone viewing it. Users can check (or uncheck) a checkbox and that is persisted to a datastore and propagated to all visitors instantly. This, as it turns out, is a non-trivial task if you want it to run well, handle scale, and not cost a ton of money. <\/p>\n\n\n\n<p>I&#8217;m posting this because if reading this kind of thing is interesting and kind of thrilling for you, a career in <a href=\"https:\/\/frontendmasters.com\/courses\/devops\/?utm_source=boost&amp;utm_medium=blog&amp;utm_campaign=boost\">DevOps<\/a> is probably not a bad idea for you. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nolen Royalty made a website (now turned off) with a million checkboxes on it which was realtime for everyone viewing it. Users can check (or uncheck) a checkbox and that is persisted to a datastore and propagated to all visitors instantly. This, as it turns out, is a non-trivial task if you want it to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3395,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[222],"class_list":["post-3386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-devops"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2024\/08\/checkboxes.png?fit=2016%2C1282&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/3386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=3386"}],"version-history":[{"count":1,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/3386\/revisions"}],"predecessor-version":[{"id":3396,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/3386\/revisions\/3396"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/3395"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=3386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=3386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=3386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}