{"id":67607,"date":"2021-07-29T11:11:27","date_gmt":"2021-07-29T10:11:27","guid":{"rendered":"https:\/\/www.prodpad.com\/?post_type=pp_resource&#038;p=67607"},"modified":"2023-05-03T15:26:56","modified_gmt":"2023-05-03T14:26:56","slug":"feature-flag","status":"publish","type":"pp_glossary","link":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/","title":{"rendered":"Feature Flag"},"content":{"rendered":"\n<section class=\"page-section content-dark page-section__main-content\" style=\"\"><div class=\"container\">\n<div class=\"row fd-row-lg\">\n<div class=\"col\"><\/div>\n\n\n\n<div class=\"col-6\">\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-feature-flag-0\">What is a feature flag?<\/h2>\n\n\n\n<p>A feature flag is an ability to turn features on and off in an application so that product teams can experiment and learn. Product teams can use feature flags to decide whether a feature is available for their users &#8211; either all users, a proportion of users, or no users. It&#8217;s a way of launching a new feature in a controlled way, in order to learn whether it works correctly &#8220;in the wild&#8221; &#8211; i.e. it is valuable and useful for the user base.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-are-the-benefits-of-feature-flags-0\">What are the benefits of feature flags?<\/h2>\n\n\n\n<p>Feature flags allow for use cases where there is a need to have several different versions of the product live at the same time without impacting each other. They can co-exist peacefully on separate branches or servers, and allow the product team to test out new flows or features before deciding which one is good enough to release globally. <\/p>\n\n\n\n<p>Feature flags are also commonly used by large organizations when rolling out updates or changes of any kind. Instead of releasing code globally at once, these changes are only turned on one user at a time over an unspecified amount of downtime depending on your testing needs. This allows you to gather real-world user feedback before you release something globally &#8211; it&#8217;s all about reducing risk.<\/p>\n\n\n\n<p>They are particularly useful for product teams who wish to work in a lean way and use experimentation to discover the risks of launching a new feature or product.<\/p>\n\n\n\n<p>Feature flags have been used for years at companies like Google and Facebook but are only just now starting to come into their own for smaller companies.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"257\" src=\"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-300x257.png\" alt=\"Feature flags allow product teams to decide which features are available to each user segment.\" class=\"wp-image-67608\" srcset=\"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-300x257.png 300w, https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-1024x879.png 1024w, https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-768x659.png 768w, https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags.png 1296w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption class=\"wp-element-caption\">Feature flags help with lean experimentation<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-are-there-any-drawbacks-to-feature-flags-0\">Are there any drawbacks to feature flags?<\/h2>\n\n\n\n<p>There is one major drawback when it comes to using feature flags and that\u2019s scaling. Typically, you would create a branch in your code for each flag that you could turn on or off in production from the UI via the command line interface (CLI). Unfortunately, this creates an unlimited number of branches that eventually leads to chaos as any change to the existing functionality might require multiple changes across all these branches.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-do-i-use-feature-flags-0\">How do I use feature flags?<\/h2>\n\n\n\n<p>Services like <a href=\"https:\/\/launchdarkly.com\/\">LaunchDarkly<\/a> have started to bring feature flagging into the cloud which makes it easy for startups and small teams to try out their code before deploying it publicly. It also allows them to collect data on certain features that they can then use as a selling point in the future or simply use as a guide on what new features to build next.<\/p>\n\n\n\n<div class=\"btn-group\">\n<a href=\"https:\/\/www.prodpad.com\/glossary\/\" class=\"btn btn--arrow\" target=\"_self\" data-tracking-key=\"\" rel=\"noopener\">Back to The Product Management Glossary<\/a>\n<\/div>\n\n\n<aside class=\"social-sharing\">\n    <h2 id=\"social-heading\" class=\"social-sharing__heading\">Share: <\/h2>\n    <ul aria-labelledby=\"social-heading\" class=\"social-sharing__list\">\n        <li>\n            <a target=\"_blank\" rel=\"noopener\"\n                data-tracking-key='{\"label\":\"Twitter button\",\"action\":\"clicked\",\"category\":\"button\",\"location\":\"footer\"}'\n                href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.prodpad.com%2Fglossary%2Ffeature-flag%2F&#038;text=Feature+Flag\"\n                class=\"twitter\" aria-label=\"Share on Twitter\">\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.prodpad.com\/wp-content\/themes\/pp_2020\/assets\/img\/icons\/social-squircles\/Twittersquirc.svg\"\n                    alt=\"\" width=\"32\" height=\"32\">\n            <\/a>\n        <\/li>\n        <li>\n            <a target=\"_blank\" rel=\"noopener\"\n                data-tracking-key='{\"label\":\"Linkedin button\",\"action\":\"clicked\",\"category\":\"button\",\"location\":\"footer\"}'\n                href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.prodpad.com%2Fglossary%2Ffeature-flag%2F&#038;title=Feature+Flag\"\n                class=\"linkedin\" aria-label=\"Share on LinkedIn\">\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.prodpad.com\/wp-content\/themes\/pp_2020\/assets\/img\/icons\/social-squircles\/Linkdinsquirc.svg\"\n                    alt=\"\" width=\"32\" height=\"32\">\n            <\/a>\n        <\/li>\n        <li>\n            <a target=\"_blank\" rel=\"noopener\"\n                data-tracking-key='{\"label\":\"Facebook button\",\"action\":\"clicked\",\"category\":\"button\",\"location\":\"footer\"}'\n                href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.prodpad.com%2Fglossary%2Ffeature-flag%2F&#038;quote=Feature+Flag\"\n                class=\"facebook\" aria-label=\"Share on Facebook\">\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.prodpad.com\/wp-content\/themes\/pp_2020\/assets\/img\/icons\/social-squircles\/FBsquirc.svg\"\n                    alt=\"\" width=\"32\" height=\"32\">\n            <\/a>\n        <\/li>\n        <li>\n            <a href=\"mailto:?subject=Feature Flag&#038;body=Here's a blog that I thought you might find interesting... https%3A%2F%2Fwww.prodpad.com%2Fglossary%2Ffeature-flag%2F\" \n            data-tracking-key='{\"label\":\"Email button\",\"action\":\"clicked\",\"category\":\"button\",\"location\":\"sidebar\"}'\n                class=\"email\" aria-label=\"Share via Email\">\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.prodpad.com\/wp-content\/themes\/pp_2020\/assets\/img\/icons\/social-squircles\/Mailsquirc.svg\"\n                    alt=\"\" width=\"32\" height=\"32\">\n            <\/a>\n        <\/li>\n    <\/ul>\n<\/aside><\/div>\n\n\n\n<div class=\"col\"><\/div>\n<\/div>\n<\/div><\/section>\n","protected":false},"author":36,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":true,"pp_exclude_from_search":false},"class_list":["post-67607","pp_glossary","type-pp_glossary","status-publish","format-standard","hentry","glossary-categories-f"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Feature Flag | Glossary Definition | ProdPad<\/title>\n<meta name=\"description\" content=\"A feature flag is the ability to turn features on and off in an application so that product teams can experiment and learn.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.prodpad.com\/glossary\/feature-flag\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Feature Flag | ProdPad\" \/>\n<meta property=\"og:description\" content=\"A feature flag is the ability to turn features on and off in an application so that product teams can experiment and learn.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.prodpad.com\/glossary\/feature-flag\/\" \/>\n<meta property=\"og:site_name\" content=\"ProdPad\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ProdPad\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-03T14:26:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-300x257.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Feature Flag\" \/>\n<meta name=\"twitter:site\" content=\"@prodpad\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Feature Flag | Glossary Definition | ProdPad","description":"A feature flag is the ability to turn features on and off in an application so that product teams can experiment and learn.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/","og_locale":"en_US","og_type":"article","og_title":"Feature Flag | ProdPad","og_description":"A feature flag is the ability to turn features on and off in an application so that product teams can experiment and learn.","og_url":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/","og_site_name":"ProdPad","article_publisher":"https:\/\/www.facebook.com\/ProdPad\/","article_modified_time":"2023-05-03T14:26:56+00:00","og_image":[{"url":"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-300x257.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_title":"Feature Flag","twitter_site":"@prodpad","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/","url":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/","name":"Feature Flag | Glossary Definition | ProdPad","isPartOf":{"@id":"https:\/\/www.prodpad.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/#primaryimage"},"image":{"@id":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/#primaryimage"},"thumbnailUrl":"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags-300x257.png","datePublished":"2021-07-29T10:11:27+00:00","dateModified":"2023-05-03T14:26:56+00:00","description":"A feature flag is the ability to turn features on and off in an application so that product teams can experiment and learn.","breadcrumb":{"@id":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.prodpad.com\/glossary\/feature-flag\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/#primaryimage","url":"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags.png","contentUrl":"https:\/\/www.prodpad.com\/wp-content\/uploads\/2021\/07\/feature-flags.png","width":1296,"height":1112},{"@type":"BreadcrumbList","@id":"https:\/\/www.prodpad.com\/glossary\/feature-flag\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Product management glossary","item":"https:\/\/www.prodpad.com\/glossary\/"},{"@type":"ListItem","position":2,"name":"Feature Flag"}]},{"@type":"WebSite","@id":"https:\/\/www.prodpad.com\/#website","url":"https:\/\/www.prodpad.com\/","name":"ProdPad","description":"Product Management Software","publisher":{"@id":"https:\/\/www.prodpad.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.prodpad.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.prodpad.com\/#organization","name":"ProdPad","url":"https:\/\/www.prodpad.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.prodpad.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.prodpad.com\/wp-content\/uploads\/2018\/12\/blue-full.png","contentUrl":"https:\/\/www.prodpad.com\/wp-content\/uploads\/2018\/12\/blue-full.png","width":2050,"height":400,"caption":"ProdPad"},"image":{"@id":"https:\/\/www.prodpad.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ProdPad\/","https:\/\/x.com\/prodpad","https:\/\/instagram.com\/prodpad","https:\/\/www.linkedin.com\/company\/prodpad\/","https:\/\/www.youtube.com\/channel\/UCXHOx5Ed-6sHPujypIlhdMA"]}]}},"_links":{"self":[{"href":"https:\/\/www.prodpad.com\/wp-json\/wp\/v2\/pp_glossary\/67607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prodpad.com\/wp-json\/wp\/v2\/pp_glossary"}],"about":[{"href":"https:\/\/www.prodpad.com\/wp-json\/wp\/v2\/types\/pp_glossary"}],"author":[{"embeddable":true,"href":"https:\/\/www.prodpad.com\/wp-json\/wp\/v2\/users\/36"}],"wp:attachment":[{"href":"https:\/\/www.prodpad.com\/wp-json\/wp\/v2\/media?parent=67607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}