[{"data":1,"prerenderedAt":289},["ShallowReactive",2],{"sanity-LevEgKvCUg3Ul3GKyhTsfZIfaGswLQ-qsmdjo9-lWe4":3,"sanity-uGFTUat6soOD5b8a2EecUkAvnDdc_e_RWGwAzxMqlkM":49},{"data":4},{"_createdAt":5,"_id":6,"_rev":7,"_type":6,"_updatedAt":8,"acceptAllLink":9,"acceptNecessaryLink":18,"bannerColorSource":23,"bannerDescription":24,"bannerTitle":25,"categories":26,"declineAllLink":27,"managePreferencesLink":31,"modalColorSource":23,"modalTitle":42,"preferencesIconColorSource":23,"provider":43,"savePreferencesLink":44,"thirdPartyEmbedCode":26,"title":48},"2026-11-04T19:10:06Z","cookieSettings","0HimK5Zy5fEFWyyiuf4lm8","2026-11-10T22:53:51Z",{"_type":10,"style":11,"title":16,"type":17},"link",{"_type":12,"stylePreset":13},"link.style",{"_ref":14,"_type":15},"driftwire-link-style-primary","reference","Accept all","button",{"_type":10,"style":19,"title":22,"type":17},{"_type":12,"stylePreset":20},{"_ref":21,"_type":15},"driftwire-link-style-secondary","Necessary only","inherit","We use strictly necessary cookies to keep you signed in, and — only with your consent — analytics to see which docs pages help. No advertising cookies, ever.","Cookies, briefly",null,{"_type":10,"style":28,"title":30,"type":17},{"_type":12,"stylePreset":29},{"_ref":21,"_type":15},"Decline all",{"_type":10,"style":32,"title":41,"type":17},{"_type":12,"icon":33,"iconPosition":39,"stylePreset":40},{"_type":34,"hugeicon":35,"type":38},"icon.config",{"data":36,"name":37},"[[\"path\",{\"d\":\"M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.5\",\"key\":\"0\"}],[\"path\",{\"d\":\"M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z\",\"stroke\":\"currentColor\",\"strokeLinecap\":\"round\",\"strokeWidth\":\"1.5\",\"key\":\"1\"}]]","Settings02Icon","hugeicon","start",{"_ref":21,"_type":15},"Preferences","Cookie preferences","custom",{"_type":10,"style":45,"title":47,"type":17},{"_type":12,"stylePreset":46},{"_ref":14,"_type":15},"Save preferences","Cookie Settings",{"data":50,"sourceMap":-1},[51],{"_createdAt":52,"_id":53,"_rev":54,"_type":55,"_updatedAt":8,"authorProfile":56,"authorRef":68,"body":70,"categories":208,"excerpt":216,"footer":26,"layout":217,"mainImage":221,"navigation":26,"publishedAt":225,"readTime":98,"relatedPosts":226,"routeOptions":278,"seo":26,"showOnWebsite":280,"slug":283,"tags":284,"title":288},"2026-11-06T17:00:52Z","driftwire-post-edge-vs-server","0HimK5Zy5fEFWyyiuf4lpW","post",{"avatar":57,"bio":62,"name":63,"role":64,"sameAs":65,"slug":67},{"_type":58,"alt":59,"asset":60},"image","Initials avatar for Avery Lin",{"_ref":61,"_type":15},"image-25375e75ea85051781794390a13c63f315cc700f-256x256-png","Avery builds the edge evaluation layer at Driftwire: the part that answers \"is this flag on?\" four hundred thousand times a second without asking anyone.","Avery Lin","Staff Engineer, Edge",[66],"https:\u002F\u002Fexample.com\u002Fteam\u002Favery-lin","avery-lin",{"_ref":69,"_type":15},"driftwire-author-avery-lin",[71,82,91,101,109,117,125,142,150,158,166,175,183],{"_key":72,"_type":73,"children":74,"markDefs":80,"style":81},"5080a478e98b","block",[75],{"_key":76,"_type":77,"marks":78,"text":79},"c752b93a1c90","span",[],"Driftwire SDKs can evaluate a flag in three places: in your server process, at the CDN edge before the request reaches you, or in the browser. Each moves cost somewhere else.",[],"normal",{"_key":83,"_type":73,"children":84,"markDefs":89,"style":90},"f742b6d31486",[85],{"_key":86,"_type":77,"marks":87,"text":88},"bdd133e55adc",[],"Server-side",[],"h2",{"_key":92,"_type":73,"children":93,"level":98,"listItem":99,"markDefs":100,"style":81},"8088d97909f7",[94],{"_key":95,"_type":77,"marks":96,"text":97},"222602207130",[],"The ruleset lives in your process; evaluation takes microseconds.",1,"bullet",[],{"_key":102,"_type":73,"children":103,"level":98,"listItem":99,"markDefs":108,"style":81},"eac63c80e3aa",[104],{"_key":105,"_type":77,"marks":106,"text":107},"fc3bfdc6dd40",[],"Context can include anything your server knows: plan, account age, internal IDs.",[],{"_key":110,"_type":73,"children":111,"level":98,"listItem":99,"markDefs":116,"style":81},"b560f3a6505d",[112],{"_key":113,"_type":77,"marks":114,"text":115},"caeaa6603dfc",[],"Cost: one streaming connection per process.",[],{"_key":118,"_type":73,"children":119,"markDefs":124,"style":90},"69df795fadc2",[120],{"_key":121,"_type":77,"marks":122,"text":123},"d0aec7085dcd",[],"At the edge",[],{"_key":126,"_type":73,"children":127,"level":98,"listItem":99,"markDefs":141,"style":81},"457f5afc3ccb",[128,132,137],{"_key":129,"_type":77,"marks":130,"text":131},"5f5bf3800651",[],"Decides before your origin is hit, so a page can be ",{"_key":133,"_type":77,"marks":134,"text":136},"9f0542a5399c",[135],"strong","cached per variant",{"_key":138,"_type":77,"marks":139,"text":140},"439b6afe3777",[],".",[],{"_key":143,"_type":73,"children":144,"level":98,"listItem":99,"markDefs":149,"style":81},"28cb37583fcb",[145],{"_key":146,"_type":77,"marks":147,"text":148},"ee1e96b53ec0",[],"Context is limited to the request: cookies, headers, geography.",[],{"_key":151,"_type":73,"children":152,"level":98,"listItem":99,"markDefs":157,"style":81},"d5a4ffa86885",[153],{"_key":154,"_type":77,"marks":155,"text":156},"560881e7ab98",[],"Best for: routing, redirects, whole-page experiments.",[],{"_key":159,"_type":73,"children":160,"markDefs":165,"style":90},"cfb3c4aa7e02",[161],{"_key":162,"_type":77,"marks":163,"text":164},"4b08d9093349",[],"How to choose",[],{"_key":167,"_type":73,"children":168,"markDefs":173,"style":174},"4092fdb77a18",[169],{"_key":170,"_type":77,"marks":171,"text":172},"f8aab6d59ea9",[],"Measure two numbers",[],"h3",{"_key":176,"_type":73,"children":177,"markDefs":182,"style":81},"3fd52a97da84",[178],{"_key":179,"_type":77,"marks":180,"text":181},"ca805e8cdace",[],"First, how much of your page is personalised: if a flag only changes one component, evaluate it on the server. Second, your cache hit rate per variant: if splitting the cache in two halves your hit rate, edge evaluation costs more than it saves.",[],{"_key":184,"_type":73,"children":185,"markDefs":207,"style":81},"23ae14c061ae",[186,190,195,199,203],{"_key":187,"_type":77,"marks":188,"text":189},"062e62682102",[],"Most teams end up with both: ",{"_key":191,"_type":77,"marks":192,"text":194},"df190c693d32",[193],"code","edge",{"_key":196,"_type":77,"marks":197,"text":198},"b16af6a80b68",[]," for routing and experiments, ",{"_key":200,"_type":77,"marks":201,"text":202},"b23dd4f33823",[193],"server",{"_key":204,"_type":77,"marks":205,"text":206},"047ccf40d001",[]," for everything that needs account data.",[],[209],{"_createdAt":52,"_id":210,"_rev":211,"_type":212,"_updatedAt":213,"slug":214,"title":215},"driftwire-category-engineering","W5BzlLjnYUuDrmlopXouBu","category","2026-11-10T22:53:47Z","engineering","Engineering","Evaluating flags at the edge is fast. Evaluating them on your server is simple. Which one you want depends on numbers you can measure in an afternoon.",{"_type":218,"layout":219,"pageDesign":220},"post.layout.options","default","design1",{"_type":58,"alt":222,"asset":223},"Engineering cover: Edge or server evaluation? Measure before you choose",{"_ref":224,"_type":15},"image-335586df211ad6b1e711562eccf1cf16e8090a11-1600x900-jpg","2026-06-02T09:00:00.000Z",[227,243,258],{"_id":228,"authorProfile":229,"categories":232,"excerpt":234,"mainImage":235,"publishedAt":239,"readTime":240,"slug":241,"title":242},"driftwire-post-edge-propagation",{"avatar":230,"name":63,"role":64,"slug":67},{"_type":58,"alt":59,"asset":231},{"_ref":61,"_type":15},[233],{"slug":214,"title":215},"A kill switch that takes a minute to arrive is a status page with extra steps. How our control plane fans a single write out to 312 edge nodes, and where the 38 ms actually goes.",{"_type":58,"alt":236,"asset":237},"Engineering cover: How we push a kill switch to 312 edge nodes in 38 ms",{"_ref":238,"_type":15},"image-75833b45f7bd6ef1e0d8f5900a4006e107fdb8bd-1600x900-jpg","2026-10-06T09:00:00.000Z",2,"edge-propagation","How we push a kill switch to 312 edge nodes in 38 ms",{"_id":244,"authorProfile":245,"categories":248,"excerpt":250,"mainImage":251,"publishedAt":255,"readTime":98,"slug":256,"title":257},"driftwire-post-percentage-rollouts",{"avatar":246,"name":63,"role":64,"slug":67},{"_type":58,"alt":59,"asset":247},{"_ref":61,"_type":15},[249],{"slug":214,"title":215},"A 25% rollout is not \"one request in four\". It is a stable answer to \"is this user in?\", identical on every server, that never flips a user back out. That is a hashing problem.",{"_type":58,"alt":252,"asset":253},"Engineering cover: Percentage rollouts are a hashing problem",{"_ref":254,"_type":15},"image-4b4179c3d9320c0f9bf734ebd4c1860ecdabdd2a-1600x900-jpg","2026-09-08T09:00:00.000Z","percentage-rollouts","Percentage rollouts are a hashing problem",{"_id":259,"authorProfile":260,"categories":268,"excerpt":270,"mainImage":271,"publishedAt":275,"readTime":98,"slug":276,"title":277},"driftwire-post-testing-combinations",{"avatar":261,"name":265,"role":266,"slug":267},{"_type":58,"alt":262,"asset":263},"Initials avatar for Jordan Hale",{"_ref":264,"_type":15},"image-097a0f6135da5d3dedfc9d8fe79bba96e1550621-256x256-png","Jordan Hale","Co-founder & CTO","jordan-hale",[269],{"slug":214,"title":215},"Ten boolean flags make 1,024 combinations, and you will not test them all. You do not need to. Test the defaults, the targets, and the pairs that touch the same code.",{"_type":58,"alt":272,"asset":273},"Engineering cover: You cannot test every flag combination. Test these instead",{"_ref":274,"_type":15},"image-a6198bda12704ab24d51cd2c562ac7f6ab1ae15c-1600x900-jpg","2026-07-14T09:00:00.000Z","testing-combinations","You cannot test every flag combination. Test these instead",{"_type":279,"includeInSitemap":280,"slug":281},"page.routing.options",true,{"_type":282,"current":283},"slug","edge-vs-server",[285,286,287],"Architecture","Edge","Performance","Edge or server evaluation? Measure before you choose",1794954844236]