[{"data":1,"prerenderedAt":1018},["ShallowReactive",2],{"/blog/path-to-decomposing-gitlab-database-part2":3,"navigation-en-us":265,"banner-en-us":703,"footer-en-us":711,"blog-post-authors-en-us-Dylan Griffith":958,"blog-related-posts-en-us-path-to-decomposing-gitlab-database-part2":973,"blog-share-wrapper-en-us":998,"next-steps-en-us":1008},{"id":4,"title":5,"authors":6,"body":8,"category":243,"date":244,"description":245,"extension":246,"externalUrl":247,"faq":247,"featured":248,"heroImage":249,"hidePromo":248,"meta":250,"navigation":251,"path":252,"seo":253,"slug":258,"stem":259,"tags":260,"template":263,"updatedDate":247,"__hash__":264},"blogPosts/en-us/blog/path-to-decomposing-gitlab-database-part2.md","Decomposing the GitLab backend database, Part 2: Final migration and results",[7],"Dylan Griffith",{"type":9,"value":10,"toc":234},"minimark",[11,24,29,38,69,76,79,82,93,108,119,122,126,129,132,135,144,148,151,154,168,172,180,183,223,227],[12,13,14],"p",{},[15,16,17,18,23],"em",{},"This blog post is part 2 in a three-part series about decomposing the GitLab backend database. It focuses on the final migration\nprocess and highlights the results we achieved after the migration. If you want to read about the design and planning phase, check out ",[19,20,22],"a",{"href":21},"/blog/path-to-decomposing-gitlab-database-part1/","part 1",".",[25,26,28],"h2",{"id":27},"deciding-between-zero-downtime-and-full-downtime","Deciding between zero downtime and full downtime",[12,30,31,32,37],{},"Early on in the project we thought it would be necessary for the migration to\nbe \"zero downtime\" or \"near-zero downtime\". We ",[19,33,36],{"href":34,"rel":35},"https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/84588",[],"came up with this plan","\nearly on which involved (in summary):",[39,40,41,45,48,51,54,57,60,63,66],"ol",{},[42,43,44],"li",{},"The entire database would be replicated (including non-CI tables) using\nPatroni cascading/standby replication to a dedicated CI Patroni cluster.\nReplication only lags by at most a few seconds.",[42,46,47],{},"Read traffic for CI tables could be split ahead of time to read from the CI\nreplicas.",[42,49,50],{},"Write traffic would be split ahead of the migration into CI and Main by\nsending these through separate dedicated PGBouncer proxies. Initially CI\nwrites still go to the Main database since the CI cluster is just a standby.\nThese proxies would be the thing we reconfigured during the live migration\nto point at the CI cluster.",[42,52,53],{},"At the time of migration we would pause writes to the CI tables by pausing\nthe CI PGBouncer.",[42,55,56],{},"After pausing writes to the CI database we'd capture the current LSN\nposition in Postgres of the Main primary database (now expect no more writes\nto CI tables to be possible).",[42,58,59],{},"After that we wait until the CI database replication catches up to that\npoint.",[42,61,62],{},"Then we promote the CI database to accept writes (remove the cascading\nreplication).",[42,64,65],{},"Then we reconfigure writes to point to the CI database by updating the write\nhost in the CI PGBouncer.",[42,67,68],{},"The migration is done.",[12,70,71],{},[72,73],"img",{"alt":74,"src":75},"Database architecture actual final migration step","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397716/blog/Content%20Images/2022-07-15-path-to-decomposing-gitlab-database/phase4to7.png",[12,77,78],{},"This approach (assuming that the CI replicas were only delayed by a few\nseconds) would mean that, at most, there would be a few seconds where CI writes\nmight result in errors and 500s for users. Many failures would likely already\nbe retried since much of CI write traffic goes via asynchronous (Sidekiq)\nprocesses that automatically retry.",[12,80,81],{},"In the end we didn't use this approach because:",[39,83,84,87,90],{},[42,85,86],{},"This approach didn't have an easy-to-implement rollback strategy. Data that\nwas written to CI tables during the migration would be lost if we rolled\nback to just the Main database.",[42,88,89],{},"The period of a few seconds where we expect to see some errors might make it\ndifficult for us to quickly determine the success or failure of the\nmigration.",[42,91,92],{},"There was no hard business requirement to avoid downtime.",[12,94,95,96,101,102,107],{},"The ",[19,97,100],{"href":98,"rel":99},"https://gitlab.com/groups/gitlab-org/-/epics/7791",[],"migration approach we ended up using"," took two\nhours of downtime. We stopped all GitLab services that could read or write\nfrom the database. We also blocked user-level traffic at the CDN (Cloudflare) to allow us\nto do some automated and manual testing before opening traffic back up to\nusers. This allowed us to prepare a ",[19,103,106],{"href":104,"rel":105},"https://gitlab.com/gitlab-org/gitlab/-/issues/361759",[],"slightly more straightforward rollback procedure",",\nwhich was:",[39,109,110,113,116],{},[42,111,112],{},"Reconfigure all read-only CI traffic back to the Main replicas",[42,114,115],{},"Reconfigure all read-write CI traffic (via PGBouncer) back to the Main\nprimary database",[42,117,118],{},"Increment the Postgres sequences for all CI tables to avoid overlapping with\ndata we created in our testing",[12,120,121],{},"Ultimately having a simple rollback mechanism proved very useful in doing many\npractice runs on staging.",[25,123,125],{"id":124},"rehearsing-the-migration-process","Rehearsing the migration process",[12,127,128],{},"Before executing the final migration on GitLab.com, we executed seven rehearsals\nwith rollback and one final migration on our staging environment. In these\npractice runs, we discovered many small issues that would have likely caused\nissues in the production environment.",[12,130,131],{},"These rehearsals also gave all the participants an opportunity to perfect their steps\nin the process to minimize delays in our production rollout. This practice\nultimately allowed us to be quite confident in our timeline of at most two hours of downtime.",[12,133,134],{},"In the end, we finished the migration in 93 minutes, with a few small delays caused by\nsurprises we did not see in staging.",[12,136,137,138,143],{},"The rehearsal process was very time-consuming and a vast effort to execute in\nthe context of GitLab, where we all ",[19,139,142],{"href":140,"rel":141},"https://handbook.gitlab.com/handbook/company/culture/all-remote/asynchronous/",[],"work\nasynchronously","\nand across different timezones. However, it proved to be essential to the success of\nthis project.",[25,145,147],{"id":146},"preparing-for-production-migration","Preparing for production migration",[12,149,150],{},"One week before our the final migration on production we prepared a production\nreadiness review issue for final approval from executives. This was a good\nopportunity to highlight all the preparation and validation we'd done to give\nus confidence in the plan. This also encouraged us to do extra validation where\nwe might expect to see questions or concerns about the plan.",[12,152,153],{},"Some highlights from this review included:",[39,155,156,159,162,165],{},[42,157,158],{},"The amount of practice runs we'd done including details about the problems\nwe'd seen and resolved in staging",[42,160,161],{},"Metrics which we'd observed to prove all the queries were using the right\ndatabase connections already",[42,163,164],{},"Details about how long we'd been running without issues in local development\nwith all GitLab developers running with two databases by default",[42,166,167],{},"Details about the rollback strategy we would use if necessary and how we\ntested this rollback strategy in staging as well as some production\nvalidation",[25,169,171],{"id":170},"tracking-the-results","Tracking the results",[12,173,174,175,23],{},"After we completed the rollout we tracked\n",[19,176,179],{"href":177,"rel":178},"https://gitlab.com/gl-retrospectives/sharding-group/-/issues/18",[],"performance improvements across some metrics we expected to improve",[12,181,182],{},"The data showed:",[184,185,186,196,199,202,205,214],"ul",{},[42,187,188,189,192],{},"We decreased the CPU utilization of our primary database server, giving us much more headroom.",[190,191],"br",{},[72,193],{"alt":194,"src":195},"CPU peaks before and after decomposition shows smaller peaks after","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397714/blog/Content%20Images/2022-07-15-path-to-decomposing-gitlab-database/cpu-post-decomposition-improvement.png",[42,197,198],{},"We can free around 9.2TiB out of 22TiB from our Main database by truncating the CI tables.",[42,200,201],{},"We can free around 12.5TiB out of 22TiB from our CI database by truncating the Main tables.",[42,203,204],{},"We significantly reduced the rate of dead tuples on our Main database.",[42,206,207,208,210],{},"We significantly reduced vacuuming saturation. Before decomposition the Main database\nmaximum vacuuming saturation was up to 100%, with the average closer to 80%. After\ndecomposition, vacuuming saturation has stabilized at around 15% for\nboth databases.",[190,209],{},[72,211],{"alt":212,"src":213},"Vacuum saturation before and after decomposition shows a decrease after decomposition","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397716/blog/Content%20Images/2022-07-15-path-to-decomposing-gitlab-database/vacuum-saturation-post-decomposition.png",[42,215,216,217,219],{},"We reduced the average query duration for our Sidekiq PGBouncer query\npool by at least a factor of 5 once we scaled up connection limits due to our\nincreased headroom. Previously we needed to throttle connections for\nasynchronous workloads to avoid overloading the primary database.",[190,218],{},[72,220],{"alt":221,"src":222},"Average active query duration by workload shows a decrease after scaling connections after decomposition","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397714/blog/Content%20Images/2022-07-15-path-to-decomposing-gitlab-database/pgbouncer-active-query-duration-by-workload.png",[25,224,226],{"id":225},"continue-reading","Continue reading",[12,228,229,230,23],{},"You can read more about some interesting technical challenges and surprises we\nhad to deal with along the way in\n",[19,231,233],{"href":232},"/blog/path-to-decomposing-gitlab-database-part3/","part 3",{"title":235,"searchDepth":236,"depth":236,"links":237},"",2,[238,239,240,241,242],{"id":27,"depth":236,"text":28},{"id":124,"depth":236,"text":125},{"id":146,"depth":236,"text":147},{"id":170,"depth":236,"text":171},{"id":225,"depth":236,"text":226},"engineering","2022-08-04","This is the second in our three-part technical summary of the yearlong project to decompose GitLab's Postgres database.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749663397/Blog/Hero%20Images/logoforblogpost.jpg",{},true,"/en-us/blog/path-to-decomposing-gitlab-database-part2",{"title":254,"description":245,"ogTitle":254,"ogDescription":245,"noIndex":248,"ogImage":249,"ogUrl":255,"ogSiteName":256,"ogType":257,"canonicalUrls":255},"GitLab database decomposition: Final migration and results","https://about.gitlab.com/blog/path-to-decomposing-gitlab-database-part2","https://about.gitlab.com","article","path-to-decomposing-gitlab-database-part2","en-us/blog/path-to-decomposing-gitlab-database-part2",[261,262],"inside GitLab","design","BlogPost","pRMcc6gg21wUy9spOVS-8BXeyTF5t5StP-y_YbD1e9g",{"logo":266,"freeTrial":271,"sales":276,"login":281,"items":286,"search":622,"minimal":654,"duo":673,"switchNav":682,"pricingDeployment":693},{"config":267},{"href":268,"dataGaName":269,"dataGaLocation":270},"/","gitlab logo","header",{"text":272,"config":273},"Get free trial",{"href":274,"dataGaName":275,"dataGaLocation":270},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":277,"config":278},"Request a demo",{"href":279,"dataGaName":280,"dataGaLocation":270},"/request-a-demo/","sales",{"text":282,"config":283},"Sign in",{"href":284,"dataGaName":285,"dataGaLocation":270},"https://gitlab.com/users/sign_in/","sign in",[287,373,461,466,546,600],{"text":288,"left":251,"config":289,"menu":291},"Platform",{"dataNavLevelOne":290},"platform",{"type":292,"link":293,"columns":297,"feature":362},"lists",{"text":294,"config":295},"Explore the Platform",{"href":296,"dataGaName":290,"dataGaLocation":270},"/platform/",[298,321,344],{"title":299,"items":300},"DevOps",[301,306,311,316],{"text":302,"config":303},"CI/CD",{"href":304,"dataGaLocation":270,"dataGaName":305},"/solutions/continuous-integration/","ci/cd",{"text":307,"config":308},"Source Code Management",{"href":309,"dataGaLocation":270,"dataGaName":310},"/solutions/source-code-management/","source code management",{"text":312,"config":313},"Agile Delivery",{"href":314,"dataGaLocation":270,"dataGaName":315},"/solutions/agile-delivery/","agile delivery",{"text":317,"config":318},"Artifact Management",{"href":319,"dataGaLocation":270,"dataGaName":320},"/artifact-central/","artifact management",{"title":322,"items":323},"Security & Governance",[324,329,334,339],{"text":325,"config":326},"Application Security Testing",{"href":327,"dataGaLocation":270,"dataGaName":328},"/solutions/application-security-testing/","application security testing",{"text":330,"config":331},"Governance & Compliance",{"href":332,"dataGaLocation":270,"dataGaName":333},"/solutions/software-compliance/","governance and compliance",{"text":335,"config":336},"Secrets Management",{"href":337,"dataGaLocation":270,"dataGaName":338},"/gitlab-secrets-manager/","secrets management",{"text":340,"config":341},"Supply Chain Security",{"href":342,"dataGaLocation":270,"dataGaName":343},"/solutions/supply-chain/","supply chain security",{"title":345,"items":346},"Agentic AI & Context",[347,352,357],{"text":348,"config":349},"Duo Agent Platform",{"href":350,"dataGaLocation":270,"dataGaName":351},"/gitlab-duo-agent-platform/","duo agent platform",{"text":353,"config":354},"Orbit Context Graph",{"href":355,"dataGaLocation":270,"dataGaName":356},"/gitlab-orbit/","orbit",{"text":358,"config":359},"Visibility & Measurement",{"href":360,"dataGaLocation":270,"dataGaName":361},"/solutions/visibility-measurement/","visibility and measurement",{"config":363,"title":366,"text":367,"link":368},{"background":364,"textColor":365},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":369,"config":370},"Read the announcement",{"href":371,"dataGaName":372,"dataGaLocation":270},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":374,"left":251,"config":375,"menu":377},"Solutions",{"dataNavLevelOne":376},"solutions",{"type":292,"link":378,"columns":382,"feature":452},{"text":379,"config":380},"View all Solutions",{"href":381,"dataGaName":376,"dataGaLocation":270},"/solutions/",[383,401,419],{"title":384,"items":385},"Outcomes",[386,391,396],{"text":387,"config":388},"DevOps Modernization",{"href":389,"dataGaLocation":270,"dataGaName":390},"/assessments/devops-modernization-assessment/","devops modernization",{"text":392,"config":393},"Security Modernization",{"href":394,"dataGaLocation":270,"dataGaName":395},"/assessments/security-modernization-assessment/","security modernization",{"text":397,"config":398},"AI Modernization",{"href":399,"dataGaLocation":270,"dataGaName":400},"/assessments/ai-modernization-assessment/","ai modernization",{"title":402,"items":403},"By size",[404,409,414],{"text":405,"config":406},"Enterprise",{"href":407,"dataGaLocation":270,"dataGaName":408},"/enterprise/","enterprise",{"text":410,"config":411},"Small Business",{"href":412,"dataGaLocation":270,"dataGaName":413},"/small-business/","small business",{"text":415,"config":416},"Startups",{"href":417,"dataGaLocation":270,"dataGaName":418},"/solutions/startups/","startups",{"title":420,"items":421},"Industries",[422,427,432,437,442,447],{"text":423,"config":424},"Financial Services",{"href":425,"dataGaLocation":270,"dataGaName":426},"/solutions/finance/","financial services",{"text":428,"config":429},"Public Sector",{"href":430,"dataGaLocation":270,"dataGaName":431},"/solutions/public-sector/","public sector",{"text":433,"config":434},"Telecommunications",{"href":435,"dataGaLocation":270,"dataGaName":436},"/solutions/telecommunications/","telecommunications",{"text":438,"config":439},"Automotive",{"href":440,"dataGaLocation":270,"dataGaName":441},"/solutions/automotive/","automotive",{"text":443,"config":444},"Education",{"href":445,"dataGaLocation":270,"dataGaName":446},"/solutions/education/","education",{"text":448,"config":449},"Aerospace",{"href":450,"dataGaLocation":270,"dataGaName":451},"/solutions/aerospace/","aerospace",{"config":453,"title":454,"text":455,"link":456},{"background":364,"textColor":365},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":457,"config":458},"Explore the standard",{"href":459,"dataGaName":460,"dataGaLocation":270},"/gitlab-security-standard/","gitlab security standard",{"text":462,"config":463},"Pricing",{"href":464,"dataGaName":465,"dataGaLocation":270,"dataNavLevelOne":465},"/pricing/","pricing",{"text":467,"config":468,"menu":470},"Resources",{"dataNavLevelOne":469},"resources",{"type":292,"link":471,"columns":475,"feature":537},{"text":472,"config":473},"View all resources",{"href":474,"dataGaName":469,"dataGaLocation":270},"/resources/",[476,509],{"title":477,"items":478},"Discover",[479,484,489,494,499,504],{"text":480,"config":481},"Docs",{"href":482,"dataGaName":483,"dataGaLocation":270},"https://docs.gitlab.com/","docs",{"text":485,"config":486},"University",{"href":487,"dataGaName":488,"dataGaLocation":270},"https://university.gitlab.com/","university",{"text":490,"config":491},"Demo Series",{"href":492,"dataGaName":493,"dataGaLocation":270},"/gitlab-technical-demo-series/","demo series",{"text":495,"config":496},"Demo Hub",{"href":497,"dataGaName":498,"dataGaLocation":270},"/demo-hub/","demo hub",{"text":500,"config":501},"Services",{"href":502,"dataGaName":503,"dataGaLocation":270},"/services/","services",{"text":505,"config":506},"Well Architected",{"href":507,"dataGaName":508,"dataGaLocation":270},"/resources/well-architected/","well architected",{"title":510,"items":511},"Connect",[512,517,522,527,532],{"text":513,"config":514},"Blog",{"href":515,"dataGaName":516,"dataGaLocation":270},"/blog/","blog",{"text":518,"config":519},"Community",{"href":520,"dataGaName":521,"dataGaLocation":270},"/community/","community",{"text":523,"config":524},"Customers",{"href":525,"dataGaName":526,"dataGaLocation":270},"/customers/","customers",{"text":528,"config":529},"Partners",{"href":530,"dataGaName":531,"dataGaLocation":270},"/partners/","partners",{"text":533,"config":534},"Events",{"href":535,"dataGaName":536,"dataGaLocation":270},"/events/","events",{"config":538,"title":539,"text":540,"link":541},{"background":364,"textColor":365},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":542,"config":543},"Read the latest",{"href":544,"dataGaName":545,"dataGaLocation":270},"/whats-new/","whats new",{"text":547,"config":548,"menu":550},"Company",{"dataNavLevelOne":549},"company",{"type":292,"columns":551},[552],{"items":553},[554,559,565,570,575,580,585,590,595],{"text":555,"config":556},"About",{"href":557,"dataGaName":558,"dataGaLocation":270},"/company/","about",{"text":560,"config":561,"footerGa":564},"Jobs",{"href":562,"dataGaName":563,"dataGaLocation":270},"/jobs/","jobs",{"dataGaName":563},{"text":566,"config":567},"Press",{"href":568,"dataGaName":569,"dataGaLocation":270},"/press/","press",{"text":571,"config":572},"Handbook",{"href":573,"dataGaName":574,"dataGaLocation":270},"https://handbook.gitlab.com/","handbook",{"text":576,"config":577},"Leadership",{"href":578,"dataGaName":579,"dataGaLocation":270},"/company/team/e-group/","leadership",{"text":581,"config":582},"Investor relations",{"href":583,"dataGaName":584,"dataGaLocation":270},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":586,"config":587},"Trust Center",{"href":588,"dataGaName":589,"dataGaLocation":270},"/security/","trust center",{"text":591,"config":592},"AI Transparency Center",{"href":593,"dataGaName":594,"dataGaLocation":270},"/ai-transparency-center/","ai transparency center",{"text":596,"config":597},"Newsletter",{"href":598,"dataGaName":599,"dataGaLocation":270},"/company/contact/#contact-forms","newsletter",{"text":601,"config":602,"menu":603},"Contact us",{"dataNavLevelOne":549},{"type":292,"columns":604},[605],{"items":606},[607,612,617],{"text":608,"config":609},"Talk to sales",{"href":610,"dataGaName":611,"dataGaLocation":270},"/sales/","talk to sales",{"text":613,"config":614},"Support portal",{"href":615,"dataGaName":616,"dataGaLocation":270},"https://support.gitlab.com/hc/en-us","support portal",{"text":618,"config":619},"Customer portal",{"href":620,"dataGaName":621,"dataGaLocation":270},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":623,"login":624,"suggestions":631},"Close",{"text":625,"link":626},"To search repositories and projects, login to",{"text":627,"config":628},"gitlab.com",{"href":284,"dataGaName":629,"dataGaLocation":630},"search login","search",{"text":632,"default":633},"Suggestions",[634,637,640,642,646,650],{"text":635,"config":636},"GitLab Duo Agent Platform",{"href":350,"dataGaName":635,"dataGaLocation":630},{"text":638,"config":639},"Code Suggestions (AI)",{"href":350,"dataGaName":638,"dataGaLocation":630},{"text":302,"config":641},{"href":304,"dataGaName":302,"dataGaLocation":630},{"text":643,"config":644},"GitLab on AWS",{"href":645,"dataGaName":643,"dataGaLocation":630},"/partners/technology-partners/aws/",{"text":647,"config":648},"GitLab on Google Cloud",{"href":649,"dataGaName":647,"dataGaLocation":630},"/partners/technology-partners/google-cloud-platform/",{"text":651,"config":652},"Why GitLab?",{"href":653,"dataGaName":651,"dataGaLocation":630},"/why-gitlab/",{"freeTrial":655,"mobileIcon":660,"desktopIcon":665,"secondaryButton":668},{"text":656,"config":657},"Start free trial",{"href":658,"dataGaName":275,"dataGaLocation":659},"https://gitlab.com/-/trials/new/","nav",{"altText":661,"config":662},"Gitlab Icon",{"src":663,"dataGaName":664,"dataGaLocation":659},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":661,"config":666},{"src":667,"dataGaName":664,"dataGaLocation":659},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":669,"config":670},"Get Started",{"href":671,"dataGaName":672,"dataGaLocation":659},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":674,"mobileIcon":678,"desktopIcon":680},{"text":675,"config":676},"Learn more about GitLab Duo",{"href":350,"dataGaName":677,"dataGaLocation":659},"gitlab duo",{"altText":661,"config":679},{"src":663,"dataGaName":664,"dataGaLocation":659},{"altText":661,"config":681},{"src":667,"dataGaName":664,"dataGaLocation":659},{"button":683,"mobileIcon":688,"desktopIcon":690},{"text":684,"config":685},"/switch",{"href":686,"dataGaName":687,"dataGaLocation":659},"#contact","switch",{"altText":661,"config":689},{"src":663,"dataGaName":664,"dataGaLocation":659},{"altText":661,"config":691},{"src":692,"dataGaName":664,"dataGaLocation":659},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":694,"mobileIcon":699,"desktopIcon":701},{"text":695,"config":696},"Back to pricing",{"href":464,"dataGaName":697,"dataGaLocation":659,"icon":698},"back to pricing","GoBack",{"altText":661,"config":700},{"src":663,"dataGaName":664,"dataGaLocation":659},{"altText":661,"config":702},{"src":667,"dataGaName":664,"dataGaLocation":659},{"title":704,"button":705,"config":709},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":369,"config":706},{"href":371,"dataGaName":707,"dataGaLocation":708},"orbit-ga-banner","global-banner",{"layout":710,"disabled":248},"release",{"data":712},{"text":713,"config":714,"items":719,"minimal":947},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":715,"facebook":716,"youtube":717,"linkedin":718},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[720,768,827,874,915],{"title":462,"links":721,"subMenu":737},[722,727,732],{"text":723,"config":724},"View plans",{"href":464,"dataGaName":725,"dataGaLocation":726},"view plans","footer",{"text":728,"config":729},"Why Premium?",{"href":730,"dataGaName":731,"dataGaLocation":726},"/pricing/premium/","why premium",{"text":733,"config":734},"Why Ultimate?",{"href":735,"dataGaName":736,"dataGaLocation":726},"/pricing/ultimate/","why ultimate",[738],{"title":739,"links":740},"Contact Us",[741,744,746,748,753,758,763],{"text":742,"config":743},"Contact sales",{"href":610,"dataGaName":280,"dataGaLocation":726},{"text":613,"config":745},{"href":615,"dataGaName":616,"dataGaLocation":726},{"text":618,"config":747},{"href":620,"dataGaName":621,"dataGaLocation":726},{"text":749,"config":750},"Status",{"href":751,"dataGaName":752,"dataGaLocation":726},"https://status.gitlab.com/","status",{"text":754,"config":755},"Terms of use",{"href":756,"dataGaName":757,"dataGaLocation":726},"/terms/","terms of use",{"text":759,"config":760},"Privacy statement",{"href":761,"dataGaName":762,"dataGaLocation":726},"/privacy/","privacy statement",{"text":764,"config":765},"Cookie preferences",{"dataGaName":766,"dataGaLocation":726,"id":767,"isOneTrustButton":251},"cookie preferences","ot-sdk-btn",{"title":288,"links":769,"subMenu":785},[770,773,775,777,779,781],{"text":771,"config":772},"Explore the platform",{"href":296,"dataGaName":290,"dataGaLocation":726},{"text":348,"config":774},{"href":350,"dataGaName":351,"dataGaLocation":726},{"text":302,"config":776},{"href":304,"dataGaName":305,"dataGaLocation":726},{"text":353,"config":778},{"href":355,"dataGaName":356,"dataGaLocation":726},{"text":335,"config":780},{"href":337,"dataGaName":338,"dataGaLocation":726},{"text":782,"config":783},"Why GitLab",{"href":653,"dataGaName":784,"dataGaLocation":726},"why gitlab",[786],{"title":787,"links":788},"Topics",[789,793,798,802,807,812,817,822],{"text":302,"config":790},{"href":791,"dataGaName":792,"dataGaLocation":726},"/topics/ci-cd/","cicd",{"text":794,"config":795},"GitOps",{"href":796,"dataGaName":797,"dataGaLocation":726},"/topics/gitops/","gitops",{"text":299,"config":799},{"href":800,"dataGaName":801,"dataGaLocation":726},"/topics/devops/","devops",{"text":803,"config":804},"Version Control",{"href":805,"dataGaName":806,"dataGaLocation":726},"/topics/version-control/","version control",{"text":808,"config":809},"DevSecOps",{"href":810,"dataGaName":811,"dataGaLocation":726},"/topics/devsecops/","devsecops",{"text":813,"config":814},"Cloud Native",{"href":815,"dataGaName":816,"dataGaLocation":726},"/topics/cloud-native/","cloud native",{"text":818,"config":819},"AI for Coding",{"href":820,"dataGaName":821,"dataGaLocation":726},"/topics/devops/ai-for-coding/","ai for coding",{"text":823,"config":824},"Agentic AI",{"href":825,"dataGaName":826,"dataGaLocation":726},"/topics/agentic-ai/","agentic ai",{"title":374,"links":828},[829,832,835,838,841,844,846,848,850,852,854,857,859,862,866,870],{"text":830,"config":831},"DevOps modernization",{"href":389,"dataGaName":390,"dataGaLocation":726},{"text":833,"config":834},"Security modernization",{"href":394,"dataGaName":395,"dataGaLocation":726},{"text":836,"config":837},"AI modernization",{"href":399,"dataGaName":400,"dataGaLocation":726},{"text":839,"config":840},"Financial services",{"href":425,"dataGaName":426,"dataGaLocation":726},{"text":842,"config":843},"Public sector",{"href":430,"dataGaName":431,"dataGaLocation":726},{"text":433,"config":845},{"href":435,"dataGaName":436,"dataGaLocation":726},{"text":438,"config":847},{"href":440,"dataGaName":441,"dataGaLocation":726},{"text":443,"config":849},{"href":445,"dataGaName":446,"dataGaLocation":726},{"text":448,"config":851},{"href":450,"dataGaName":451,"dataGaLocation":726},{"text":405,"config":853},{"href":407,"dataGaName":408,"dataGaLocation":726},{"text":855,"config":856},"Small business",{"href":412,"dataGaName":413,"dataGaLocation":726},{"text":415,"config":858},{"href":417,"dataGaName":418,"dataGaLocation":726},{"text":794,"config":860},{"href":861,"dataGaName":797,"dataGaLocation":726},"/solutions/gitops/",{"text":863,"config":864},"Software composition analysis",{"href":342,"dataGaName":865,"dataGaLocation":726},"software composition analysis",{"text":867,"config":868},"Value stream management",{"href":360,"dataGaName":869,"dataGaLocation":726},"value stream management",{"text":871,"config":872},"All solutions",{"href":381,"dataGaName":873,"dataGaLocation":726},"all solutions",{"title":467,"links":875},[876,881,886,888,890,892,894,896,898,900,902,904,906,908,911],{"text":877,"config":878},"Install",{"href":879,"dataGaName":880,"dataGaLocation":726},"/install/","install",{"text":882,"config":883},"Quick start guides",{"href":884,"dataGaName":885,"dataGaLocation":726},"/get-started/","quick setup checklists",{"text":480,"config":887},{"href":482,"dataGaName":483,"dataGaLocation":726},{"text":485,"config":889},{"href":487,"dataGaName":488,"dataGaLocation":726},{"text":490,"config":891},{"href":492,"dataGaName":493,"dataGaLocation":726},{"text":495,"config":893},{"href":497,"dataGaName":498,"dataGaLocation":726},{"text":500,"config":895},{"href":502,"dataGaName":503,"dataGaLocation":726},{"text":513,"config":897},{"href":515,"dataGaName":516,"dataGaLocation":726},{"text":518,"config":899},{"href":520,"dataGaName":521,"dataGaLocation":726},{"text":523,"config":901},{"href":525,"dataGaName":526,"dataGaLocation":726},{"text":528,"config":903},{"href":530,"dataGaName":531,"dataGaLocation":726},{"text":533,"config":905},{"href":535,"dataGaName":536,"dataGaLocation":726},{"text":596,"config":907},{"href":598,"dataGaName":599,"dataGaLocation":726},{"text":909,"config":910},"What's new",{"href":544,"dataGaName":545,"dataGaLocation":726},{"text":912,"config":913},"All resources",{"href":474,"dataGaName":914,"dataGaLocation":726},"all resources",{"title":547,"links":916},[917,919,921,923,925,927,929,931,933,937,942],{"text":555,"config":918},{"href":557,"dataGaName":549,"dataGaLocation":726},{"text":560,"config":920},{"href":562,"dataGaName":563,"dataGaLocation":726},{"text":566,"config":922},{"href":568,"dataGaName":569,"dataGaLocation":726},{"text":571,"config":924},{"href":573,"dataGaName":574,"dataGaLocation":726},{"text":576,"config":926},{"href":578,"dataGaName":579,"dataGaLocation":726},{"text":581,"config":928},{"href":583,"dataGaName":584,"dataGaLocation":726},{"text":586,"config":930},{"href":588,"dataGaName":589,"dataGaLocation":726},{"text":591,"config":932},{"href":593,"dataGaName":594,"dataGaLocation":726},{"text":934,"config":935},"Sustainability",{"href":936,"dataGaName":934,"dataGaLocation":726},"/sustainability/",{"text":938,"config":939},"Diversity, inclusion and belonging (DIB)",{"href":940,"dataGaName":941,"dataGaLocation":726},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":943,"config":944},"Modern Slavery Transparency Statement",{"href":945,"dataGaName":946,"dataGaLocation":726},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":948},[949,952,955],{"text":950,"config":951},"Terms",{"href":756,"dataGaName":757,"dataGaLocation":726},{"text":953,"config":954},"Cookies",{"dataGaName":766,"dataGaLocation":726,"id":767,"isOneTrustButton":251},{"text":956,"config":957},"Privacy",{"href":761,"dataGaName":762,"dataGaLocation":726},[959],{"id":960,"title":7,"body":247,"config":961,"content":963,"description":247,"extension":967,"meta":968,"navigation":251,"path":969,"seo":970,"stem":971,"__hash__":972},"blogAuthors/en-us/blog/authors/dylan-griffith.yml",{"template":962},"BlogAuthor",{"name":7,"config":964},{"headshot":965,"ctfId":966},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749672822/Blog/Author%20Headshots/DylanGriffith-headshot.jpg","DylanGriffith","yml",{},"/en-us/blog/authors/dylan-griffith",{},"en-us/blog/authors/dylan-griffith","9wpc7kzdXwKMr4FZ6xU0rNn7VaQMStIIAbW69G1ZymY",[974,982,990],{"title":975,"description":976,"heroImage":977,"category":243,"date":978,"authors":979,"slug":981,"externalUrl":247},"Two front doors: Module-level access in a Django GRC app","A technical deep-dive on restructuring a Django internal tool to support two distinct GitLab teams: Security Compliance and Internal Audit.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097663/Blog/Hero%20Images/Blog/Hero%20Images/Workflow%201800x945_2gQoQIbY9NvjLFpXtsxtXy_1750097663612.png","2026-10-05",[980],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":983,"description":984,"heroImage":985,"category":243,"date":986,"authors":987,"slug":989,"externalUrl":247},"How GitLab reduced code-per-agentic-flow ratio by 45%","Learn how Flow Registry, a component-based framework that compiles YAML configurations into fully functional LangGraph flows, helped improve scalability and more.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-09-22",[988],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":991,"description":992,"heroImage":993,"category":243,"date":994,"authors":995,"slug":997,"externalUrl":247},"Co-Create: Building GitLab with our users","How GitLab users collaborated with us to build practical product improvements in the first half of 2026.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-09-10",[996],"Isa Huerga","co-create-h1-2026",{"header":999,"text":1000,"button":1004,"disclaimer":1007},"Start your free\n\n30-day GitLab trial\n",[1001,1002,1003],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":272,"config":1005},{"href":1006,"dataGaName":275,"dataGaLocation":516},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1009,"blurb":1010,"button":1011,"secondaryButton":1016},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1012,"config":1013},"Get your free trial",{"href":1014,"dataGaName":275,"dataGaLocation":1015},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":742,"config":1017},{"href":610,"dataGaName":280,"dataGaLocation":1015},1794911783512]