[{"data":1,"prerenderedAt":908},["ShallowReactive",2],{"/blog/how-gitlab-uses-unicorn-and-unicorn-worker-killer":3,"navigation-en-us":155,"banner-en-us":593,"footer-en-us":601,"blog-post-authors-en-us-Jacob Vosmaer":848,"blog-related-posts-en-us-how-gitlab-uses-unicorn-and-unicorn-worker-killer":863,"blog-share-wrapper-en-us":888,"next-steps-en-us":898},{"id":4,"title":5,"authors":6,"body":8,"category":133,"date":134,"description":135,"extension":136,"externalUrl":137,"faq":137,"featured":138,"heroImage":139,"hidePromo":138,"meta":140,"navigation":145,"path":146,"seo":147,"slug":151,"stem":152,"tags":137,"template":153,"updatedDate":137,"__hash__":154},"blogPosts/en-us/blog/how-gitlab-uses-unicorn-and-unicorn-worker-killer.md","How GitLab uses Unicorn and unicorn-worker-killer",[7],"Jacob Vosmaer",{"type":9,"value":10,"toc":124},"minimark",[11,15,18,23,28,37,40,43,51,61,65,74,77,80,95,103,106,112,115],[12,13,14],"p",{},"We just wrote some new documentation on how Gitlab uses Unicorn and\nunicorn-worker-killer, available on docs.gitlab.com but\nalso included below. We would love to hear from the community if you have other\nquestions so we can improve this documentation resource!",[12,16,17],{},"Update 19:29 CEST: made link to docs.gitlab.com more specific.",[19,20,22],"h2",{"id":21},"understanding-unicorn-and-unicorn-worker-killer","Understanding Unicorn and unicorn-worker-killer",[24,25,27],"h3",{"id":26},"unicorn","Unicorn",[12,29,30,31,36],{},"GitLab uses ",[32,33,27],"a",{"href":34,"rel":35},"http://unicorn.bogomips.org/",[],", a pre-forking Ruby web\nserver, to handle web requests (web browsers and Git HTTP clients). Unicorn is\na daemon written in Ruby and C that can load and run a Ruby on Rails\napplication; in our case the Rails application is GitLab Community Edition or\nGitLab Enterprise Edition.",[12,38,39],{},"Unicorn has a multi-process architecture to make better use of available CPU\ncores (processes can run on different cores) and to have stronger fault\ntolerance (most failures stay isolated in only one process and cannot take down\nGitLab entirely). On startup, the Unicorn 'master' process loads a clean Ruby\nenvironment with the GitLab application code, and then spawns 'workers' which\ninherit this clean initial environment. The 'master' never handles any\nrequests, that is left to the workers. The operating system network stack\nqueues incoming requests and distributes them among the workers.",[12,41,42],{},"In a perfect world, the master would spawn its pool of workers once, and then\nthe workers handle incoming web requests one after another until the end of\ntime. In reality, worker processes can crash or time out: if the master notices\nthat a worker takes too long to handle a request it will terminate the worker\nprocess with SIGKILL ('kill -9'). No matter how the worker process ended, the\nmaster process will replace it with a new 'clean' process again. Unicorn is\ndesigned to be able to replace 'crashed' workers without dropping user\nrequests.",[12,44,45,46,50],{},"This is what a Unicorn worker timeout looks like in ",[47,48,49],"code",{},"unicorn_stderr.log",". The\nmaster process has PID 56227 below.",[52,53,59],"pre",{"className":54,"code":56,"language":57,"meta":58},[55],"language-text","[2015-06-05T10:58:08.660325 #56227] ERROR -- : worker=10 PID:53009 timeout (61s > 60s), killing\n[2015-06-05T10:58:08.699360 #56227] ERROR -- : reaped #\u003CProcess::Status: pid 53009 SIGKILL (signal 9)> worker=10\n[2015-06-05T10:58:08.708141 #62538]  INFO -- : worker=10 spawned pid=62538\n[2015-06-05T10:58:08.708824 #62538]  INFO -- : worker=10 ready\n","text","",[47,60,56],{"__ignoreMap":58},[24,62,64],{"id":63},"tunables","Tunables",[12,66,67,68,73],{},"The main tunables for Unicorn are the number of worker processes and the\nrequest timeout after which the Unicorn master terminates a worker process.\nSee the ",[32,69,72],{"href":70,"rel":71},"https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/unicorn.md",[],"omnibus-gitlab Unicorn settings\ndocumentation","\nif you want to adjust these settings.",[19,75,76],{"id":76},"unicorn-worker-killer",[12,78,79],{},"GitLab has memory leaks. These memory leaks manifest themselves in long-running\nprocesses, such as Unicorn workers. (The Unicorn master process is not known to\nleak memory, probably because it does not handle user requests.)",[12,81,82,83,88,89,94],{},"To make these memory leaks manageable, GitLab comes with the\n",[32,84,87],{"href":85,"rel":86},"https://github.com/kzk/unicorn-worker-killer",[],"unicorn-worker-killer gem",". This\ngem ",[32,90,93],{"href":91,"rel":92},"http://en.wikipedia.org/wiki/Monkey_patch",[],"monkey-patches"," the Unicorn\nworkers to do a memory self-check after every 16 requests. If the memory of the\nUnicorn worker exceeds a pre-set limit then the worker process exits. The\nUnicorn master then automatically replaces the worker process.",[12,96,97,98,102],{},"This is a robust way to handle memory leaks: Unicorn is designed to handle\nworkers that 'crash' so no user requests will be dropped. The\nunicorn-worker-killer gem is designed to only terminate a worker process ",[99,100,101],"em",{},"in\nbetween requests",", so no user requests are affected.",[12,104,105],{},"This is what a Unicorn worker memory restart looks like in unicorn_stderr.log.\nYou see that worker 4 (PID 125918) is inspecting itself and decides to exit.\nThe threshold memory value was 254802235 bytes, about 250MB. With GitLab this\nthreshold is a random value between 200 and 250 MB.  The master process (PID\n117565) then reaps the worker process and spawns a new 'worker 4' with PID\n127549.",[52,107,110],{"className":108,"code":109,"language":57,"meta":58},[55],"[2015-06-05T12:07:41.828374 #125918]  WARN -- : #\u003CUnicorn::HttpServer:0x00000002734770>: worker (pid: 125918) exceeds memory limit (256413696 bytes > 254802235 bytes)\n[2015-06-05T12:07:41.828472 #125918]  WARN -- : Unicorn::WorkerKiller send SIGQUIT (pid: 125918) alive: 23 sec (trial 1)\n[2015-06-05T12:07:42.025916 #117565]  INFO -- : reaped #\u003CProcess::Status: pid 125918 exit 0> worker=4\n[2015-06-05T12:07:42.034527 #127549]  INFO -- : worker=4 spawned pid=127549\n[2015-06-05T12:07:42.035217 #127549]  INFO -- : worker=4 ready\n",[47,111,109],{"__ignoreMap":58},[12,113,114],{},"One other thing that stands out in the log snippet above, taken from\nGitlab.com, is that 'worker 4' was serving requests for only 23 seconds. This\nis a normal value for our current GitLab.com setup and traffic.",[12,116,117,118,123],{},"The high frequency of Unicorn memory restarts on some GitLab sites can be a\nsource of confusion for administrators. Usually they are a ",[32,119,122],{"href":120,"rel":121},"http://en.wikipedia.org/wiki/Red_herring",[],"red\nherring",".",{"title":58,"searchDepth":125,"depth":125,"links":126},2,[127,132],{"id":21,"depth":125,"text":22,"children":128},[129,131],{"id":26,"depth":130,"text":27},3,{"id":63,"depth":130,"text":64},{"id":76,"depth":125,"text":76},"engineering","2015-06-05","We just wrote some new documentation on how Gitlab uses Unicorn and unicorn-worker-killer, available on https://docs.gitlab.com/. Read here!","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749663397/Blog/Hero%20Images/logoforblogpost.jpg",{"excerpt":141},{"type":9,"value":142},[143],[12,144,14],{},true,"/en-us/blog/how-gitlab-uses-unicorn-and-unicorn-worker-killer",{"title":5,"description":135,"ogTitle":5,"ogDescription":135,"noIndex":138,"ogImage":139,"ogUrl":148,"ogSiteName":149,"ogType":150,"canonicalUrls":148},"https://about.gitlab.com/blog/how-gitlab-uses-unicorn-and-unicorn-worker-killer","https://about.gitlab.com","article","how-gitlab-uses-unicorn-and-unicorn-worker-killer","en-us/blog/how-gitlab-uses-unicorn-and-unicorn-worker-killer","BlogPost","sR6Petxalw0ZX8dHwOED2SWnuq91aOVv6ok7KfzLy_4",{"logo":156,"freeTrial":161,"sales":166,"login":171,"items":176,"search":512,"minimal":544,"duo":563,"switchNav":572,"pricingDeployment":583},{"config":157},{"href":158,"dataGaName":159,"dataGaLocation":160},"/","gitlab logo","header",{"text":162,"config":163},"Get free trial",{"href":164,"dataGaName":165,"dataGaLocation":160},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":167,"config":168},"Request a demo",{"href":169,"dataGaName":170,"dataGaLocation":160},"/request-a-demo/","sales",{"text":172,"config":173},"Sign in",{"href":174,"dataGaName":175,"dataGaLocation":160},"https://gitlab.com/users/sign_in/","sign in",[177,263,351,356,436,490],{"text":178,"left":145,"config":179,"menu":181},"Platform",{"dataNavLevelOne":180},"platform",{"type":182,"link":183,"columns":187,"feature":252},"lists",{"text":184,"config":185},"Explore the Platform",{"href":186,"dataGaName":180,"dataGaLocation":160},"/platform/",[188,211,234],{"title":189,"items":190},"DevOps",[191,196,201,206],{"text":192,"config":193},"CI/CD",{"href":194,"dataGaLocation":160,"dataGaName":195},"/solutions/continuous-integration/","ci/cd",{"text":197,"config":198},"Source Code Management",{"href":199,"dataGaLocation":160,"dataGaName":200},"/solutions/source-code-management/","source code management",{"text":202,"config":203},"Agile Delivery",{"href":204,"dataGaLocation":160,"dataGaName":205},"/solutions/agile-delivery/","agile delivery",{"text":207,"config":208},"Artifact Management",{"href":209,"dataGaLocation":160,"dataGaName":210},"/artifact-central/","artifact management",{"title":212,"items":213},"Security & Governance",[214,219,224,229],{"text":215,"config":216},"Application Security Testing",{"href":217,"dataGaLocation":160,"dataGaName":218},"/solutions/application-security-testing/","application security testing",{"text":220,"config":221},"Governance & Compliance",{"href":222,"dataGaLocation":160,"dataGaName":223},"/solutions/software-compliance/","governance and compliance",{"text":225,"config":226},"Secrets Management",{"href":227,"dataGaLocation":160,"dataGaName":228},"/gitlab-secrets-manager/","secrets management",{"text":230,"config":231},"Supply Chain Security",{"href":232,"dataGaLocation":160,"dataGaName":233},"/solutions/supply-chain/","supply chain security",{"title":235,"items":236},"Agentic AI & Context",[237,242,247],{"text":238,"config":239},"Duo Agent Platform",{"href":240,"dataGaLocation":160,"dataGaName":241},"/gitlab-duo-agent-platform/","duo agent platform",{"text":243,"config":244},"Orbit Context Graph",{"href":245,"dataGaLocation":160,"dataGaName":246},"/gitlab-orbit/","orbit",{"text":248,"config":249},"Visibility & Measurement",{"href":250,"dataGaLocation":160,"dataGaName":251},"/solutions/visibility-measurement/","visibility and measurement",{"config":253,"title":256,"text":257,"link":258},{"background":254,"textColor":255},"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":259,"config":260},"Read the announcement",{"href":261,"dataGaName":262,"dataGaLocation":160},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":264,"left":145,"config":265,"menu":267},"Solutions",{"dataNavLevelOne":266},"solutions",{"type":182,"link":268,"columns":272,"feature":342},{"text":269,"config":270},"View all Solutions",{"href":271,"dataGaName":266,"dataGaLocation":160},"/solutions/",[273,291,309],{"title":274,"items":275},"Outcomes",[276,281,286],{"text":277,"config":278},"DevOps Modernization",{"href":279,"dataGaLocation":160,"dataGaName":280},"/assessments/devops-modernization-assessment/","devops modernization",{"text":282,"config":283},"Security Modernization",{"href":284,"dataGaLocation":160,"dataGaName":285},"/assessments/security-modernization-assessment/","security modernization",{"text":287,"config":288},"AI Modernization",{"href":289,"dataGaLocation":160,"dataGaName":290},"/assessments/ai-modernization-assessment/","ai modernization",{"title":292,"items":293},"By size",[294,299,304],{"text":295,"config":296},"Enterprise",{"href":297,"dataGaLocation":160,"dataGaName":298},"/enterprise/","enterprise",{"text":300,"config":301},"Small Business",{"href":302,"dataGaLocation":160,"dataGaName":303},"/small-business/","small business",{"text":305,"config":306},"Startups",{"href":307,"dataGaLocation":160,"dataGaName":308},"/solutions/startups/","startups",{"title":310,"items":311},"Industries",[312,317,322,327,332,337],{"text":313,"config":314},"Financial Services",{"href":315,"dataGaLocation":160,"dataGaName":316},"/solutions/finance/","financial services",{"text":318,"config":319},"Public Sector",{"href":320,"dataGaLocation":160,"dataGaName":321},"/solutions/public-sector/","public sector",{"text":323,"config":324},"Telecommunications",{"href":325,"dataGaLocation":160,"dataGaName":326},"/solutions/telecommunications/","telecommunications",{"text":328,"config":329},"Automotive",{"href":330,"dataGaLocation":160,"dataGaName":331},"/solutions/automotive/","automotive",{"text":333,"config":334},"Education",{"href":335,"dataGaLocation":160,"dataGaName":336},"/solutions/education/","education",{"text":338,"config":339},"Aerospace",{"href":340,"dataGaLocation":160,"dataGaName":341},"/solutions/aerospace/","aerospace",{"config":343,"title":344,"text":345,"link":346},{"background":254,"textColor":255},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":347,"config":348},"Explore the standard",{"href":349,"dataGaName":350,"dataGaLocation":160},"/gitlab-security-standard/","gitlab security standard",{"text":352,"config":353},"Pricing",{"href":354,"dataGaName":355,"dataGaLocation":160,"dataNavLevelOne":355},"/pricing/","pricing",{"text":357,"config":358,"menu":360},"Resources",{"dataNavLevelOne":359},"resources",{"type":182,"link":361,"columns":365,"feature":427},{"text":362,"config":363},"View all resources",{"href":364,"dataGaName":359,"dataGaLocation":160},"/resources/",[366,399],{"title":367,"items":368},"Discover",[369,374,379,384,389,394],{"text":370,"config":371},"Docs",{"href":372,"dataGaName":373,"dataGaLocation":160},"https://docs.gitlab.com/","docs",{"text":375,"config":376},"University",{"href":377,"dataGaName":378,"dataGaLocation":160},"https://university.gitlab.com/","university",{"text":380,"config":381},"Demo Series",{"href":382,"dataGaName":383,"dataGaLocation":160},"/gitlab-technical-demo-series/","demo series",{"text":385,"config":386},"Demo Hub",{"href":387,"dataGaName":388,"dataGaLocation":160},"/demo-hub/","demo hub",{"text":390,"config":391},"Services",{"href":392,"dataGaName":393,"dataGaLocation":160},"/services/","services",{"text":395,"config":396},"Well Architected",{"href":397,"dataGaName":398,"dataGaLocation":160},"/resources/well-architected/","well architected",{"title":400,"items":401},"Connect",[402,407,412,417,422],{"text":403,"config":404},"Blog",{"href":405,"dataGaName":406,"dataGaLocation":160},"/blog/","blog",{"text":408,"config":409},"Community",{"href":410,"dataGaName":411,"dataGaLocation":160},"/community/","community",{"text":413,"config":414},"Customers",{"href":415,"dataGaName":416,"dataGaLocation":160},"/customers/","customers",{"text":418,"config":419},"Partners",{"href":420,"dataGaName":421,"dataGaLocation":160},"/partners/","partners",{"text":423,"config":424},"Events",{"href":425,"dataGaName":426,"dataGaLocation":160},"/events/","events",{"config":428,"title":429,"text":430,"link":431},{"background":254,"textColor":255},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":432,"config":433},"Read the latest",{"href":434,"dataGaName":435,"dataGaLocation":160},"/whats-new/","whats new",{"text":437,"config":438,"menu":440},"Company",{"dataNavLevelOne":439},"company",{"type":182,"columns":441},[442],{"items":443},[444,449,455,460,465,470,475,480,485],{"text":445,"config":446},"About",{"href":447,"dataGaName":448,"dataGaLocation":160},"/company/","about",{"text":450,"config":451,"footerGa":454},"Jobs",{"href":452,"dataGaName":453,"dataGaLocation":160},"/jobs/","jobs",{"dataGaName":453},{"text":456,"config":457},"Press",{"href":458,"dataGaName":459,"dataGaLocation":160},"/press/","press",{"text":461,"config":462},"Handbook",{"href":463,"dataGaName":464,"dataGaLocation":160},"https://handbook.gitlab.com/","handbook",{"text":466,"config":467},"Leadership",{"href":468,"dataGaName":469,"dataGaLocation":160},"/company/team/e-group/","leadership",{"text":471,"config":472},"Investor relations",{"href":473,"dataGaName":474,"dataGaLocation":160},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":476,"config":477},"Trust Center",{"href":478,"dataGaName":479,"dataGaLocation":160},"/security/","trust center",{"text":481,"config":482},"AI Transparency Center",{"href":483,"dataGaName":484,"dataGaLocation":160},"/ai-transparency-center/","ai transparency center",{"text":486,"config":487},"Newsletter",{"href":488,"dataGaName":489,"dataGaLocation":160},"/company/contact/#contact-forms","newsletter",{"text":491,"config":492,"menu":493},"Contact us",{"dataNavLevelOne":439},{"type":182,"columns":494},[495],{"items":496},[497,502,507],{"text":498,"config":499},"Talk to sales",{"href":500,"dataGaName":501,"dataGaLocation":160},"/sales/","talk to sales",{"text":503,"config":504},"Support portal",{"href":505,"dataGaName":506,"dataGaLocation":160},"https://support.gitlab.com/hc/en-us","support portal",{"text":508,"config":509},"Customer portal",{"href":510,"dataGaName":511,"dataGaLocation":160},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":513,"login":514,"suggestions":521},"Close",{"text":515,"link":516},"To search repositories and projects, login to",{"text":517,"config":518},"gitlab.com",{"href":174,"dataGaName":519,"dataGaLocation":520},"search login","search",{"text":522,"default":523},"Suggestions",[524,527,530,532,536,540],{"text":525,"config":526},"GitLab Duo Agent Platform",{"href":240,"dataGaName":525,"dataGaLocation":520},{"text":528,"config":529},"Code Suggestions (AI)",{"href":240,"dataGaName":528,"dataGaLocation":520},{"text":192,"config":531},{"href":194,"dataGaName":192,"dataGaLocation":520},{"text":533,"config":534},"GitLab on AWS",{"href":535,"dataGaName":533,"dataGaLocation":520},"/partners/technology-partners/aws/",{"text":537,"config":538},"GitLab on Google Cloud",{"href":539,"dataGaName":537,"dataGaLocation":520},"/partners/technology-partners/google-cloud-platform/",{"text":541,"config":542},"Why GitLab?",{"href":543,"dataGaName":541,"dataGaLocation":520},"/why-gitlab/",{"freeTrial":545,"mobileIcon":550,"desktopIcon":555,"secondaryButton":558},{"text":546,"config":547},"Start free trial",{"href":548,"dataGaName":165,"dataGaLocation":549},"https://gitlab.com/-/trials/new/","nav",{"altText":551,"config":552},"Gitlab Icon",{"src":553,"dataGaName":554,"dataGaLocation":549},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":551,"config":556},{"src":557,"dataGaName":554,"dataGaLocation":549},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":559,"config":560},"Get Started",{"href":561,"dataGaName":562,"dataGaLocation":549},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":564,"mobileIcon":568,"desktopIcon":570},{"text":565,"config":566},"Learn more about GitLab Duo",{"href":240,"dataGaName":567,"dataGaLocation":549},"gitlab duo",{"altText":551,"config":569},{"src":553,"dataGaName":554,"dataGaLocation":549},{"altText":551,"config":571},{"src":557,"dataGaName":554,"dataGaLocation":549},{"button":573,"mobileIcon":578,"desktopIcon":580},{"text":574,"config":575},"/switch",{"href":576,"dataGaName":577,"dataGaLocation":549},"#contact","switch",{"altText":551,"config":579},{"src":553,"dataGaName":554,"dataGaLocation":549},{"altText":551,"config":581},{"src":582,"dataGaName":554,"dataGaLocation":549},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":584,"mobileIcon":589,"desktopIcon":591},{"text":585,"config":586},"Back to pricing",{"href":354,"dataGaName":587,"dataGaLocation":549,"icon":588},"back to pricing","GoBack",{"altText":551,"config":590},{"src":553,"dataGaName":554,"dataGaLocation":549},{"altText":551,"config":592},{"src":557,"dataGaName":554,"dataGaLocation":549},{"title":594,"button":595,"config":599},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":259,"config":596},{"href":261,"dataGaName":597,"dataGaLocation":598},"orbit-ga-banner","global-banner",{"layout":600,"disabled":138},"release",{"data":602},{"text":603,"config":604,"items":609,"minimal":837},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":605,"facebook":606,"youtube":607,"linkedin":608},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[610,658,717,764,805],{"title":352,"links":611,"subMenu":627},[612,617,622],{"text":613,"config":614},"View plans",{"href":354,"dataGaName":615,"dataGaLocation":616},"view plans","footer",{"text":618,"config":619},"Why Premium?",{"href":620,"dataGaName":621,"dataGaLocation":616},"/pricing/premium/","why premium",{"text":623,"config":624},"Why Ultimate?",{"href":625,"dataGaName":626,"dataGaLocation":616},"/pricing/ultimate/","why ultimate",[628],{"title":629,"links":630},"Contact Us",[631,634,636,638,643,648,653],{"text":632,"config":633},"Contact sales",{"href":500,"dataGaName":170,"dataGaLocation":616},{"text":503,"config":635},{"href":505,"dataGaName":506,"dataGaLocation":616},{"text":508,"config":637},{"href":510,"dataGaName":511,"dataGaLocation":616},{"text":639,"config":640},"Status",{"href":641,"dataGaName":642,"dataGaLocation":616},"https://status.gitlab.com/","status",{"text":644,"config":645},"Terms of use",{"href":646,"dataGaName":647,"dataGaLocation":616},"/terms/","terms of use",{"text":649,"config":650},"Privacy statement",{"href":651,"dataGaName":652,"dataGaLocation":616},"/privacy/","privacy statement",{"text":654,"config":655},"Cookie preferences",{"dataGaName":656,"dataGaLocation":616,"id":657,"isOneTrustButton":145},"cookie preferences","ot-sdk-btn",{"title":178,"links":659,"subMenu":675},[660,663,665,667,669,671],{"text":661,"config":662},"Explore the platform",{"href":186,"dataGaName":180,"dataGaLocation":616},{"text":238,"config":664},{"href":240,"dataGaName":241,"dataGaLocation":616},{"text":192,"config":666},{"href":194,"dataGaName":195,"dataGaLocation":616},{"text":243,"config":668},{"href":245,"dataGaName":246,"dataGaLocation":616},{"text":225,"config":670},{"href":227,"dataGaName":228,"dataGaLocation":616},{"text":672,"config":673},"Why GitLab",{"href":543,"dataGaName":674,"dataGaLocation":616},"why gitlab",[676],{"title":677,"links":678},"Topics",[679,683,688,692,697,702,707,712],{"text":192,"config":680},{"href":681,"dataGaName":682,"dataGaLocation":616},"/topics/ci-cd/","cicd",{"text":684,"config":685},"GitOps",{"href":686,"dataGaName":687,"dataGaLocation":616},"/topics/gitops/","gitops",{"text":189,"config":689},{"href":690,"dataGaName":691,"dataGaLocation":616},"/topics/devops/","devops",{"text":693,"config":694},"Version Control",{"href":695,"dataGaName":696,"dataGaLocation":616},"/topics/version-control/","version control",{"text":698,"config":699},"DevSecOps",{"href":700,"dataGaName":701,"dataGaLocation":616},"/topics/devsecops/","devsecops",{"text":703,"config":704},"Cloud Native",{"href":705,"dataGaName":706,"dataGaLocation":616},"/topics/cloud-native/","cloud native",{"text":708,"config":709},"AI for Coding",{"href":710,"dataGaName":711,"dataGaLocation":616},"/topics/devops/ai-for-coding/","ai for coding",{"text":713,"config":714},"Agentic AI",{"href":715,"dataGaName":716,"dataGaLocation":616},"/topics/agentic-ai/","agentic ai",{"title":264,"links":718},[719,722,725,728,731,734,736,738,740,742,744,747,749,752,756,760],{"text":720,"config":721},"DevOps modernization",{"href":279,"dataGaName":280,"dataGaLocation":616},{"text":723,"config":724},"Security modernization",{"href":284,"dataGaName":285,"dataGaLocation":616},{"text":726,"config":727},"AI modernization",{"href":289,"dataGaName":290,"dataGaLocation":616},{"text":729,"config":730},"Financial services",{"href":315,"dataGaName":316,"dataGaLocation":616},{"text":732,"config":733},"Public sector",{"href":320,"dataGaName":321,"dataGaLocation":616},{"text":323,"config":735},{"href":325,"dataGaName":326,"dataGaLocation":616},{"text":328,"config":737},{"href":330,"dataGaName":331,"dataGaLocation":616},{"text":333,"config":739},{"href":335,"dataGaName":336,"dataGaLocation":616},{"text":338,"config":741},{"href":340,"dataGaName":341,"dataGaLocation":616},{"text":295,"config":743},{"href":297,"dataGaName":298,"dataGaLocation":616},{"text":745,"config":746},"Small business",{"href":302,"dataGaName":303,"dataGaLocation":616},{"text":305,"config":748},{"href":307,"dataGaName":308,"dataGaLocation":616},{"text":684,"config":750},{"href":751,"dataGaName":687,"dataGaLocation":616},"/solutions/gitops/",{"text":753,"config":754},"Software composition analysis",{"href":232,"dataGaName":755,"dataGaLocation":616},"software composition analysis",{"text":757,"config":758},"Value stream management",{"href":250,"dataGaName":759,"dataGaLocation":616},"value stream management",{"text":761,"config":762},"All solutions",{"href":271,"dataGaName":763,"dataGaLocation":616},"all solutions",{"title":357,"links":765},[766,771,776,778,780,782,784,786,788,790,792,794,796,798,801],{"text":767,"config":768},"Install",{"href":769,"dataGaName":770,"dataGaLocation":616},"/install/","install",{"text":772,"config":773},"Quick start guides",{"href":774,"dataGaName":775,"dataGaLocation":616},"/get-started/","quick setup checklists",{"text":370,"config":777},{"href":372,"dataGaName":373,"dataGaLocation":616},{"text":375,"config":779},{"href":377,"dataGaName":378,"dataGaLocation":616},{"text":380,"config":781},{"href":382,"dataGaName":383,"dataGaLocation":616},{"text":385,"config":783},{"href":387,"dataGaName":388,"dataGaLocation":616},{"text":390,"config":785},{"href":392,"dataGaName":393,"dataGaLocation":616},{"text":403,"config":787},{"href":405,"dataGaName":406,"dataGaLocation":616},{"text":408,"config":789},{"href":410,"dataGaName":411,"dataGaLocation":616},{"text":413,"config":791},{"href":415,"dataGaName":416,"dataGaLocation":616},{"text":418,"config":793},{"href":420,"dataGaName":421,"dataGaLocation":616},{"text":423,"config":795},{"href":425,"dataGaName":426,"dataGaLocation":616},{"text":486,"config":797},{"href":488,"dataGaName":489,"dataGaLocation":616},{"text":799,"config":800},"What's new",{"href":434,"dataGaName":435,"dataGaLocation":616},{"text":802,"config":803},"All resources",{"href":364,"dataGaName":804,"dataGaLocation":616},"all resources",{"title":437,"links":806},[807,809,811,813,815,817,819,821,823,827,832],{"text":445,"config":808},{"href":447,"dataGaName":439,"dataGaLocation":616},{"text":450,"config":810},{"href":452,"dataGaName":453,"dataGaLocation":616},{"text":456,"config":812},{"href":458,"dataGaName":459,"dataGaLocation":616},{"text":461,"config":814},{"href":463,"dataGaName":464,"dataGaLocation":616},{"text":466,"config":816},{"href":468,"dataGaName":469,"dataGaLocation":616},{"text":471,"config":818},{"href":473,"dataGaName":474,"dataGaLocation":616},{"text":476,"config":820},{"href":478,"dataGaName":479,"dataGaLocation":616},{"text":481,"config":822},{"href":483,"dataGaName":484,"dataGaLocation":616},{"text":824,"config":825},"Sustainability",{"href":826,"dataGaName":824,"dataGaLocation":616},"/sustainability/",{"text":828,"config":829},"Diversity, inclusion and belonging (DIB)",{"href":830,"dataGaName":831,"dataGaLocation":616},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":833,"config":834},"Modern Slavery Transparency Statement",{"href":835,"dataGaName":836,"dataGaLocation":616},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":838},[839,842,845],{"text":840,"config":841},"Terms",{"href":646,"dataGaName":647,"dataGaLocation":616},{"text":843,"config":844},"Cookies",{"dataGaName":656,"dataGaLocation":616,"id":657,"isOneTrustButton":145},{"text":846,"config":847},"Privacy",{"href":651,"dataGaName":652,"dataGaLocation":616},[849],{"id":850,"title":7,"body":137,"config":851,"content":853,"description":137,"extension":857,"meta":858,"navigation":145,"path":859,"seo":860,"stem":861,"__hash__":862},"blogAuthors/en-us/blog/authors/jacob-vosmaer.yml",{"template":852},"BlogAuthor",{"name":7,"config":854},{"headshot":855,"ctfId":856},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659488/Blog/Author%20Headshots/gitlab-logo-extra-whitespace.png","Jacob-Vosmaer","yml",{},"/en-us/blog/authors/jacob-vosmaer",{},"en-us/blog/authors/jacob-vosmaer","8CR6ShwBsKxqGM4AAocQnzaLp61rqybzr4XSir9Y3Ag",[864,872,880],{"title":865,"description":866,"heroImage":867,"category":133,"date":868,"authors":869,"slug":871,"externalUrl":137},"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",[870],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":873,"description":874,"heroImage":875,"category":133,"date":876,"authors":877,"slug":879,"externalUrl":137},"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",[878],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":881,"description":882,"heroImage":883,"category":133,"date":884,"authors":885,"slug":887,"externalUrl":137},"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",[886],"Isa Huerga","co-create-h1-2026",{"header":889,"text":890,"button":894,"disclaimer":897},"Start your free\n\n30-day GitLab trial\n",[891,892,893],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":162,"config":895},{"href":896,"dataGaName":165,"dataGaLocation":406},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":899,"blurb":900,"button":901,"secondaryButton":906},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":902,"config":903},"Get your free trial",{"href":904,"dataGaName":165,"dataGaLocation":905},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":632,"config":907},{"href":500,"dataGaName":170,"dataGaLocation":905},1794911778759]