[{"data":1,"prerenderedAt":1115},["ShallowReactive",2],{"/blog/migrating-to-puma-on-gitlab":3,"navigation-en-us":363,"banner-en-us":801,"footer-en-us":809,"blog-post-authors-en-us-Craig Gomes":1056,"blog-related-posts-en-us-migrating-to-puma-on-gitlab":1070,"blog-share-wrapper-en-us":1095,"next-steps-en-us":1105},{"id":4,"title":5,"authors":6,"body":8,"category":341,"date":342,"description":343,"extension":344,"externalUrl":345,"faq":345,"featured":346,"heroImage":347,"hidePromo":346,"meta":348,"navigation":349,"path":350,"seo":351,"slug":355,"stem":356,"tags":357,"template":361,"updatedDate":345,"__hash__":362},"blogPosts/en-us/blog/migrating-to-puma-on-gitlab.md","How we migrated application servers from Unicorn to Puma",[7],"Craig Gomes",{"type":9,"value":10,"toc":323},"minimark",[11,15,20,36,39,42,47,50,53,56,60,75,79,106,110,136,140,155,164,168,171,175,196,216,220,240,248,252,255,262,270,274,277,285,291,297,303,309],[12,13,14],"p",{},"It’s been years in the making, but our journey to migrate our application servers from Unicorn to Puma is complete. With the Gitlab 12.9 release Puma was running on GitLab.com and now with 13.0 it is the default application server for everyone. This is the story about how we migrated from Unicorn to Puma and the results we’ve seen.",[16,17,19],"h2",{"id":18},"a-starting-point","A starting point",[12,21,22,23,29,30,35],{},"Both ",[24,25,28],"a",{"href":26,"rel":27},"https://yhbt.net/unicorn/",[],"Unicorn"," and ",[24,31,34],{"href":32,"rel":33},"https://puma.io",[],"Puma"," are web servers for Ruby on Rails. The big difference is that Unicorn is a single-threaded process model and Puma uses a multithreaded model.",[12,37,38],{},"Unicorn has a multi-process, single-threaded architecture to make better use of available CPU cores (processes can run on different cores) and to have stronger fault tolerance (most failures stay isolated in only one process and cannot take down GitLab entirely). On startup, the Unicorn ‘main’ process loads a clean Ruby environment with the GitLab application code, and then spawns ‘workers’ which inherit this clean initial environment. The ‘main’ never handles any requests; that is left to the workers. The operating system network stack queues incoming requests and distributes them among the workers.",[12,40,41],{},"Unlike Unicorn, Puma can run multiple threads for each worker. Puma can be tuned to run multiple threads and workers to make optimal use of your server and workload. For example, in Puma defining \"N workers\" with 1 thread is essentially equivalent to \"N Unicorn workers.\" In multi-threaded processes thread safety is critical to ensure proper functionality. We encountered one thread safety issue while migrating to Puma and we'll get to that shortly.",[43,44,46],"h3",{"id":45},"technical-descriptions","Technical Descriptions",[12,48,49],{},"Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be served by placing a reverse proxy capable of fully buffering both the the request and response in between unicorn and slow clients.",[12,51,52],{},"Puma is a multi-threaded web server and our replacement for Unicorn. Unlike other Ruby Webservers, Puma was built for speed and parallelism. Puma is a small library that provides a very fast and concurrent HTTP 1.1 server for Ruby web applications. It is designed for running Rack apps only.",[12,54,55],{},"What makes Puma so fast is the careful use of a Ragel extension to provide fast, accurate HTTP 1.1 protocol parsing. This makes the server scream without too many portability issues.",[16,57,59],{"id":58},"why-puma","Why Puma?",[12,61,62,63,68,69,74],{},"We began early investigations into Puma believing it would help resolve some of our ",[24,64,67],{"href":65,"rel":66},"https://gitlab.com/gitlab-org/gitlab-foss/-/issues/3700",[],"memory growth issues"," and also to help with scalability. By switching from Unicorn's single threaded process we could cut down on the number of processes running and the memory overhead of each of these processes. Ruby processes take up a significant amount of memory.  Threads, on the other hand, consume a much smaller amount of memory than workers because they are able to share a significantly larger portion of application memory.  When I/O causes a thread to pause, another thread can continue with its application request. In this way, multi-thread makes the best use of the available memory and CPU, reducing memory consumption by ",[24,70,73],{"href":71,"rel":72},"https://docs.gitlab.com/releases/#reduced-memory-consumption-of-gitlab-with-puma",[],"approximately 40%",".",[16,76,78],{"id":77},"the-early-appearance-of-puma","The early appearance of Puma",[12,80,81,82,87,88,93,94,99,100,105],{},"The first appearance of Puma in a GitLab issue was in a discussion about using ",[24,83,86],{"href":84,"rel":85},"https://gitlab.com/gitlab-org/gitlab-foss/-/issues/3592",[],"multithreaded application servers",", dating back to November 20, 2015. In our spirit of iteration, the first attempt at adding experimental support for Puma followed shortly after with a ",[24,89,92],{"href":90,"rel":91},"https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/1899",[],"merge request"," on November 25, 2015. The initial ",[24,95,98],{"href":96,"rel":97},"https://gitlab.com/gitlab-org/gitlab-foss/-/issues/3592#note_2805965",[],"results"," indicated a lack of stability and thus did not merit us moving forward with Puma at the time. While the push ",[24,101,104],{"href":102,"rel":103},"https://gitlab.com/gitlab-org/gitlab-foss/-/issues/25421",[],"to improve our memory footprint"," continued, the efforts to move forward with Puma stalled for a while.",[16,107,109],{"id":108},"experimental-development-use","Experimental development use",[12,111,112,113,118,119,124,125,130,131,135],{},"In May, 2018 Puma was configured for ",[24,114,117],{"href":115,"rel":116},"https://gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/532",[],"experimental development use"," in GitLab Rails and ",[24,120,123],{"href":121,"rel":122},"https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/2801",[],"Omnibus",". Later that year, we added ",[24,126,129],{"href":127,"rel":128},"https://gitlab.com/gitlab-org/gitlab-foss/-/issues/52769",[],"Puma metrics to Prometheus"," to track our internal experimental usage of Puma. By early spring of 2019 GitLab moved forward with the creation of the ",[24,132,134],{"href":133},"/blog/why-we-created-the-gitlab-memory-team/","Memory Team"," whose early set of identified tasks was to deploy Puma to GitLab.com.",[16,137,139],{"id":138},"implementation-steps","Implementation steps",[12,141,142,143,148,149,154],{},"The efforts to implement Puma on GitLab.com and for our self-managed customers started in earnest in early 2019 with the ",[24,144,147],{"href":145,"rel":146},"https://gitlab.com/groups/gitlab-org/-/epics/954",[],"Enable Puma Web Server for GitLab"," epic and the creation of the Memory Team. One of the early steps we took was to ",[24,150,153],{"href":151,"rel":152},"https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues/490",[],"enable Puma by default in the GDK "," to get metrics and feedback from the community and our customers while we worked to deploy on GitLab.com.",[12,156,157,158,163],{},"The ability to measure the improvements achieved by the Puma deployment was critical to determining whether we had achieved our goals of overall memory reduction. To capture these metrics we set up ",[24,159,162],{"href":160,"rel":161},"https://gitlab.com/gitlab-org/gitlab-foss/-/issues/62877",[],"two identical environments"," to test changes on a daily basis. This would allow us to quickly make changes to the worker/thread ratio within Puma and quickly review the impact of the changes.",[43,165,167],{"id":166},"a-roll-out-plan","A roll out plan",[12,169,170],{},"We have multiple pre-production environments and we follow a progression of deploying Puma to each of these stages (dev->ops->staging->canary->production). Within each of these stages we would deploy the changes to enable Puma and test the changes. Once we confirmed a successful deployment we would measure and make configuration changes for optimal performance and memory reduction.",[43,172,174],{"id":173},"issues-and-tuning","Issues and Tuning",[12,176,177,178,183,184,189,190,195],{},"Early on we determined that our usage of ",[24,179,182],{"href":180,"rel":181},"https://gitlab.com/gitlab-org/gitlab/-/issues/31285",[],"ChronicDuration"," was not thread-safe. We ended up ",[24,185,188],{"href":186,"rel":187},"https://gitlab.com/gitlab-org/gitlab/-/issues/31285#note_215961555",[],"forking the code"," and distributing our own ",[24,191,194],{"href":192,"rel":193},"https://gitlab.com/gitlab-org/gitlab-chronic-duration",[],"gitlab-chronic-duration"," to solve our thread-safety issues.",[12,197,198,199,204,205,209,210,215],{},"We encountered only minor issues in the previous environments but once we deployed to Canary our infrastructure team reported some ",[24,200,203],{"href":201,"rel":202},"https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/7455#note_239070865",[],"unacceptable latency issues",". We spent a significant amount of time tuning ",[24,206,34],{"href":207,"rel":208},"https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/8334",[]," for the optimal configuration of workers to threads. We also discovered some changes required to our ",[24,211,214],{"href":212,"rel":213},"https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4835",[],"health-check endpoint"," to ensure minimal to no downtime during upgrades.",[43,217,219],{"id":218},"puma-upstream-patch","Puma Upstream Patch",[12,221,222,223,227,228,233,234,239],{},"As we zeroed in on tuning GitLab.com with Puma we discovered that the capacity was not being evenly distributed. Puma capacity is calculated by ",[224,225,226],"code",{},"workers * threads",", so if you have 2 workers and 2 threads you have a capacity of 4. Since Puma uses round-robin to schedule requests, and no other criteria, we saw evidence of some workers being saturated while others sat idle. The simple ",[24,229,232],{"href":230,"rel":231},"https://github.com/puma/puma/pull/2079/files",[],"fix"," proposed by ",[24,235,238],{"href":236,"rel":237},"https://gitlab.com/ayufan",[],"Kamil Trzcinski"," was to make Puma inject a minimal amount of latency between requests if the worker is already processing requests. This would allow other workers (that are idle) to accept socket much faster than our worker that is already processing other traffic.",[12,241,242,243,74],{},"You can read more details about the discovery and research ",[24,244,247],{"href":245,"rel":246},"https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8334#note_247859173",[],"here",[16,249,251],{"id":250},"our-results","Our results",[12,253,254],{},"Once we deployed Puma to our entire web fleet we observed a drop in memory usage from 1.28T to approximately 800GB (approximately a 37% drop) while our request queuing, request duration and CPU usage all remained roughly the same.",[12,256,257,258,74],{},"More details and graphs can be found ",[24,259,247],{"href":260,"rel":261},"https://gitlab.com/gitlab-com/gl-infra/production/-/issues/1684#note_291225063",[],[12,263,264,265,74],{},"Puma is now on by default for all GitLab customers in the ",[24,266,269],{"href":267,"rel":268},"https://docs.gitlab.com/releases/",[],"GitLab 13.0 release",[16,271,273],{"id":272},"whats-next","What's next",[12,275,276],{},"We want to review our infrastructure needs! The efficiency gains brought about by deploying Puma will allow us to re-examine the memory needs of Rails nodes in production.",[12,278,279,280,74],{},"Also, Puma has enabled us to continue to pursue our efforts to enable ",[24,281,284],{"href":282,"rel":283},"https://gitlab.com/groups/gitlab-org/-/epics/52",[],"real time editing",[12,286,287],{},[288,289,290],"strong",{},"More about GitLab's infrastructure:",[12,292,293],{},[24,294,296],{"href":295},"/blog/scaling-our-use-of-sidekiq/","How we scaled Sidekiq",[12,298,299],{},[24,300,302],{"href":301},"/blog/directed-acyclic-graph/","Make your pipelines more flexible",[12,304,305],{},[24,306,308],{"href":307},"/blog/how-we-built-status-page-mvc/","The inside scoop on the building of our Status Page",[12,310,311,312,317,318],{},"Cover image by ",[24,313,316],{"href":314,"rel":315},"https://unsplash.com/@johnmoeses",[],"John Moeses Bauan"," on ",[24,319,322],{"href":320,"rel":321},"https://www.unsplash.com",[],"Unsplash",{"title":324,"searchDepth":325,"depth":325,"links":326},"",2,[327,331,332,333,334,339,340],{"id":18,"depth":325,"text":19,"children":328},[329],{"id":45,"depth":330,"text":46},3,{"id":58,"depth":325,"text":59},{"id":77,"depth":325,"text":78},{"id":108,"depth":325,"text":109},{"id":138,"depth":325,"text":139,"children":335},[336,337,338],{"id":166,"depth":330,"text":167},{"id":173,"depth":330,"text":174},{"id":218,"depth":330,"text":219},{"id":250,"depth":325,"text":251},{"id":272,"depth":325,"text":273},"engineering","2020-07-08","It's been a long journey but with the release of GitLab 13.0 Puma is our default application server. Here's what we did and learned along the way.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749681413/Blog/Hero%20Images/appserverpuma.jpg",{},true,"/en-us/blog/migrating-to-puma-on-gitlab",{"title":5,"description":343,"ogTitle":5,"ogDescription":343,"noIndex":346,"ogImage":347,"ogUrl":352,"ogSiteName":353,"ogType":354,"canonicalUrls":352},"https://about.gitlab.com/blog/migrating-to-puma-on-gitlab","https://about.gitlab.com","article","migrating-to-puma-on-gitlab","en-us/blog/migrating-to-puma-on-gitlab",[358,359,360],"inside GitLab","features","performance","BlogPost","kr0sgzUf2NZC4YZv1C152kS_OdAEZSFc5n73nrQQZOw",{"logo":364,"freeTrial":369,"sales":374,"login":379,"items":384,"search":720,"minimal":752,"duo":771,"switchNav":780,"pricingDeployment":791},{"config":365},{"href":366,"dataGaName":367,"dataGaLocation":368},"/","gitlab logo","header",{"text":370,"config":371},"Get free trial",{"href":372,"dataGaName":373,"dataGaLocation":368},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":375,"config":376},"Request a demo",{"href":377,"dataGaName":378,"dataGaLocation":368},"/request-a-demo/","sales",{"text":380,"config":381},"Sign in",{"href":382,"dataGaName":383,"dataGaLocation":368},"https://gitlab.com/users/sign_in/","sign in",[385,471,559,564,644,698],{"text":386,"left":349,"config":387,"menu":389},"Platform",{"dataNavLevelOne":388},"platform",{"type":390,"link":391,"columns":395,"feature":460},"lists",{"text":392,"config":393},"Explore the Platform",{"href":394,"dataGaName":388,"dataGaLocation":368},"/platform/",[396,419,442],{"title":397,"items":398},"DevOps",[399,404,409,414],{"text":400,"config":401},"CI/CD",{"href":402,"dataGaLocation":368,"dataGaName":403},"/solutions/continuous-integration/","ci/cd",{"text":405,"config":406},"Source Code Management",{"href":407,"dataGaLocation":368,"dataGaName":408},"/solutions/source-code-management/","source code management",{"text":410,"config":411},"Agile Delivery",{"href":412,"dataGaLocation":368,"dataGaName":413},"/solutions/agile-delivery/","agile delivery",{"text":415,"config":416},"Artifact Management",{"href":417,"dataGaLocation":368,"dataGaName":418},"/artifact-central/","artifact management",{"title":420,"items":421},"Security & Governance",[422,427,432,437],{"text":423,"config":424},"Application Security Testing",{"href":425,"dataGaLocation":368,"dataGaName":426},"/solutions/application-security-testing/","application security testing",{"text":428,"config":429},"Governance & Compliance",{"href":430,"dataGaLocation":368,"dataGaName":431},"/solutions/software-compliance/","governance and compliance",{"text":433,"config":434},"Secrets Management",{"href":435,"dataGaLocation":368,"dataGaName":436},"/gitlab-secrets-manager/","secrets management",{"text":438,"config":439},"Supply Chain Security",{"href":440,"dataGaLocation":368,"dataGaName":441},"/solutions/supply-chain/","supply chain security",{"title":443,"items":444},"Agentic AI & Context",[445,450,455],{"text":446,"config":447},"Duo Agent Platform",{"href":448,"dataGaLocation":368,"dataGaName":449},"/gitlab-duo-agent-platform/","duo agent platform",{"text":451,"config":452},"Orbit Context Graph",{"href":453,"dataGaLocation":368,"dataGaName":454},"/gitlab-orbit/","orbit",{"text":456,"config":457},"Visibility & Measurement",{"href":458,"dataGaLocation":368,"dataGaName":459},"/solutions/visibility-measurement/","visibility and measurement",{"config":461,"title":464,"text":465,"link":466},{"background":462,"textColor":463},"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":467,"config":468},"Read the announcement",{"href":469,"dataGaName":470,"dataGaLocation":368},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":472,"left":349,"config":473,"menu":475},"Solutions",{"dataNavLevelOne":474},"solutions",{"type":390,"link":476,"columns":480,"feature":550},{"text":477,"config":478},"View all Solutions",{"href":479,"dataGaName":474,"dataGaLocation":368},"/solutions/",[481,499,517],{"title":482,"items":483},"Outcomes",[484,489,494],{"text":485,"config":486},"DevOps Modernization",{"href":487,"dataGaLocation":368,"dataGaName":488},"/assessments/devops-modernization-assessment/","devops modernization",{"text":490,"config":491},"Security Modernization",{"href":492,"dataGaLocation":368,"dataGaName":493},"/assessments/security-modernization-assessment/","security modernization",{"text":495,"config":496},"AI Modernization",{"href":497,"dataGaLocation":368,"dataGaName":498},"/assessments/ai-modernization-assessment/","ai modernization",{"title":500,"items":501},"By size",[502,507,512],{"text":503,"config":504},"Enterprise",{"href":505,"dataGaLocation":368,"dataGaName":506},"/enterprise/","enterprise",{"text":508,"config":509},"Small Business",{"href":510,"dataGaLocation":368,"dataGaName":511},"/small-business/","small business",{"text":513,"config":514},"Startups",{"href":515,"dataGaLocation":368,"dataGaName":516},"/solutions/startups/","startups",{"title":518,"items":519},"Industries",[520,525,530,535,540,545],{"text":521,"config":522},"Financial Services",{"href":523,"dataGaLocation":368,"dataGaName":524},"/solutions/finance/","financial services",{"text":526,"config":527},"Public Sector",{"href":528,"dataGaLocation":368,"dataGaName":529},"/solutions/public-sector/","public sector",{"text":531,"config":532},"Telecommunications",{"href":533,"dataGaLocation":368,"dataGaName":534},"/solutions/telecommunications/","telecommunications",{"text":536,"config":537},"Automotive",{"href":538,"dataGaLocation":368,"dataGaName":539},"/solutions/automotive/","automotive",{"text":541,"config":542},"Education",{"href":543,"dataGaLocation":368,"dataGaName":544},"/solutions/education/","education",{"text":546,"config":547},"Aerospace",{"href":548,"dataGaLocation":368,"dataGaName":549},"/solutions/aerospace/","aerospace",{"config":551,"title":552,"text":553,"link":554},{"background":462,"textColor":463},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":555,"config":556},"Explore the standard",{"href":557,"dataGaName":558,"dataGaLocation":368},"/gitlab-security-standard/","gitlab security standard",{"text":560,"config":561},"Pricing",{"href":562,"dataGaName":563,"dataGaLocation":368,"dataNavLevelOne":563},"/pricing/","pricing",{"text":565,"config":566,"menu":568},"Resources",{"dataNavLevelOne":567},"resources",{"type":390,"link":569,"columns":573,"feature":635},{"text":570,"config":571},"View all resources",{"href":572,"dataGaName":567,"dataGaLocation":368},"/resources/",[574,607],{"title":575,"items":576},"Discover",[577,582,587,592,597,602],{"text":578,"config":579},"Docs",{"href":580,"dataGaName":581,"dataGaLocation":368},"https://docs.gitlab.com/","docs",{"text":583,"config":584},"University",{"href":585,"dataGaName":586,"dataGaLocation":368},"https://university.gitlab.com/","university",{"text":588,"config":589},"Demo Series",{"href":590,"dataGaName":591,"dataGaLocation":368},"/gitlab-technical-demo-series/","demo series",{"text":593,"config":594},"Demo Hub",{"href":595,"dataGaName":596,"dataGaLocation":368},"/demo-hub/","demo hub",{"text":598,"config":599},"Services",{"href":600,"dataGaName":601,"dataGaLocation":368},"/services/","services",{"text":603,"config":604},"Well Architected",{"href":605,"dataGaName":606,"dataGaLocation":368},"/resources/well-architected/","well architected",{"title":608,"items":609},"Connect",[610,615,620,625,630],{"text":611,"config":612},"Blog",{"href":613,"dataGaName":614,"dataGaLocation":368},"/blog/","blog",{"text":616,"config":617},"Community",{"href":618,"dataGaName":619,"dataGaLocation":368},"/community/","community",{"text":621,"config":622},"Customers",{"href":623,"dataGaName":624,"dataGaLocation":368},"/customers/","customers",{"text":626,"config":627},"Partners",{"href":628,"dataGaName":629,"dataGaLocation":368},"/partners/","partners",{"text":631,"config":632},"Events",{"href":633,"dataGaName":634,"dataGaLocation":368},"/events/","events",{"config":636,"title":637,"text":638,"link":639},{"background":462,"textColor":463},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":640,"config":641},"Read the latest",{"href":642,"dataGaName":643,"dataGaLocation":368},"/whats-new/","whats new",{"text":645,"config":646,"menu":648},"Company",{"dataNavLevelOne":647},"company",{"type":390,"columns":649},[650],{"items":651},[652,657,663,668,673,678,683,688,693],{"text":653,"config":654},"About",{"href":655,"dataGaName":656,"dataGaLocation":368},"/company/","about",{"text":658,"config":659,"footerGa":662},"Jobs",{"href":660,"dataGaName":661,"dataGaLocation":368},"/jobs/","jobs",{"dataGaName":661},{"text":664,"config":665},"Press",{"href":666,"dataGaName":667,"dataGaLocation":368},"/press/","press",{"text":669,"config":670},"Handbook",{"href":671,"dataGaName":672,"dataGaLocation":368},"https://handbook.gitlab.com/","handbook",{"text":674,"config":675},"Leadership",{"href":676,"dataGaName":677,"dataGaLocation":368},"/company/team/e-group/","leadership",{"text":679,"config":680},"Investor relations",{"href":681,"dataGaName":682,"dataGaLocation":368},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":684,"config":685},"Trust Center",{"href":686,"dataGaName":687,"dataGaLocation":368},"/security/","trust center",{"text":689,"config":690},"AI Transparency Center",{"href":691,"dataGaName":692,"dataGaLocation":368},"/ai-transparency-center/","ai transparency center",{"text":694,"config":695},"Newsletter",{"href":696,"dataGaName":697,"dataGaLocation":368},"/company/contact/#contact-forms","newsletter",{"text":699,"config":700,"menu":701},"Contact us",{"dataNavLevelOne":647},{"type":390,"columns":702},[703],{"items":704},[705,710,715],{"text":706,"config":707},"Talk to sales",{"href":708,"dataGaName":709,"dataGaLocation":368},"/sales/","talk to sales",{"text":711,"config":712},"Support portal",{"href":713,"dataGaName":714,"dataGaLocation":368},"https://support.gitlab.com/hc/en-us","support portal",{"text":716,"config":717},"Customer portal",{"href":718,"dataGaName":719,"dataGaLocation":368},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":721,"login":722,"suggestions":729},"Close",{"text":723,"link":724},"To search repositories and projects, login to",{"text":725,"config":726},"gitlab.com",{"href":382,"dataGaName":727,"dataGaLocation":728},"search login","search",{"text":730,"default":731},"Suggestions",[732,735,738,740,744,748],{"text":733,"config":734},"GitLab Duo Agent Platform",{"href":448,"dataGaName":733,"dataGaLocation":728},{"text":736,"config":737},"Code Suggestions (AI)",{"href":448,"dataGaName":736,"dataGaLocation":728},{"text":400,"config":739},{"href":402,"dataGaName":400,"dataGaLocation":728},{"text":741,"config":742},"GitLab on AWS",{"href":743,"dataGaName":741,"dataGaLocation":728},"/partners/technology-partners/aws/",{"text":745,"config":746},"GitLab on Google Cloud",{"href":747,"dataGaName":745,"dataGaLocation":728},"/partners/technology-partners/google-cloud-platform/",{"text":749,"config":750},"Why GitLab?",{"href":751,"dataGaName":749,"dataGaLocation":728},"/why-gitlab/",{"freeTrial":753,"mobileIcon":758,"desktopIcon":763,"secondaryButton":766},{"text":754,"config":755},"Start free trial",{"href":756,"dataGaName":373,"dataGaLocation":757},"https://gitlab.com/-/trials/new/","nav",{"altText":759,"config":760},"Gitlab Icon",{"src":761,"dataGaName":762,"dataGaLocation":757},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":759,"config":764},{"src":765,"dataGaName":762,"dataGaLocation":757},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":767,"config":768},"Get Started",{"href":769,"dataGaName":770,"dataGaLocation":757},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":772,"mobileIcon":776,"desktopIcon":778},{"text":773,"config":774},"Learn more about GitLab Duo",{"href":448,"dataGaName":775,"dataGaLocation":757},"gitlab duo",{"altText":759,"config":777},{"src":761,"dataGaName":762,"dataGaLocation":757},{"altText":759,"config":779},{"src":765,"dataGaName":762,"dataGaLocation":757},{"button":781,"mobileIcon":786,"desktopIcon":788},{"text":782,"config":783},"/switch",{"href":784,"dataGaName":785,"dataGaLocation":757},"#contact","switch",{"altText":759,"config":787},{"src":761,"dataGaName":762,"dataGaLocation":757},{"altText":759,"config":789},{"src":790,"dataGaName":762,"dataGaLocation":757},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":792,"mobileIcon":797,"desktopIcon":799},{"text":793,"config":794},"Back to pricing",{"href":562,"dataGaName":795,"dataGaLocation":757,"icon":796},"back to pricing","GoBack",{"altText":759,"config":798},{"src":761,"dataGaName":762,"dataGaLocation":757},{"altText":759,"config":800},{"src":765,"dataGaName":762,"dataGaLocation":757},{"title":802,"button":803,"config":807},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":467,"config":804},{"href":469,"dataGaName":805,"dataGaLocation":806},"orbit-ga-banner","global-banner",{"layout":808,"disabled":346},"release",{"data":810},{"text":811,"config":812,"items":817,"minimal":1045},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":813,"facebook":814,"youtube":815,"linkedin":816},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[818,866,925,972,1013],{"title":560,"links":819,"subMenu":835},[820,825,830],{"text":821,"config":822},"View plans",{"href":562,"dataGaName":823,"dataGaLocation":824},"view plans","footer",{"text":826,"config":827},"Why Premium?",{"href":828,"dataGaName":829,"dataGaLocation":824},"/pricing/premium/","why premium",{"text":831,"config":832},"Why Ultimate?",{"href":833,"dataGaName":834,"dataGaLocation":824},"/pricing/ultimate/","why ultimate",[836],{"title":837,"links":838},"Contact Us",[839,842,844,846,851,856,861],{"text":840,"config":841},"Contact sales",{"href":708,"dataGaName":378,"dataGaLocation":824},{"text":711,"config":843},{"href":713,"dataGaName":714,"dataGaLocation":824},{"text":716,"config":845},{"href":718,"dataGaName":719,"dataGaLocation":824},{"text":847,"config":848},"Status",{"href":849,"dataGaName":850,"dataGaLocation":824},"https://status.gitlab.com/","status",{"text":852,"config":853},"Terms of use",{"href":854,"dataGaName":855,"dataGaLocation":824},"/terms/","terms of use",{"text":857,"config":858},"Privacy statement",{"href":859,"dataGaName":860,"dataGaLocation":824},"/privacy/","privacy statement",{"text":862,"config":863},"Cookie preferences",{"dataGaName":864,"dataGaLocation":824,"id":865,"isOneTrustButton":349},"cookie preferences","ot-sdk-btn",{"title":386,"links":867,"subMenu":883},[868,871,873,875,877,879],{"text":869,"config":870},"Explore the platform",{"href":394,"dataGaName":388,"dataGaLocation":824},{"text":446,"config":872},{"href":448,"dataGaName":449,"dataGaLocation":824},{"text":400,"config":874},{"href":402,"dataGaName":403,"dataGaLocation":824},{"text":451,"config":876},{"href":453,"dataGaName":454,"dataGaLocation":824},{"text":433,"config":878},{"href":435,"dataGaName":436,"dataGaLocation":824},{"text":880,"config":881},"Why GitLab",{"href":751,"dataGaName":882,"dataGaLocation":824},"why gitlab",[884],{"title":885,"links":886},"Topics",[887,891,896,900,905,910,915,920],{"text":400,"config":888},{"href":889,"dataGaName":890,"dataGaLocation":824},"/topics/ci-cd/","cicd",{"text":892,"config":893},"GitOps",{"href":894,"dataGaName":895,"dataGaLocation":824},"/topics/gitops/","gitops",{"text":397,"config":897},{"href":898,"dataGaName":899,"dataGaLocation":824},"/topics/devops/","devops",{"text":901,"config":902},"Version Control",{"href":903,"dataGaName":904,"dataGaLocation":824},"/topics/version-control/","version control",{"text":906,"config":907},"DevSecOps",{"href":908,"dataGaName":909,"dataGaLocation":824},"/topics/devsecops/","devsecops",{"text":911,"config":912},"Cloud Native",{"href":913,"dataGaName":914,"dataGaLocation":824},"/topics/cloud-native/","cloud native",{"text":916,"config":917},"AI for Coding",{"href":918,"dataGaName":919,"dataGaLocation":824},"/topics/devops/ai-for-coding/","ai for coding",{"text":921,"config":922},"Agentic AI",{"href":923,"dataGaName":924,"dataGaLocation":824},"/topics/agentic-ai/","agentic ai",{"title":472,"links":926},[927,930,933,936,939,942,944,946,948,950,952,955,957,960,964,968],{"text":928,"config":929},"DevOps modernization",{"href":487,"dataGaName":488,"dataGaLocation":824},{"text":931,"config":932},"Security modernization",{"href":492,"dataGaName":493,"dataGaLocation":824},{"text":934,"config":935},"AI modernization",{"href":497,"dataGaName":498,"dataGaLocation":824},{"text":937,"config":938},"Financial services",{"href":523,"dataGaName":524,"dataGaLocation":824},{"text":940,"config":941},"Public sector",{"href":528,"dataGaName":529,"dataGaLocation":824},{"text":531,"config":943},{"href":533,"dataGaName":534,"dataGaLocation":824},{"text":536,"config":945},{"href":538,"dataGaName":539,"dataGaLocation":824},{"text":541,"config":947},{"href":543,"dataGaName":544,"dataGaLocation":824},{"text":546,"config":949},{"href":548,"dataGaName":549,"dataGaLocation":824},{"text":503,"config":951},{"href":505,"dataGaName":506,"dataGaLocation":824},{"text":953,"config":954},"Small business",{"href":510,"dataGaName":511,"dataGaLocation":824},{"text":513,"config":956},{"href":515,"dataGaName":516,"dataGaLocation":824},{"text":892,"config":958},{"href":959,"dataGaName":895,"dataGaLocation":824},"/solutions/gitops/",{"text":961,"config":962},"Software composition analysis",{"href":440,"dataGaName":963,"dataGaLocation":824},"software composition analysis",{"text":965,"config":966},"Value stream management",{"href":458,"dataGaName":967,"dataGaLocation":824},"value stream management",{"text":969,"config":970},"All solutions",{"href":479,"dataGaName":971,"dataGaLocation":824},"all solutions",{"title":565,"links":973},[974,979,984,986,988,990,992,994,996,998,1000,1002,1004,1006,1009],{"text":975,"config":976},"Install",{"href":977,"dataGaName":978,"dataGaLocation":824},"/install/","install",{"text":980,"config":981},"Quick start guides",{"href":982,"dataGaName":983,"dataGaLocation":824},"/get-started/","quick setup checklists",{"text":578,"config":985},{"href":580,"dataGaName":581,"dataGaLocation":824},{"text":583,"config":987},{"href":585,"dataGaName":586,"dataGaLocation":824},{"text":588,"config":989},{"href":590,"dataGaName":591,"dataGaLocation":824},{"text":593,"config":991},{"href":595,"dataGaName":596,"dataGaLocation":824},{"text":598,"config":993},{"href":600,"dataGaName":601,"dataGaLocation":824},{"text":611,"config":995},{"href":613,"dataGaName":614,"dataGaLocation":824},{"text":616,"config":997},{"href":618,"dataGaName":619,"dataGaLocation":824},{"text":621,"config":999},{"href":623,"dataGaName":624,"dataGaLocation":824},{"text":626,"config":1001},{"href":628,"dataGaName":629,"dataGaLocation":824},{"text":631,"config":1003},{"href":633,"dataGaName":634,"dataGaLocation":824},{"text":694,"config":1005},{"href":696,"dataGaName":697,"dataGaLocation":824},{"text":1007,"config":1008},"What's new",{"href":642,"dataGaName":643,"dataGaLocation":824},{"text":1010,"config":1011},"All resources",{"href":572,"dataGaName":1012,"dataGaLocation":824},"all resources",{"title":645,"links":1014},[1015,1017,1019,1021,1023,1025,1027,1029,1031,1035,1040],{"text":653,"config":1016},{"href":655,"dataGaName":647,"dataGaLocation":824},{"text":658,"config":1018},{"href":660,"dataGaName":661,"dataGaLocation":824},{"text":664,"config":1020},{"href":666,"dataGaName":667,"dataGaLocation":824},{"text":669,"config":1022},{"href":671,"dataGaName":672,"dataGaLocation":824},{"text":674,"config":1024},{"href":676,"dataGaName":677,"dataGaLocation":824},{"text":679,"config":1026},{"href":681,"dataGaName":682,"dataGaLocation":824},{"text":684,"config":1028},{"href":686,"dataGaName":687,"dataGaLocation":824},{"text":689,"config":1030},{"href":691,"dataGaName":692,"dataGaLocation":824},{"text":1032,"config":1033},"Sustainability",{"href":1034,"dataGaName":1032,"dataGaLocation":824},"/sustainability/",{"text":1036,"config":1037},"Diversity, inclusion and belonging (DIB)",{"href":1038,"dataGaName":1039,"dataGaLocation":824},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1041,"config":1042},"Modern Slavery Transparency Statement",{"href":1043,"dataGaName":1044,"dataGaLocation":824},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1046},[1047,1050,1053],{"text":1048,"config":1049},"Terms",{"href":854,"dataGaName":855,"dataGaLocation":824},{"text":1051,"config":1052},"Cookies",{"dataGaName":864,"dataGaLocation":824,"id":865,"isOneTrustButton":349},{"text":1054,"config":1055},"Privacy",{"href":859,"dataGaName":860,"dataGaLocation":824},[1057],{"id":1058,"title":7,"body":345,"config":1059,"content":1061,"description":345,"extension":1064,"meta":1065,"navigation":349,"path":1066,"seo":1067,"stem":1068,"__hash__":1069},"blogAuthors/en-us/blog/authors/craig-gomes.yml",{"template":1060},"BlogAuthor",{"name":7,"config":1062},{"headshot":324,"ctfId":1063},"craiggomes","yml",{},"/en-us/blog/authors/craig-gomes",{},"en-us/blog/authors/craig-gomes","TQLVG7AtqPnkCpXLsw7cEhv_cET2l3E0db54bnbqazY",[1071,1079,1087],{"title":1072,"description":1073,"heroImage":1074,"category":341,"date":1075,"authors":1076,"slug":1078,"externalUrl":345},"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",[1077],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1080,"description":1081,"heroImage":1082,"category":341,"date":1083,"authors":1084,"slug":1086,"externalUrl":345},"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",[1085],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1088,"description":1089,"heroImage":1090,"category":341,"date":1091,"authors":1092,"slug":1094,"externalUrl":345},"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",[1093],"Isa Huerga","co-create-h1-2026",{"header":1096,"text":1097,"button":1101,"disclaimer":1104},"Start your free\n\n30-day GitLab trial\n",[1098,1099,1100],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":370,"config":1102},{"href":1103,"dataGaName":373,"dataGaLocation":614},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1106,"blurb":1107,"button":1108,"secondaryButton":1113},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1109,"config":1110},"Get your free trial",{"href":1111,"dataGaName":373,"dataGaLocation":1112},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":840,"config":1114},{"href":708,"dataGaName":378,"dataGaLocation":1112},1794911782100]