[{"data":1,"prerenderedAt":8114},["ShallowReactive",2],{"footer-blog-posts":3,"blog-/blog/digital-asset-audit-roi":3626,"blog-related-/blog/digital-asset-audit-roi":4209},[4,2422],{"id":5,"title":6,"author":7,"body":10,"category":2406,"coverImage":2407,"date":2408,"description":2409,"extension":2410,"featured":2411,"meta":2412,"navigation":365,"path":2413,"readingTime":2414,"seo":2415,"stem":2416,"tags":2417,"__hash__":2421},"blog/blog/api-first-approach-guide.md","The API-First Approach: Why Leading Companies Build APIs Before Interfaces",{"name":8,"role":9},"Sahan De Silva","Lead Cloud Architect",{"type":11,"value":12,"toc":2373},"minimark",[13,18,27,30,36,40,43,46,68,71,75,78,83,89,95,99,104,109,113,118,123,212,216,219,223,226,235,239,242,246,254,262,266,269,273,276,280,283,1086,1089,1093,1096,1158,1161,1172,1176,1179,1667,1670,1674,1677,1689,1698,1707,1710,1725,1729,1732,1927,1930,1950,1955,1959,1962,1966,2010,2018,2022,2025,2029,2032,2036,2051,2055,2058,2169,2172,2176,2184,2188,2195,2303,2306,2310,2313,2345,2348,2356,2359,2369],[14,15,17],"h2",{"id":16},"apis-are-products-not-plumbing","APIs Are Products, Not Plumbing",[19,20,21,22,26],"p",{},"The most successful software companies in the world — Stripe, Twilio, Shopify — share a common trait: they treat their APIs as first-class products. The ",[23,24,25],"strong",{},"API-first approach"," means designing the API contract before writing any implementation code, ensuring that every system, team, and future integration builds on a stable, well-documented foundation. This methodology is no longer a luxury for platform companies. It is essential for any business building interconnected digital systems that need to scale.",[19,28,29],{},"If you have ever struggled with a mobile app that does not match the web experience, a third-party integration that breaks after every release, or frontend and backend teams blocking each other's progress, API-first development solves these problems by design.",[31,32,33],"blockquote",{},[19,34,35],{},"The best time to adopt API-first was at the start of your project. The second-best time is now, before your next breaking change costs you a customer.",[14,37,39],{"id":38},"what-is-api-first-development","What Is API-First Development?",[19,41,42],{},"API-first development is a methodology where the API specification is designed, reviewed, and agreed upon before any implementation work begins. The API contract becomes the single source of truth that all teams — frontend, backend, mobile, QA, and external partners — build against.",[19,44,45],{},"This inverts the traditional approach where APIs are an afterthought, bolted onto existing backend code and shaped by database schemas rather than consumer needs. In an API-first workflow:",[47,48,49,53,56,59,62,65],"ol",{},[50,51,52],"li",{},"Stakeholders agree on the API contract (what data goes in, what comes out, what errors are possible)",[50,54,55],{},"The contract is documented in a machine-readable specification (OpenAPI, GraphQL SDL)",[50,57,58],{},"Mock servers are generated from the specification, enabling parallel development",[50,60,61],{},"Frontend, mobile, and backend teams build simultaneously against the contract",[50,63,64],{},"Contract tests verify that implementations match the specification",[50,66,67],{},"The API is versioned and maintained as a product, with its own lifecycle",[19,69,70],{},"This approach fundamentally changes how teams collaborate, how quickly features ship, and how reliably systems integrate.",[14,72,74],{"id":73},"api-first-vs-code-first-what-changes","API-First vs Code-First: What Changes",[19,76,77],{},"The differences between API-first and code-first development are practical, not just philosophical. Here is how each phase of development changes.",[79,80,82],"h3",{"id":81},"design-phase","Design Phase",[19,84,85,88],{},[23,86,87],{},"Code-first",": A backend developer builds an endpoint, documents it in a wiki or Swagger annotation, and shares it with the frontend team. The frontend team discovers edge cases, requests changes, and both teams iterate — often through a slow cycle of PRs, Slack messages, and meetings.",[19,90,91,94],{},[23,92,93],{},"API-first",": Stakeholders (product, frontend, backend, mobile) review the API specification together before any code is written. Disagreements about data shapes, naming conventions, and error handling are resolved in a document, not in pull requests. Mock servers let everyone validate the design against real use cases.",[79,96,98],{"id":97},"development-phase","Development Phase",[19,100,101,103],{},[23,102,87],{},": Frontend teams wait for backend endpoints to be ready. This creates sequential dependencies and idle time. When the backend delivers an endpoint, its shape often does not match frontend expectations, triggering rework.",[19,105,106,108],{},[23,107,93],{},": Frontend and backend teams work in parallel from day one. The frontend builds against mock servers generated from the specification. The backend implements against the same specification. When both sides are done, integration is a formality because the contract was agreed upon upfront.",[79,110,112],{"id":111},"testing-phase","Testing Phase",[19,114,115,117],{},[23,116,87],{},": Integration tests are written after both sides are built, discovering contract mismatches late in the cycle.",[19,119,120,122],{},[23,121,93],{},": Contract tests run continuously, verifying that implementations conform to the specification. Consumer-driven contract testing ensures that API changes do not break existing consumers.",[124,125,126,142],"table",{},[127,128,129],"thead",{},[130,131,132,136,139],"tr",{},[133,134,135],"th",{},"Aspect",[133,137,138],{},"Code-First",[133,140,141],{},"API-First",[143,144,145,157,168,179,190,201],"tbody",{},[130,146,147,151,154],{},[148,149,150],"td",{},"Design input",[148,152,153],{},"Backend developer",[148,155,156],{},"Cross-functional stakeholders",[130,158,159,162,165],{},[148,160,161],{},"Specification",[148,163,164],{},"Generated from code (afterthought)",[148,166,167],{},"Written first (source of truth)",[130,169,170,173,176],{},[148,171,172],{},"Parallel development",[148,174,175],{},"Limited (sequential dependencies)",[148,177,178],{},"Full (mock servers from day one)",[130,180,181,184,187],{},[148,182,183],{},"Contract validation",[148,185,186],{},"Manual / late integration testing",[148,188,189],{},"Automated contract testing",[130,191,192,195,198],{},[148,193,194],{},"Documentation",[148,196,197],{},"Often stale",[148,199,200],{},"Always current (generated from spec)",[130,202,203,206,209],{},[148,204,205],{},"Breaking change risk",[148,207,208],{},"High (discovered in production)",[148,210,211],{},"Low (caught in CI)",[14,213,215],{"id":214},"the-business-case-for-api-first","The Business Case for API-First",[19,217,218],{},"API-first development is not just an engineering preference. It delivers measurable business value across multiple dimensions.",[79,220,222],{"id":221},"faster-parallel-development","Faster Parallel Development",[19,224,225],{},"When frontend and backend teams can work simultaneously, feature delivery accelerates by 30-50%. There is no \"waiting for the API\" phase. Mobile developers are not blocked by web developers. External partners can start integration work before your internal implementation is complete.",[19,227,228,229,234],{},"For businesses working with an ",[230,231,233],"a",{"href":232},"/solutions/api-integrations","integration engineering partner",", this parallel development capability is transformative. It compresses timelines and reduces the coordination overhead that slows most projects.",[79,236,238],{"id":237},"better-partner-and-third-party-integrations","Better Partner and Third-Party Integrations",[19,240,241],{},"If your business relies on third-party integrations — payment processors, shipping providers, CRM systems, marketing platforms — a well-designed API layer makes these integrations predictable and maintainable. Partners build against your documented API, not against the quirks of your internal implementation.",[79,243,245],{"id":244},"future-proofing-your-technology-stack","Future-Proofing Your Technology Stack",[19,247,248,249,253],{},"A well-designed API layer decouples your business logic from any specific frontend or consumer. Today, your API serves a web application. Tomorrow, it serves a mobile app, an AI agent like ",[230,250,252],{"href":251},"/solutions/connekz-integration","Connekz",", an IoT device, or a partner's platform — all without changing the backend.",[19,255,256,257,261],{},"This flexibility is particularly valuable for businesses planning ",[230,258,260],{"href":259},"/solutions/mobile-apps","mobile application development",". When the API is designed independently of the web frontend, the mobile app gets the same first-class data access without workarounds or BFF (Backend for Frontend) layers.",[79,263,265],{"id":264},"reduced-rework-and-miscommunication","Reduced Rework and Miscommunication",[19,267,268],{},"The most expensive bugs are specification bugs — building the wrong thing. API-first development forces specification alignment before code is written. The cost of changing a YAML file is trivially small compared to refactoring implemented code across multiple teams and codebases.",[14,270,272],{"id":271},"implementation-patterns","Implementation Patterns",[19,274,275],{},"Moving from theory to practice requires specific tools, patterns, and workflows. Here is how to implement API-first development in your organisation.",[79,277,279],{"id":278},"openapi-specification-design","OpenAPI Specification Design",[19,281,282],{},"The OpenAPI Specification (formerly Swagger) is the industry standard for describing REST APIs. Your API specification should be the first artifact created for any new feature or service.",[284,285,290],"pre",{"className":286,"code":287,"language":288,"meta":289,"style":289},"language-yaml shiki shiki-themes github-light github-dark","# openapi.yaml — Example specification for a booking API\nopenapi: 3.1.0\ninfo:\n  title: Booking API\n  version: 2.0.0\n  description: API for managing customer bookings and appointments\n\npaths:\n  /bookings:\n    post:\n      operationId: createBooking\n      summary: Create a new booking\n      tags:\n        - Bookings\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              $ref: '#/components/schemas/CreateBookingRequest'\n      responses:\n        '201':\n          description: Booking created successfully\n          content:\n            application/json:\n              schema:\n                $ref: '#/components/schemas/BookingResponse'\n        '409':\n          description: Time slot no longer available\n          content:\n            application/json:\n              schema:\n                $ref: '#/components/schemas/ErrorResponse'\n        '422':\n          description: Validation error\n          content:\n            application/json:\n              schema:\n                $ref: '#/components/schemas/ValidationErrorResponse'\n\ncomponents:\n  schemas:\n    CreateBookingRequest:\n      type: object\n      required:\n        - serviceType\n        - dateTime\n        - customerName\n        - customerEmail\n      properties:\n        serviceType:\n          type: string\n          enum:\n            - consultation\n            - follow-up\n            - treatment\n        dateTime:\n          type: string\n          format: date-time\n          description: ISO 8601 date-time for the appointment\n        customerName:\n          type: string\n          minLength: 2\n          maxLength: 100\n        customerEmail:\n          type: string\n          format: email\n        notes:\n          type: string\n          maxLength: 500\n\n    BookingResponse:\n      type: object\n      properties:\n        id:\n          type: string\n          format: uuid\n        status:\n          type: string\n          enum:\n            - confirmed\n            - pending\n            - cancelled\n        serviceType:\n          type: string\n        dateTime:\n          type: string\n          format: date-time\n        createdAt:\n          type: string\n          format: date-time\n","yaml","",[291,292,293,302,317,326,338,349,360,367,375,383,391,402,413,421,430,438,449,457,465,473,484,492,500,511,519,527,535,546,554,564,571,578,585,595,603,613,620,627,634,644,649,657,665,673,684,692,700,708,716,724,732,740,751,759,768,776,784,792,801,812,822,830,839,850,861,869,878,888,896,905,915,920,928,937,944,952,961,971,979,988,995,1003,1011,1019,1026,1035,1042,1051,1060,1068,1077],"code",{"__ignoreMap":289},[294,295,298],"span",{"class":296,"line":297},"line",1,[294,299,301],{"class":300},"sJ8bj","# openapi.yaml — Example specification for a booking API\n",[294,303,305,309,313],{"class":296,"line":304},2,[294,306,308],{"class":307},"s9eBZ","openapi",[294,310,312],{"class":311},"sVt8B",": ",[294,314,316],{"class":315},"sj4cs","3.1.0\n",[294,318,320,323],{"class":296,"line":319},3,[294,321,322],{"class":307},"info",[294,324,325],{"class":311},":\n",[294,327,329,332,334],{"class":296,"line":328},4,[294,330,331],{"class":307},"  title",[294,333,312],{"class":311},[294,335,337],{"class":336},"sZZnC","Booking API\n",[294,339,341,344,346],{"class":296,"line":340},5,[294,342,343],{"class":307},"  version",[294,345,312],{"class":311},[294,347,348],{"class":315},"2.0.0\n",[294,350,352,355,357],{"class":296,"line":351},6,[294,353,354],{"class":307},"  description",[294,356,312],{"class":311},[294,358,359],{"class":336},"API for managing customer bookings and appointments\n",[294,361,363],{"class":296,"line":362},7,[294,364,366],{"emptyLinePlaceholder":365},true,"\n",[294,368,370,373],{"class":296,"line":369},8,[294,371,372],{"class":307},"paths",[294,374,325],{"class":311},[294,376,378,381],{"class":296,"line":377},9,[294,379,380],{"class":307},"  /bookings",[294,382,325],{"class":311},[294,384,386,389],{"class":296,"line":385},10,[294,387,388],{"class":307},"    post",[294,390,325],{"class":311},[294,392,394,397,399],{"class":296,"line":393},11,[294,395,396],{"class":307},"      operationId",[294,398,312],{"class":311},[294,400,401],{"class":336},"createBooking\n",[294,403,405,408,410],{"class":296,"line":404},12,[294,406,407],{"class":307},"      summary",[294,409,312],{"class":311},[294,411,412],{"class":336},"Create a new booking\n",[294,414,416,419],{"class":296,"line":415},13,[294,417,418],{"class":307},"      tags",[294,420,325],{"class":311},[294,422,424,427],{"class":296,"line":423},14,[294,425,426],{"class":311},"        - ",[294,428,429],{"class":336},"Bookings\n",[294,431,433,436],{"class":296,"line":432},15,[294,434,435],{"class":307},"      requestBody",[294,437,325],{"class":311},[294,439,441,444,446],{"class":296,"line":440},16,[294,442,443],{"class":307},"        required",[294,445,312],{"class":311},[294,447,448],{"class":315},"true\n",[294,450,452,455],{"class":296,"line":451},17,[294,453,454],{"class":307},"        content",[294,456,325],{"class":311},[294,458,460,463],{"class":296,"line":459},18,[294,461,462],{"class":307},"          application/json",[294,464,325],{"class":311},[294,466,468,471],{"class":296,"line":467},19,[294,469,470],{"class":307},"            schema",[294,472,325],{"class":311},[294,474,476,479,481],{"class":296,"line":475},20,[294,477,478],{"class":307},"              $ref",[294,480,312],{"class":311},[294,482,483],{"class":336},"'#/components/schemas/CreateBookingRequest'\n",[294,485,487,490],{"class":296,"line":486},21,[294,488,489],{"class":307},"      responses",[294,491,325],{"class":311},[294,493,495,498],{"class":296,"line":494},22,[294,496,497],{"class":336},"        '201'",[294,499,325],{"class":311},[294,501,503,506,508],{"class":296,"line":502},23,[294,504,505],{"class":307},"          description",[294,507,312],{"class":311},[294,509,510],{"class":336},"Booking created successfully\n",[294,512,514,517],{"class":296,"line":513},24,[294,515,516],{"class":307},"          content",[294,518,325],{"class":311},[294,520,522,525],{"class":296,"line":521},25,[294,523,524],{"class":307},"            application/json",[294,526,325],{"class":311},[294,528,530,533],{"class":296,"line":529},26,[294,531,532],{"class":307},"              schema",[294,534,325],{"class":311},[294,536,538,541,543],{"class":296,"line":537},27,[294,539,540],{"class":307},"                $ref",[294,542,312],{"class":311},[294,544,545],{"class":336},"'#/components/schemas/BookingResponse'\n",[294,547,549,552],{"class":296,"line":548},28,[294,550,551],{"class":336},"        '409'",[294,553,325],{"class":311},[294,555,557,559,561],{"class":296,"line":556},29,[294,558,505],{"class":307},[294,560,312],{"class":311},[294,562,563],{"class":336},"Time slot no longer available\n",[294,565,567,569],{"class":296,"line":566},30,[294,568,516],{"class":307},[294,570,325],{"class":311},[294,572,574,576],{"class":296,"line":573},31,[294,575,524],{"class":307},[294,577,325],{"class":311},[294,579,581,583],{"class":296,"line":580},32,[294,582,532],{"class":307},[294,584,325],{"class":311},[294,586,588,590,592],{"class":296,"line":587},33,[294,589,540],{"class":307},[294,591,312],{"class":311},[294,593,594],{"class":336},"'#/components/schemas/ErrorResponse'\n",[294,596,598,601],{"class":296,"line":597},34,[294,599,600],{"class":336},"        '422'",[294,602,325],{"class":311},[294,604,606,608,610],{"class":296,"line":605},35,[294,607,505],{"class":307},[294,609,312],{"class":311},[294,611,612],{"class":336},"Validation error\n",[294,614,616,618],{"class":296,"line":615},36,[294,617,516],{"class":307},[294,619,325],{"class":311},[294,621,623,625],{"class":296,"line":622},37,[294,624,524],{"class":307},[294,626,325],{"class":311},[294,628,630,632],{"class":296,"line":629},38,[294,631,532],{"class":307},[294,633,325],{"class":311},[294,635,637,639,641],{"class":296,"line":636},39,[294,638,540],{"class":307},[294,640,312],{"class":311},[294,642,643],{"class":336},"'#/components/schemas/ValidationErrorResponse'\n",[294,645,647],{"class":296,"line":646},40,[294,648,366],{"emptyLinePlaceholder":365},[294,650,652,655],{"class":296,"line":651},41,[294,653,654],{"class":307},"components",[294,656,325],{"class":311},[294,658,660,663],{"class":296,"line":659},42,[294,661,662],{"class":307},"  schemas",[294,664,325],{"class":311},[294,666,668,671],{"class":296,"line":667},43,[294,669,670],{"class":307},"    CreateBookingRequest",[294,672,325],{"class":311},[294,674,676,679,681],{"class":296,"line":675},44,[294,677,678],{"class":307},"      type",[294,680,312],{"class":311},[294,682,683],{"class":336},"object\n",[294,685,687,690],{"class":296,"line":686},45,[294,688,689],{"class":307},"      required",[294,691,325],{"class":311},[294,693,695,697],{"class":296,"line":694},46,[294,696,426],{"class":311},[294,698,699],{"class":336},"serviceType\n",[294,701,703,705],{"class":296,"line":702},47,[294,704,426],{"class":311},[294,706,707],{"class":336},"dateTime\n",[294,709,711,713],{"class":296,"line":710},48,[294,712,426],{"class":311},[294,714,715],{"class":336},"customerName\n",[294,717,719,721],{"class":296,"line":718},49,[294,720,426],{"class":311},[294,722,723],{"class":336},"customerEmail\n",[294,725,727,730],{"class":296,"line":726},50,[294,728,729],{"class":307},"      properties",[294,731,325],{"class":311},[294,733,735,738],{"class":296,"line":734},51,[294,736,737],{"class":307},"        serviceType",[294,739,325],{"class":311},[294,741,743,746,748],{"class":296,"line":742},52,[294,744,745],{"class":307},"          type",[294,747,312],{"class":311},[294,749,750],{"class":336},"string\n",[294,752,754,757],{"class":296,"line":753},53,[294,755,756],{"class":307},"          enum",[294,758,325],{"class":311},[294,760,762,765],{"class":296,"line":761},54,[294,763,764],{"class":311},"            - ",[294,766,767],{"class":336},"consultation\n",[294,769,771,773],{"class":296,"line":770},55,[294,772,764],{"class":311},[294,774,775],{"class":336},"follow-up\n",[294,777,779,781],{"class":296,"line":778},56,[294,780,764],{"class":311},[294,782,783],{"class":336},"treatment\n",[294,785,787,790],{"class":296,"line":786},57,[294,788,789],{"class":307},"        dateTime",[294,791,325],{"class":311},[294,793,795,797,799],{"class":296,"line":794},58,[294,796,745],{"class":307},[294,798,312],{"class":311},[294,800,750],{"class":336},[294,802,804,807,809],{"class":296,"line":803},59,[294,805,806],{"class":307},"          format",[294,808,312],{"class":311},[294,810,811],{"class":336},"date-time\n",[294,813,815,817,819],{"class":296,"line":814},60,[294,816,505],{"class":307},[294,818,312],{"class":311},[294,820,821],{"class":336},"ISO 8601 date-time for the appointment\n",[294,823,825,828],{"class":296,"line":824},61,[294,826,827],{"class":307},"        customerName",[294,829,325],{"class":311},[294,831,833,835,837],{"class":296,"line":832},62,[294,834,745],{"class":307},[294,836,312],{"class":311},[294,838,750],{"class":336},[294,840,842,845,847],{"class":296,"line":841},63,[294,843,844],{"class":307},"          minLength",[294,846,312],{"class":311},[294,848,849],{"class":315},"2\n",[294,851,853,856,858],{"class":296,"line":852},64,[294,854,855],{"class":307},"          maxLength",[294,857,312],{"class":311},[294,859,860],{"class":315},"100\n",[294,862,864,867],{"class":296,"line":863},65,[294,865,866],{"class":307},"        customerEmail",[294,868,325],{"class":311},[294,870,872,874,876],{"class":296,"line":871},66,[294,873,745],{"class":307},[294,875,312],{"class":311},[294,877,750],{"class":336},[294,879,881,883,885],{"class":296,"line":880},67,[294,882,806],{"class":307},[294,884,312],{"class":311},[294,886,887],{"class":336},"email\n",[294,889,891,894],{"class":296,"line":890},68,[294,892,893],{"class":307},"        notes",[294,895,325],{"class":311},[294,897,899,901,903],{"class":296,"line":898},69,[294,900,745],{"class":307},[294,902,312],{"class":311},[294,904,750],{"class":336},[294,906,908,910,912],{"class":296,"line":907},70,[294,909,855],{"class":307},[294,911,312],{"class":311},[294,913,914],{"class":315},"500\n",[294,916,918],{"class":296,"line":917},71,[294,919,366],{"emptyLinePlaceholder":365},[294,921,923,926],{"class":296,"line":922},72,[294,924,925],{"class":307},"    BookingResponse",[294,927,325],{"class":311},[294,929,931,933,935],{"class":296,"line":930},73,[294,932,678],{"class":307},[294,934,312],{"class":311},[294,936,683],{"class":336},[294,938,940,942],{"class":296,"line":939},74,[294,941,729],{"class":307},[294,943,325],{"class":311},[294,945,947,950],{"class":296,"line":946},75,[294,948,949],{"class":307},"        id",[294,951,325],{"class":311},[294,953,955,957,959],{"class":296,"line":954},76,[294,956,745],{"class":307},[294,958,312],{"class":311},[294,960,750],{"class":336},[294,962,964,966,968],{"class":296,"line":963},77,[294,965,806],{"class":307},[294,967,312],{"class":311},[294,969,970],{"class":336},"uuid\n",[294,972,974,977],{"class":296,"line":973},78,[294,975,976],{"class":307},"        status",[294,978,325],{"class":311},[294,980,982,984,986],{"class":296,"line":981},79,[294,983,745],{"class":307},[294,985,312],{"class":311},[294,987,750],{"class":336},[294,989,991,993],{"class":296,"line":990},80,[294,992,756],{"class":307},[294,994,325],{"class":311},[294,996,998,1000],{"class":296,"line":997},81,[294,999,764],{"class":311},[294,1001,1002],{"class":336},"confirmed\n",[294,1004,1006,1008],{"class":296,"line":1005},82,[294,1007,764],{"class":311},[294,1009,1010],{"class":336},"pending\n",[294,1012,1014,1016],{"class":296,"line":1013},83,[294,1015,764],{"class":311},[294,1017,1018],{"class":336},"cancelled\n",[294,1020,1022,1024],{"class":296,"line":1021},84,[294,1023,737],{"class":307},[294,1025,325],{"class":311},[294,1027,1029,1031,1033],{"class":296,"line":1028},85,[294,1030,745],{"class":307},[294,1032,312],{"class":311},[294,1034,750],{"class":336},[294,1036,1038,1040],{"class":296,"line":1037},86,[294,1039,789],{"class":307},[294,1041,325],{"class":311},[294,1043,1045,1047,1049],{"class":296,"line":1044},87,[294,1046,745],{"class":307},[294,1048,312],{"class":311},[294,1050,750],{"class":336},[294,1052,1054,1056,1058],{"class":296,"line":1053},88,[294,1055,806],{"class":307},[294,1057,312],{"class":311},[294,1059,811],{"class":336},[294,1061,1063,1066],{"class":296,"line":1062},89,[294,1064,1065],{"class":307},"        createdAt",[294,1067,325],{"class":311},[294,1069,1071,1073,1075],{"class":296,"line":1070},90,[294,1072,745],{"class":307},[294,1074,312],{"class":311},[294,1076,750],{"class":336},[294,1078,1080,1082,1084],{"class":296,"line":1079},91,[294,1081,806],{"class":307},[294,1083,312],{"class":311},[294,1085,811],{"class":336},[19,1087,1088],{},"This specification is machine-readable. From it, you can generate mock servers, client SDKs, validation middleware, and interactive documentation — all automatically.",[79,1090,1092],{"id":1091},"mock-first-development","Mock-First Development",[19,1094,1095],{},"Once the specification is written, generate mock servers so that consumer teams can start building immediately.",[284,1097,1101],{"className":1098,"code":1099,"language":1100,"meta":289,"style":289},"language-bash shiki shiki-themes github-light github-dark","# Generate a mock server from your OpenAPI spec using Prism\nnpx @stoplight/prism-cli mock openapi.yaml --port 4010\n\n# Or use MSW (Mock Service Worker) for frontend testing\n# msw generates handlers from OpenAPI specs\nnpx msw-auto-mock openapi.yaml --output ./src/mocks/handlers.ts\n","bash",[291,1102,1103,1108,1129,1133,1138,1143],{"__ignoreMap":289},[294,1104,1105],{"class":296,"line":297},[294,1106,1107],{"class":300},"# Generate a mock server from your OpenAPI spec using Prism\n",[294,1109,1110,1114,1117,1120,1123,1126],{"class":296,"line":304},[294,1111,1113],{"class":1112},"sScJk","npx",[294,1115,1116],{"class":336}," @stoplight/prism-cli",[294,1118,1119],{"class":336}," mock",[294,1121,1122],{"class":336}," openapi.yaml",[294,1124,1125],{"class":315}," --port",[294,1127,1128],{"class":315}," 4010\n",[294,1130,1131],{"class":296,"line":319},[294,1132,366],{"emptyLinePlaceholder":365},[294,1134,1135],{"class":296,"line":328},[294,1136,1137],{"class":300},"# Or use MSW (Mock Service Worker) for frontend testing\n",[294,1139,1140],{"class":296,"line":340},[294,1141,1142],{"class":300},"# msw generates handlers from OpenAPI specs\n",[294,1144,1145,1147,1150,1152,1155],{"class":296,"line":351},[294,1146,1113],{"class":1112},[294,1148,1149],{"class":336}," msw-auto-mock",[294,1151,1122],{"class":336},[294,1153,1154],{"class":315}," --output",[294,1156,1157],{"class":336}," ./src/mocks/handlers.ts\n",[19,1159,1160],{},"Mock servers return realistic responses based on the schemas in your specification. Frontend developers build against these mocks, confident that the real API will return data in the same shape.",[1162,1163,1165],"callout",{"type":1164},"tip",[19,1166,1167,1168,1171],{},"Invest time in adding ",[291,1169,1170],{},"example"," values to your OpenAPI schemas. Mocks generated from well-annotated specifications are realistic enough that frontend teams can complete full feature development without ever touching the real backend.",[79,1173,1175],{"id":1174},"contract-testing-with-pact","Contract Testing with Pact",[19,1177,1178],{},"Contract testing verifies that API producers and consumers agree on the interface. Pact is the most widely adopted tool for consumer-driven contract testing.",[284,1180,1184],{"className":1181,"code":1182,"language":1183,"meta":289,"style":289},"language-typescript shiki shiki-themes github-light github-dark","// Consumer-side contract test (frontend/mobile team writes this)\nimport { PactV4 } from '@pact-foundation/pact';\n\nconst provider = new PactV4({\n  consumer: 'BookingWebApp',\n  provider: 'BookingAPI',\n});\n\ndescribe('Booking API Contract', () => {\n  it('creates a booking successfully', async () => {\n    await provider\n      .addInteraction()\n      .given('available time slot exists')\n      .uponReceiving('a request to create a booking')\n      .withRequest('POST', '/bookings', (builder) => {\n        builder\n          .headers({ 'Content-Type': 'application/json' })\n          .jsonBody({\n            serviceType: 'consultation',\n            dateTime: '2026-02-17T14:30:00Z',\n            customerName: 'Sarah Chen',\n            customerEmail: 'sarah@example.com',\n          });\n      })\n      .willRespondWith(201, (builder) => {\n        builder.jsonBody({\n          id: provider.like('f47ac10b-58cc-4372-a567-0e02b2c3d479'),\n          status: 'confirmed',\n          serviceType: 'consultation',\n          dateTime: '2026-02-17T14:30:00Z',\n        });\n      })\n      .executeTest(async (mockServer) => {\n        const response = await createBooking(mockServer.url, {\n          serviceType: 'consultation',\n          dateTime: '2026-02-17T14:30:00Z',\n          customerName: 'Sarah Chen',\n          customerEmail: 'sarah@example.com',\n        });\n        expect(response.status).toBe('confirmed');\n      });\n  });\n});\n","typescript",[291,1185,1186,1191,1209,1213,1233,1244,1254,1259,1263,1283,1306,1314,1325,1340,1354,1385,1390,1412,1421,1431,1441,1451,1461,1466,1471,1493,1502,1518,1528,1537,1546,1551,1555,1578,1597,1605,1613,1622,1631,1635,1653,1658,1663],{"__ignoreMap":289},[294,1187,1188],{"class":296,"line":297},[294,1189,1190],{"class":300},"// Consumer-side contract test (frontend/mobile team writes this)\n",[294,1192,1193,1197,1200,1203,1206],{"class":296,"line":304},[294,1194,1196],{"class":1195},"szBVR","import",[294,1198,1199],{"class":311}," { PactV4 } ",[294,1201,1202],{"class":1195},"from",[294,1204,1205],{"class":336}," '@pact-foundation/pact'",[294,1207,1208],{"class":311},";\n",[294,1210,1211],{"class":296,"line":319},[294,1212,366],{"emptyLinePlaceholder":365},[294,1214,1215,1218,1221,1224,1227,1230],{"class":296,"line":328},[294,1216,1217],{"class":1195},"const",[294,1219,1220],{"class":315}," provider",[294,1222,1223],{"class":1195}," =",[294,1225,1226],{"class":1195}," new",[294,1228,1229],{"class":1112}," PactV4",[294,1231,1232],{"class":311},"({\n",[294,1234,1235,1238,1241],{"class":296,"line":340},[294,1236,1237],{"class":311},"  consumer: ",[294,1239,1240],{"class":336},"'BookingWebApp'",[294,1242,1243],{"class":311},",\n",[294,1245,1246,1249,1252],{"class":296,"line":351},[294,1247,1248],{"class":311},"  provider: ",[294,1250,1251],{"class":336},"'BookingAPI'",[294,1253,1243],{"class":311},[294,1255,1256],{"class":296,"line":362},[294,1257,1258],{"class":311},"});\n",[294,1260,1261],{"class":296,"line":369},[294,1262,366],{"emptyLinePlaceholder":365},[294,1264,1265,1268,1271,1274,1277,1280],{"class":296,"line":377},[294,1266,1267],{"class":1112},"describe",[294,1269,1270],{"class":311},"(",[294,1272,1273],{"class":336},"'Booking API Contract'",[294,1275,1276],{"class":311},", () ",[294,1278,1279],{"class":1195},"=>",[294,1281,1282],{"class":311}," {\n",[294,1284,1285,1288,1290,1293,1296,1299,1302,1304],{"class":296,"line":385},[294,1286,1287],{"class":1112},"  it",[294,1289,1270],{"class":311},[294,1291,1292],{"class":336},"'creates a booking successfully'",[294,1294,1295],{"class":311},", ",[294,1297,1298],{"class":1195},"async",[294,1300,1301],{"class":311}," () ",[294,1303,1279],{"class":1195},[294,1305,1282],{"class":311},[294,1307,1308,1311],{"class":296,"line":393},[294,1309,1310],{"class":1195},"    await",[294,1312,1313],{"class":311}," provider\n",[294,1315,1316,1319,1322],{"class":296,"line":404},[294,1317,1318],{"class":311},"      .",[294,1320,1321],{"class":1112},"addInteraction",[294,1323,1324],{"class":311},"()\n",[294,1326,1327,1329,1332,1334,1337],{"class":296,"line":415},[294,1328,1318],{"class":311},[294,1330,1331],{"class":1112},"given",[294,1333,1270],{"class":311},[294,1335,1336],{"class":336},"'available time slot exists'",[294,1338,1339],{"class":311},")\n",[294,1341,1342,1344,1347,1349,1352],{"class":296,"line":423},[294,1343,1318],{"class":311},[294,1345,1346],{"class":1112},"uponReceiving",[294,1348,1270],{"class":311},[294,1350,1351],{"class":336},"'a request to create a booking'",[294,1353,1339],{"class":311},[294,1355,1356,1358,1361,1363,1366,1368,1371,1374,1378,1381,1383],{"class":296,"line":432},[294,1357,1318],{"class":311},[294,1359,1360],{"class":1112},"withRequest",[294,1362,1270],{"class":311},[294,1364,1365],{"class":336},"'POST'",[294,1367,1295],{"class":311},[294,1369,1370],{"class":336},"'/bookings'",[294,1372,1373],{"class":311},", (",[294,1375,1377],{"class":1376},"s4XuR","builder",[294,1379,1380],{"class":311},") ",[294,1382,1279],{"class":1195},[294,1384,1282],{"class":311},[294,1386,1387],{"class":296,"line":440},[294,1388,1389],{"class":311},"        builder\n",[294,1391,1392,1395,1398,1401,1404,1406,1409],{"class":296,"line":451},[294,1393,1394],{"class":311},"          .",[294,1396,1397],{"class":1112},"headers",[294,1399,1400],{"class":311},"({ ",[294,1402,1403],{"class":336},"'Content-Type'",[294,1405,312],{"class":311},[294,1407,1408],{"class":336},"'application/json'",[294,1410,1411],{"class":311}," })\n",[294,1413,1414,1416,1419],{"class":296,"line":459},[294,1415,1394],{"class":311},[294,1417,1418],{"class":1112},"jsonBody",[294,1420,1232],{"class":311},[294,1422,1423,1426,1429],{"class":296,"line":467},[294,1424,1425],{"class":311},"            serviceType: ",[294,1427,1428],{"class":336},"'consultation'",[294,1430,1243],{"class":311},[294,1432,1433,1436,1439],{"class":296,"line":475},[294,1434,1435],{"class":311},"            dateTime: ",[294,1437,1438],{"class":336},"'2026-02-17T14:30:00Z'",[294,1440,1243],{"class":311},[294,1442,1443,1446,1449],{"class":296,"line":486},[294,1444,1445],{"class":311},"            customerName: ",[294,1447,1448],{"class":336},"'Sarah Chen'",[294,1450,1243],{"class":311},[294,1452,1453,1456,1459],{"class":296,"line":494},[294,1454,1455],{"class":311},"            customerEmail: ",[294,1457,1458],{"class":336},"'sarah@example.com'",[294,1460,1243],{"class":311},[294,1462,1463],{"class":296,"line":502},[294,1464,1465],{"class":311},"          });\n",[294,1467,1468],{"class":296,"line":513},[294,1469,1470],{"class":311},"      })\n",[294,1472,1473,1475,1478,1480,1483,1485,1487,1489,1491],{"class":296,"line":521},[294,1474,1318],{"class":311},[294,1476,1477],{"class":1112},"willRespondWith",[294,1479,1270],{"class":311},[294,1481,1482],{"class":315},"201",[294,1484,1373],{"class":311},[294,1486,1377],{"class":1376},[294,1488,1380],{"class":311},[294,1490,1279],{"class":1195},[294,1492,1282],{"class":311},[294,1494,1495,1498,1500],{"class":296,"line":529},[294,1496,1497],{"class":311},"        builder.",[294,1499,1418],{"class":1112},[294,1501,1232],{"class":311},[294,1503,1504,1507,1510,1512,1515],{"class":296,"line":537},[294,1505,1506],{"class":311},"          id: provider.",[294,1508,1509],{"class":1112},"like",[294,1511,1270],{"class":311},[294,1513,1514],{"class":336},"'f47ac10b-58cc-4372-a567-0e02b2c3d479'",[294,1516,1517],{"class":311},"),\n",[294,1519,1520,1523,1526],{"class":296,"line":548},[294,1521,1522],{"class":311},"          status: ",[294,1524,1525],{"class":336},"'confirmed'",[294,1527,1243],{"class":311},[294,1529,1530,1533,1535],{"class":296,"line":556},[294,1531,1532],{"class":311},"          serviceType: ",[294,1534,1428],{"class":336},[294,1536,1243],{"class":311},[294,1538,1539,1542,1544],{"class":296,"line":566},[294,1540,1541],{"class":311},"          dateTime: ",[294,1543,1438],{"class":336},[294,1545,1243],{"class":311},[294,1547,1548],{"class":296,"line":573},[294,1549,1550],{"class":311},"        });\n",[294,1552,1553],{"class":296,"line":580},[294,1554,1470],{"class":311},[294,1556,1557,1559,1562,1564,1566,1569,1572,1574,1576],{"class":296,"line":587},[294,1558,1318],{"class":311},[294,1560,1561],{"class":1112},"executeTest",[294,1563,1270],{"class":311},[294,1565,1298],{"class":1195},[294,1567,1568],{"class":311}," (",[294,1570,1571],{"class":1376},"mockServer",[294,1573,1380],{"class":311},[294,1575,1279],{"class":1195},[294,1577,1282],{"class":311},[294,1579,1580,1583,1586,1588,1591,1594],{"class":296,"line":597},[294,1581,1582],{"class":1195},"        const",[294,1584,1585],{"class":315}," response",[294,1587,1223],{"class":1195},[294,1589,1590],{"class":1195}," await",[294,1592,1593],{"class":1112}," createBooking",[294,1595,1596],{"class":311},"(mockServer.url, {\n",[294,1598,1599,1601,1603],{"class":296,"line":605},[294,1600,1532],{"class":311},[294,1602,1428],{"class":336},[294,1604,1243],{"class":311},[294,1606,1607,1609,1611],{"class":296,"line":615},[294,1608,1541],{"class":311},[294,1610,1438],{"class":336},[294,1612,1243],{"class":311},[294,1614,1615,1618,1620],{"class":296,"line":622},[294,1616,1617],{"class":311},"          customerName: ",[294,1619,1448],{"class":336},[294,1621,1243],{"class":311},[294,1623,1624,1627,1629],{"class":296,"line":629},[294,1625,1626],{"class":311},"          customerEmail: ",[294,1628,1458],{"class":336},[294,1630,1243],{"class":311},[294,1632,1633],{"class":296,"line":636},[294,1634,1550],{"class":311},[294,1636,1637,1640,1643,1646,1648,1650],{"class":296,"line":646},[294,1638,1639],{"class":1112},"        expect",[294,1641,1642],{"class":311},"(response.status).",[294,1644,1645],{"class":1112},"toBe",[294,1647,1270],{"class":311},[294,1649,1525],{"class":336},[294,1651,1652],{"class":311},");\n",[294,1654,1655],{"class":296,"line":651},[294,1656,1657],{"class":311},"      });\n",[294,1659,1660],{"class":296,"line":659},[294,1661,1662],{"class":311},"  });\n",[294,1664,1665],{"class":296,"line":667},[294,1666,1258],{"class":311},[19,1668,1669],{},"The consumer team writes these contract tests. The provider team runs them in their CI pipeline. If a backend change would break a consumer's expectations, the build fails before the change reaches production.",[79,1671,1673],{"id":1672},"api-versioning-strategies","API Versioning Strategies",[19,1675,1676],{},"APIs evolve. Versioning ensures that existing consumers continue to work while new consumers benefit from improvements. There are three common strategies:",[19,1678,1679,1568,1682,1295,1685,1688],{},[23,1680,1681],{},"URL path versioning",[291,1683,1684],{},"/v1/bookings",[291,1686,1687],{},"/v2/bookings","): The simplest and most explicit approach. Easy to route, easy to understand, easy to deprecate. This is what we recommend for most REST APIs.",[19,1690,1691,1568,1694,1697],{},[23,1692,1693],{},"Header versioning",[291,1695,1696],{},"Accept: application/vnd.api.v2+json","): Keeps URLs clean but is harder to discover and test. Better suited for APIs with sophisticated consumers.",[19,1699,1700,1568,1703,1706],{},[23,1701,1702],{},"Query parameter versioning",[291,1704,1705],{},"/bookings?version=2","): Rarely recommended. It conflates versioning with filtering and creates confusing cache behaviour.",[19,1708,1709],{},"Regardless of strategy, follow these rules:",[1711,1712,1713,1716,1719,1722],"ul",{},[50,1714,1715],{},"Never break an existing version without a deprecation period",[50,1717,1718],{},"Version the entire API, not individual endpoints",[50,1720,1721],{},"Provide migration guides for every major version bump",[50,1723,1724],{},"Monitor usage of deprecated versions and communicate sunset timelines",[79,1726,1728],{"id":1727},"rate-limiting-and-security","Rate Limiting and Security",[19,1730,1731],{},"Every production API needs rate limiting and authentication. These are not optional — they are requirements.",[284,1733,1735],{"className":1181,"code":1734,"language":1183,"meta":289,"style":289},"// Rate limiting middleware example (Express/H3)\nimport { createRateLimiter } from './middleware/rate-limiter';\n\nconst apiRateLimiter = createRateLimiter({\n  windowMs: 60 * 1000, // 1 minute\n  maxRequests: 100,     // 100 requests per window\n  keyGenerator: (req) => req.headers['x-api-key'] || req.ip,\n  onLimitReached: (req, res) => {\n    res.status(429).json({\n      error: 'rate_limit_exceeded',\n      message: 'Too many requests. Please retry after the window resets.',\n      retryAfter: res.getHeader('Retry-After'),\n    });\n  },\n});\n",[291,1736,1737,1742,1756,1760,1774,1793,1807,1837,1857,1878,1888,1898,1913,1918,1923],{"__ignoreMap":289},[294,1738,1739],{"class":296,"line":297},[294,1740,1741],{"class":300},"// Rate limiting middleware example (Express/H3)\n",[294,1743,1744,1746,1749,1751,1754],{"class":296,"line":304},[294,1745,1196],{"class":1195},[294,1747,1748],{"class":311}," { createRateLimiter } ",[294,1750,1202],{"class":1195},[294,1752,1753],{"class":336}," './middleware/rate-limiter'",[294,1755,1208],{"class":311},[294,1757,1758],{"class":296,"line":319},[294,1759,366],{"emptyLinePlaceholder":365},[294,1761,1762,1764,1767,1769,1772],{"class":296,"line":328},[294,1763,1217],{"class":1195},[294,1765,1766],{"class":315}," apiRateLimiter",[294,1768,1223],{"class":1195},[294,1770,1771],{"class":1112}," createRateLimiter",[294,1773,1232],{"class":311},[294,1775,1776,1779,1782,1785,1788,1790],{"class":296,"line":340},[294,1777,1778],{"class":311},"  windowMs: ",[294,1780,1781],{"class":315},"60",[294,1783,1784],{"class":1195}," *",[294,1786,1787],{"class":315}," 1000",[294,1789,1295],{"class":311},[294,1791,1792],{"class":300},"// 1 minute\n",[294,1794,1795,1798,1801,1804],{"class":296,"line":351},[294,1796,1797],{"class":311},"  maxRequests: ",[294,1799,1800],{"class":315},"100",[294,1802,1803],{"class":311},",     ",[294,1805,1806],{"class":300},"// 100 requests per window\n",[294,1808,1809,1812,1815,1818,1820,1822,1825,1828,1831,1834],{"class":296,"line":362},[294,1810,1811],{"class":1112},"  keyGenerator",[294,1813,1814],{"class":311},": (",[294,1816,1817],{"class":1376},"req",[294,1819,1380],{"class":311},[294,1821,1279],{"class":1195},[294,1823,1824],{"class":311}," req.headers[",[294,1826,1827],{"class":336},"'x-api-key'",[294,1829,1830],{"class":311},"] ",[294,1832,1833],{"class":1195},"||",[294,1835,1836],{"class":311}," req.ip,\n",[294,1838,1839,1842,1844,1846,1848,1851,1853,1855],{"class":296,"line":369},[294,1840,1841],{"class":1112},"  onLimitReached",[294,1843,1814],{"class":311},[294,1845,1817],{"class":1376},[294,1847,1295],{"class":311},[294,1849,1850],{"class":1376},"res",[294,1852,1380],{"class":311},[294,1854,1279],{"class":1195},[294,1856,1282],{"class":311},[294,1858,1859,1862,1865,1867,1870,1873,1876],{"class":296,"line":377},[294,1860,1861],{"class":311},"    res.",[294,1863,1864],{"class":1112},"status",[294,1866,1270],{"class":311},[294,1868,1869],{"class":315},"429",[294,1871,1872],{"class":311},").",[294,1874,1875],{"class":1112},"json",[294,1877,1232],{"class":311},[294,1879,1880,1883,1886],{"class":296,"line":385},[294,1881,1882],{"class":311},"      error: ",[294,1884,1885],{"class":336},"'rate_limit_exceeded'",[294,1887,1243],{"class":311},[294,1889,1890,1893,1896],{"class":296,"line":393},[294,1891,1892],{"class":311},"      message: ",[294,1894,1895],{"class":336},"'Too many requests. Please retry after the window resets.'",[294,1897,1243],{"class":311},[294,1899,1900,1903,1906,1908,1911],{"class":296,"line":404},[294,1901,1902],{"class":311},"      retryAfter: res.",[294,1904,1905],{"class":1112},"getHeader",[294,1907,1270],{"class":311},[294,1909,1910],{"class":336},"'Retry-After'",[294,1912,1517],{"class":311},[294,1914,1915],{"class":296,"line":415},[294,1916,1917],{"class":311},"    });\n",[294,1919,1920],{"class":296,"line":423},[294,1921,1922],{"class":311},"  },\n",[294,1924,1925],{"class":296,"line":432},[294,1926,1258],{"class":311},[19,1928,1929],{},"For authentication, the choice between API keys, OAuth 2.0, and JWT depends on your consumer types:",[1711,1931,1932,1938,1944],{},[50,1933,1934,1937],{},[23,1935,1936],{},"API keys",": Simple, suitable for server-to-server communication where the consumer is trusted.",[50,1939,1940,1943],{},[23,1941,1942],{},"OAuth 2.0",": Required when third-party applications need delegated access to user data. The authorization code flow with PKCE is the current standard for mobile and web applications.",[50,1945,1946,1949],{},[23,1947,1948],{},"JWT (JSON Web Tokens)",": Efficient for stateless authentication in microservice architectures. Short-lived access tokens with refresh token rotation provide security without constant database lookups.",[1162,1951,1952],{"type":322},[19,1953,1954],{},"API security is not just authentication. It includes input validation, output encoding, CORS configuration, request size limits, and protection against common attacks (injection, BOLA, mass assignment). The OWASP API Security Top 10 is required reading for any team building production APIs.",[14,1956,1958],{"id":1957},"api-documentation-as-a-product","API Documentation as a Product",[19,1960,1961],{},"An API without good documentation is an API nobody will use. Treat your documentation as a product with its own quality standards, user experience, and maintenance schedule.",[79,1963,1965],{"id":1964},"what-great-api-documentation-includes","What Great API Documentation Includes",[1711,1967,1968,1974,1980,1986,1992,1998,2004],{},[50,1969,1970,1973],{},[23,1971,1972],{},"Getting started guide",": A developer should be able to make their first successful API call within 5 minutes of reading your documentation.",[50,1975,1976,1979],{},[23,1977,1978],{},"Authentication guide",": Clear instructions for obtaining and using credentials, with copy-paste examples.",[50,1981,1982,1985],{},[23,1983,1984],{},"Interactive reference",": Every endpoint documented with try-it-out functionality. Tools like Stoplight, Redocly, and Scalar generate these from OpenAPI specifications.",[50,1987,1988,1991],{},[23,1989,1990],{},"Code examples",": In every language your consumers use. At minimum: JavaScript, Python, and cURL.",[50,1993,1994,1997],{},[23,1995,1996],{},"Error reference",": Every possible error code documented with the cause and the recommended resolution.",[50,1999,2000,2003],{},[23,2001,2002],{},"Changelog",": What changed in each version, with migration instructions for breaking changes.",[50,2005,2006,2009],{},[23,2007,2008],{},"SDKs and client libraries",": Auto-generated from your OpenAPI specification and published to npm, PyPI, and other package registries.",[19,2011,2012,2013,2017],{},"For businesses building ",[230,2014,2016],{"href":2015},"/solutions/cloud-native","cloud-native platforms",", a developer portal with interactive API documentation is not a nice-to-have — it is a competitive advantage. Partners and developers choose platforms that are easy to integrate with.",[14,2019,2021],{"id":2020},"common-mistakes-to-avoid","Common Mistakes to Avoid",[19,2023,2024],{},"After designing and reviewing dozens of APIs, we see the same mistakes repeatedly. Here are the most damaging ones.",[79,2026,2028],{"id":2027},"designing-apis-around-database-schemas","Designing APIs Around Database Schemas",[19,2030,2031],{},"Your API should model your business domain, not your database tables. If your API response mirrors a database JOIN with nested foreign keys and auto-increment IDs, you have coupled your public interface to your internal implementation. Every database migration becomes a potential breaking API change.",[79,2033,2035],{"id":2034},"inconsistent-naming-conventions","Inconsistent Naming Conventions",[19,2037,2038,2039,2042,2043,2046,2047,2050],{},"Pick a convention and enforce it everywhere. If you use ",[291,2040,2041],{},"camelCase"," for property names, use it consistently across every endpoint. If you use plural nouns for collection resources (",[291,2044,2045],{},"/bookings",", not ",[291,2048,2049],{},"/booking","), do not suddenly switch to singular elsewhere. Inconsistency forces consumers to guess, which means bugs.",[79,2052,2054],{"id":2053},"missing-pagination","Missing Pagination",[19,2056,2057],{},"Any endpoint that returns a list will eventually return a list too large to process in a single response. Design pagination into your list endpoints from day one — even if your current dataset is small.",[284,2059,2061],{"className":1181,"code":2060,"language":1183,"meta":289,"style":289},"// Cursor-based pagination response\ninterface PaginatedResponse\u003CT> {\n  data: T[];\n  pagination: {\n    cursor: string | null;\n    hasMore: boolean;\n    totalCount: number;\n  };\n}\n\n// Usage: GET /bookings?cursor=abc123&limit=25\n",[291,2062,2063,2068,2085,2099,2108,2126,2138,2150,2155,2160,2164],{"__ignoreMap":289},[294,2064,2065],{"class":296,"line":297},[294,2066,2067],{"class":300},"// Cursor-based pagination response\n",[294,2069,2070,2073,2076,2079,2082],{"class":296,"line":304},[294,2071,2072],{"class":1195},"interface",[294,2074,2075],{"class":1112}," PaginatedResponse",[294,2077,2078],{"class":311},"\u003C",[294,2080,2081],{"class":1112},"T",[294,2083,2084],{"class":311},"> {\n",[294,2086,2087,2090,2093,2096],{"class":296,"line":319},[294,2088,2089],{"class":1376},"  data",[294,2091,2092],{"class":1195},":",[294,2094,2095],{"class":1112}," T",[294,2097,2098],{"class":311},"[];\n",[294,2100,2101,2104,2106],{"class":296,"line":328},[294,2102,2103],{"class":1376},"  pagination",[294,2105,2092],{"class":1195},[294,2107,1282],{"class":311},[294,2109,2110,2113,2115,2118,2121,2124],{"class":296,"line":340},[294,2111,2112],{"class":1376},"    cursor",[294,2114,2092],{"class":1195},[294,2116,2117],{"class":315}," string",[294,2119,2120],{"class":1195}," |",[294,2122,2123],{"class":315}," null",[294,2125,1208],{"class":311},[294,2127,2128,2131,2133,2136],{"class":296,"line":351},[294,2129,2130],{"class":1376},"    hasMore",[294,2132,2092],{"class":1195},[294,2134,2135],{"class":315}," boolean",[294,2137,1208],{"class":311},[294,2139,2140,2143,2145,2148],{"class":296,"line":362},[294,2141,2142],{"class":1376},"    totalCount",[294,2144,2092],{"class":1195},[294,2146,2147],{"class":315}," number",[294,2149,1208],{"class":311},[294,2151,2152],{"class":296,"line":369},[294,2153,2154],{"class":311},"  };\n",[294,2156,2157],{"class":296,"line":377},[294,2158,2159],{"class":311},"}\n",[294,2161,2162],{"class":296,"line":385},[294,2163,366],{"emptyLinePlaceholder":365},[294,2165,2166],{"class":296,"line":393},[294,2167,2168],{"class":300},"// Usage: GET /bookings?cursor=abc123&limit=25\n",[19,2170,2171],{},"Cursor-based pagination is preferred over offset-based for production APIs. It handles insertions and deletions gracefully and performs better on large datasets.",[79,2173,2175],{"id":2174},"breaking-changes-without-versioning","Breaking Changes Without Versioning",[19,2177,2178,2179,2183],{},"Adding a new optional field to a response is not a breaking change. Removing a field, changing a field's type, or altering error response formats ",[2180,2181,2182],"em",{},"are"," breaking changes. If you do not version your API, every breaking change becomes an incident for every consumer simultaneously.",[79,2185,2187],{"id":2186},"ignoring-error-design","Ignoring Error Design",[19,2189,2190,2191,2194],{},"Generic ",[291,2192,2193],{},"500 Internal Server Error"," responses are not acceptable. Every error should include a machine-readable error code, a human-readable message, and enough context for the consumer to take corrective action.",[284,2196,2199],{"className":2197,"code":2198,"language":1875,"meta":289,"style":289},"language-json shiki shiki-themes github-light github-dark","{\n  \"error\": {\n    \"code\": \"BOOKING_SLOT_UNAVAILABLE\",\n    \"message\": \"The requested time slot is no longer available.\",\n    \"details\": {\n      \"requestedDateTime\": \"2026-02-17T14:30:00Z\",\n      \"nextAvailableSlots\": [\n        \"2026-02-17T15:00:00Z\",\n        \"2026-02-17T16:30:00Z\",\n        \"2026-02-18T09:00:00Z\"\n      ]\n    }\n  }\n}\n",[291,2200,2201,2206,2214,2226,2238,2245,2257,2265,2272,2279,2284,2289,2294,2299],{"__ignoreMap":289},[294,2202,2203],{"class":296,"line":297},[294,2204,2205],{"class":311},"{\n",[294,2207,2208,2211],{"class":296,"line":304},[294,2209,2210],{"class":315},"  \"error\"",[294,2212,2213],{"class":311},": {\n",[294,2215,2216,2219,2221,2224],{"class":296,"line":319},[294,2217,2218],{"class":315},"    \"code\"",[294,2220,312],{"class":311},[294,2222,2223],{"class":336},"\"BOOKING_SLOT_UNAVAILABLE\"",[294,2225,1243],{"class":311},[294,2227,2228,2231,2233,2236],{"class":296,"line":328},[294,2229,2230],{"class":315},"    \"message\"",[294,2232,312],{"class":311},[294,2234,2235],{"class":336},"\"The requested time slot is no longer available.\"",[294,2237,1243],{"class":311},[294,2239,2240,2243],{"class":296,"line":340},[294,2241,2242],{"class":315},"    \"details\"",[294,2244,2213],{"class":311},[294,2246,2247,2250,2252,2255],{"class":296,"line":351},[294,2248,2249],{"class":315},"      \"requestedDateTime\"",[294,2251,312],{"class":311},[294,2253,2254],{"class":336},"\"2026-02-17T14:30:00Z\"",[294,2256,1243],{"class":311},[294,2258,2259,2262],{"class":296,"line":362},[294,2260,2261],{"class":315},"      \"nextAvailableSlots\"",[294,2263,2264],{"class":311},": [\n",[294,2266,2267,2270],{"class":296,"line":369},[294,2268,2269],{"class":336},"        \"2026-02-17T15:00:00Z\"",[294,2271,1243],{"class":311},[294,2273,2274,2277],{"class":296,"line":377},[294,2275,2276],{"class":336},"        \"2026-02-17T16:30:00Z\"",[294,2278,1243],{"class":311},[294,2280,2281],{"class":296,"line":385},[294,2282,2283],{"class":336},"        \"2026-02-18T09:00:00Z\"\n",[294,2285,2286],{"class":296,"line":393},[294,2287,2288],{"class":311},"      ]\n",[294,2290,2291],{"class":296,"line":404},[294,2292,2293],{"class":311},"    }\n",[294,2295,2296],{"class":296,"line":415},[294,2297,2298],{"class":311},"  }\n",[294,2300,2301],{"class":296,"line":423},[294,2302,2159],{"class":311},[19,2304,2305],{},"This error response tells the consumer exactly what went wrong and what to do next. It transforms an error from a dead end into a continuation of the user flow.",[14,2307,2309],{"id":2308},"getting-started-with-api-first","Getting Started with API-First",[19,2311,2312],{},"If your organisation currently follows a code-first approach, transitioning to API-first does not require a big-bang migration. Start with your next new service or feature:",[47,2314,2315,2321,2327,2333,2339],{},[50,2316,2317,2320],{},[23,2318,2319],{},"Write the OpenAPI specification first."," Before any implementation code. Share it with all stakeholders for review.",[50,2322,2323,2326],{},[23,2324,2325],{},"Generate mock servers."," Let frontend and mobile teams start building immediately.",[50,2328,2329,2332],{},[23,2330,2331],{},"Implement the backend against the specification."," The spec is the acceptance criteria.",[50,2334,2335,2338],{},[23,2336,2337],{},"Add contract tests to your CI pipeline."," Catch specification drift automatically.",[50,2340,2341,2344],{},[23,2342,2343],{},"Publish interactive documentation."," Make it easy for everyone to understand and use the API.",[19,2346,2347],{},"Once your team experiences the speed and reliability of API-first development on one project, the approach tends to spread organically. Teams that have worked this way rarely want to go back.",[19,2349,2350,2351,2355],{},"For organisations with existing APIs that need restructuring, a ",[230,2352,2354],{"href":2353},"/solutions/web-development","web development engagement"," can help you introduce API-first practices incrementally — redesigning your most critical APIs first and building the tooling and workflows that make the approach sustainable.",[2357,2358],"hr",{},[19,2360,2361],{},[2180,2362,2363,2364,2368],{},"Need to design or rebuild your API layer? ",[230,2365,2367],{"href":2366},"/contact","Talk to our integration engineering team"," about building APIs that scale with your business.",[2370,2371,2372],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":289,"searchDepth":304,"depth":304,"links":2374},[2375,2376,2377,2382,2388,2395,2398,2405],{"id":16,"depth":304,"text":17},{"id":38,"depth":304,"text":39},{"id":73,"depth":304,"text":74,"children":2378},[2379,2380,2381],{"id":81,"depth":319,"text":82},{"id":97,"depth":319,"text":98},{"id":111,"depth":319,"text":112},{"id":214,"depth":304,"text":215,"children":2383},[2384,2385,2386,2387],{"id":221,"depth":319,"text":222},{"id":237,"depth":319,"text":238},{"id":244,"depth":319,"text":245},{"id":264,"depth":319,"text":265},{"id":271,"depth":304,"text":272,"children":2389},[2390,2391,2392,2393,2394],{"id":278,"depth":319,"text":279},{"id":1091,"depth":319,"text":1092},{"id":1174,"depth":319,"text":1175},{"id":1672,"depth":319,"text":1673},{"id":1727,"depth":319,"text":1728},{"id":1957,"depth":304,"text":1958,"children":2396},[2397],{"id":1964,"depth":319,"text":1965},{"id":2020,"depth":304,"text":2021,"children":2399},[2400,2401,2402,2403,2404],{"id":2027,"depth":319,"text":2028},{"id":2034,"depth":319,"text":2035},{"id":2053,"depth":319,"text":2054},{"id":2174,"depth":319,"text":2175},{"id":2186,"depth":319,"text":2187},{"id":2308,"depth":304,"text":2309},"Engineering",null,"2026-02-10","API-first development is reshaping how companies build software. Learn the principles, benefits, and implementation patterns behind this modern approach.","md",false,{},"/blog/api-first-approach-guide","9 min read",{"title":6,"description":2409},"blog/api-first-approach-guide",[2418,141,2419,2420],"API Development","Microservices","Integration","-bqCOEq9ROQy5sCtOFK8kGYzyEJA6yDyJnG38FiWNH4",{"id":2423,"title":2424,"author":2425,"body":2428,"category":3613,"coverImage":2407,"date":3614,"description":3615,"extension":2410,"featured":365,"meta":3616,"navigation":365,"path":3617,"readingTime":3618,"seo":3619,"stem":3620,"tags":3621,"__hash__":3625},"blog/blog/building-connekz-ai-agent.md","Inside Connekz: How We Built an AI Agent That Books, Sells, and Supports",{"name":2426,"role":2427},"Amaya Perera","Head of AI & Machine Learning",{"type":11,"value":2429,"toc":3587},[2430,2434,2440,2443,2448,2452,2455,2459,2462,2466,2469,2473,2476,2479,2483,2486,2489,2515,2837,2842,2846,2849,2852,2856,2859,2863,2866,3177,3181,3184,3187,3252,3255,3260,3264,3267,3271,3274,3278,3285,3289,3292,3296,3299,3325,3329,3332,3335,3355,3358,3362,3365,3368,3382,3385,3389,3392,3424,3427,3431,3434,3517,3524,3533,3537,3540,3570,3573,3575,3584],[14,2431,2433],{"id":2432},"why-we-built-connekz","Why We Built Connekz",[19,2435,2436,2437,2439],{},"Most businesses cannot afford a 24/7 sales and support team, yet their customers expect instant, intelligent responses at any hour. ",[23,2438,252],{}," is the AI agent platform we built to bridge that gap — a system that does not just answer questions, but takes real-world actions: booking appointments, checking availability, processing orders, and updating CRM records, all through natural conversation.",[19,2441,2442],{},"This is the story of how we designed, built, and scaled Connekz from an internal prototype to a production platform serving businesses across New Zealand and beyond. We will cover the architecture decisions, the hard engineering problems, and the lessons we learned shipping AI agents into high-stakes customer-facing environments.",[31,2444,2445],{},[19,2446,2447],{},"Building an AI chatbot is easy. Building an AI agent that businesses trust with their customers and revenue is a fundamentally different problem.",[14,2449,2451],{"id":2450},"the-problem-we-set-out-to-solve","The Problem We Set Out to Solve",[19,2453,2454],{},"Before building Connekz, we spent months interviewing business owners across industries — healthcare clinics, trade services, hospitality, professional services. Three problems appeared consistently.",[79,2456,2458],{"id":2457},"lost-leads-outside-business-hours","Lost leads outside business hours",[19,2460,2461],{},"A physiotherapy clinic we worked with tracked their missed calls. Forty-two percent of new patient enquiries came outside business hours. Every one of those was a potential booking lost to a competitor who answered the phone. Multiplied across hundreds of businesses, the scale of lost revenue was staggering.",[79,2463,2465],{"id":2464},"overwhelmed-support-teams","Overwhelmed support teams",[19,2467,2468],{},"A mid-sized e-commerce company had three customer support staff handling 200+ daily enquiries. Seventy percent of those enquiries were repetitive — order status checks, return policy questions, product availability. The team spent most of their day answering the same questions, leaving complex issues waiting in queue.",[79,2470,2472],{"id":2471},"inconsistent-customer-experiences","Inconsistent customer experiences",[19,2474,2475],{},"When a business operates across multiple channels — phone, email, website chat, social media — customers receive different levels of service depending on which channel they use and which team member responds. Tone, accuracy, and response time vary wildly. There is no single source of truth for how the business should communicate.",[19,2477,2478],{},"Connekz was designed to solve all three problems simultaneously. Not by replacing human teams, but by handling the predictable, repetitive interactions so that human staff can focus on the complex, high-value conversations where they make the biggest difference.",[79,2480,2482],{"id":2481},"rag-pipeline-for-business-specific-knowledge","RAG Pipeline for Business-Specific Knowledge",[19,2484,2485],{},"Every business that deploys Connekz has unique products, services, policies, and terminology. We use Retrieval-Augmented Generation (RAG) to ground the AI agent in business-specific knowledge without fine-tuning a model for each customer.",[19,2487,2488],{},"The RAG pipeline works as follows:",[47,2490,2491,2497,2503,2509],{},[50,2492,2493,2496],{},[23,2494,2495],{},"Ingestion",": Business documents — product catalogues, service descriptions, FAQs, policies, pricing — are processed, chunked, and embedded into a vector database.",[50,2498,2499,2502],{},[23,2500,2501],{},"Retrieval",": When a customer asks a question, the system retrieves the most relevant document chunks based on semantic similarity.",[50,2504,2505,2508],{},[23,2506,2507],{},"Augmented generation",": Retrieved context is injected into the model's prompt alongside the conversation history, grounding the response in verified business information.",[50,2510,2511,2514],{},[23,2512,2513],{},"Citation tracking",": Every factual claim in a response is linked back to its source document, enabling audit trails and accuracy verification.",[284,2516,2518],{"className":1181,"code":2517,"language":1183,"meta":289,"style":289},"// Simplified RAG retrieval pipeline\ninterface RetrievedChunk {\n  content: string;\n  source: string;\n  relevanceScore: number;\n  metadata: Record\u003Cstring, unknown>;\n}\n\nasync function retrieveContext(\n  query: string,\n  businessId: string,\n  topK: number = 5,\n): Promise\u003CRetrievedChunk[]> {\n  const embedding = await embedQuery(query);\n\n  const results = await vectorDb.search({\n    collection: `business_${businessId}`,\n    vector: embedding,\n    topK,\n    filter: { active: true },\n  });\n\n  return results\n    .filter((r) => r.relevanceScore > 0.75)\n    .map((r) => ({\n      content: r.payload.content,\n      source: r.payload.source,\n      relevanceScore: r.score,\n      metadata: r.payload.metadata,\n    }));\n}\n",[291,2519,2520,2525,2534,2545,2556,2567,2590,2594,2598,2611,2622,2633,2649,2667,2685,2689,2708,2724,2729,2734,2745,2749,2753,2761,2790,2808,2813,2818,2823,2828,2833],{"__ignoreMap":289},[294,2521,2522],{"class":296,"line":297},[294,2523,2524],{"class":300},"// Simplified RAG retrieval pipeline\n",[294,2526,2527,2529,2532],{"class":296,"line":304},[294,2528,2072],{"class":1195},[294,2530,2531],{"class":1112}," RetrievedChunk",[294,2533,1282],{"class":311},[294,2535,2536,2539,2541,2543],{"class":296,"line":319},[294,2537,2538],{"class":1376},"  content",[294,2540,2092],{"class":1195},[294,2542,2117],{"class":315},[294,2544,1208],{"class":311},[294,2546,2547,2550,2552,2554],{"class":296,"line":328},[294,2548,2549],{"class":1376},"  source",[294,2551,2092],{"class":1195},[294,2553,2117],{"class":315},[294,2555,1208],{"class":311},[294,2557,2558,2561,2563,2565],{"class":296,"line":340},[294,2559,2560],{"class":1376},"  relevanceScore",[294,2562,2092],{"class":1195},[294,2564,2147],{"class":315},[294,2566,1208],{"class":311},[294,2568,2569,2572,2574,2577,2579,2582,2584,2587],{"class":296,"line":351},[294,2570,2571],{"class":1376},"  metadata",[294,2573,2092],{"class":1195},[294,2575,2576],{"class":1112}," Record",[294,2578,2078],{"class":311},[294,2580,2581],{"class":315},"string",[294,2583,1295],{"class":311},[294,2585,2586],{"class":315},"unknown",[294,2588,2589],{"class":311},">;\n",[294,2591,2592],{"class":296,"line":362},[294,2593,2159],{"class":311},[294,2595,2596],{"class":296,"line":369},[294,2597,366],{"emptyLinePlaceholder":365},[294,2599,2600,2602,2605,2608],{"class":296,"line":377},[294,2601,1298],{"class":1195},[294,2603,2604],{"class":1195}," function",[294,2606,2607],{"class":1112}," retrieveContext",[294,2609,2610],{"class":311},"(\n",[294,2612,2613,2616,2618,2620],{"class":296,"line":385},[294,2614,2615],{"class":1376},"  query",[294,2617,2092],{"class":1195},[294,2619,2117],{"class":315},[294,2621,1243],{"class":311},[294,2623,2624,2627,2629,2631],{"class":296,"line":393},[294,2625,2626],{"class":1376},"  businessId",[294,2628,2092],{"class":1195},[294,2630,2117],{"class":315},[294,2632,1243],{"class":311},[294,2634,2635,2638,2640,2642,2644,2647],{"class":296,"line":404},[294,2636,2637],{"class":1376},"  topK",[294,2639,2092],{"class":1195},[294,2641,2147],{"class":315},[294,2643,1223],{"class":1195},[294,2645,2646],{"class":315}," 5",[294,2648,1243],{"class":311},[294,2650,2651,2654,2656,2659,2661,2664],{"class":296,"line":415},[294,2652,2653],{"class":311},")",[294,2655,2092],{"class":1195},[294,2657,2658],{"class":1112}," Promise",[294,2660,2078],{"class":311},[294,2662,2663],{"class":1112},"RetrievedChunk",[294,2665,2666],{"class":311},"[]> {\n",[294,2668,2669,2672,2675,2677,2679,2682],{"class":296,"line":423},[294,2670,2671],{"class":1195},"  const",[294,2673,2674],{"class":315}," embedding",[294,2676,1223],{"class":1195},[294,2678,1590],{"class":1195},[294,2680,2681],{"class":1112}," embedQuery",[294,2683,2684],{"class":311},"(query);\n",[294,2686,2687],{"class":296,"line":432},[294,2688,366],{"emptyLinePlaceholder":365},[294,2690,2691,2693,2696,2698,2700,2703,2706],{"class":296,"line":440},[294,2692,2671],{"class":1195},[294,2694,2695],{"class":315}," results",[294,2697,1223],{"class":1195},[294,2699,1590],{"class":1195},[294,2701,2702],{"class":311}," vectorDb.",[294,2704,2705],{"class":1112},"search",[294,2707,1232],{"class":311},[294,2709,2710,2713,2716,2719,2722],{"class":296,"line":451},[294,2711,2712],{"class":311},"    collection: ",[294,2714,2715],{"class":336},"`business_${",[294,2717,2718],{"class":311},"businessId",[294,2720,2721],{"class":336},"}`",[294,2723,1243],{"class":311},[294,2725,2726],{"class":296,"line":459},[294,2727,2728],{"class":311},"    vector: embedding,\n",[294,2730,2731],{"class":296,"line":467},[294,2732,2733],{"class":311},"    topK,\n",[294,2735,2736,2739,2742],{"class":296,"line":475},[294,2737,2738],{"class":311},"    filter: { active: ",[294,2740,2741],{"class":315},"true",[294,2743,2744],{"class":311}," },\n",[294,2746,2747],{"class":296,"line":486},[294,2748,1662],{"class":311},[294,2750,2751],{"class":296,"line":494},[294,2752,366],{"emptyLinePlaceholder":365},[294,2754,2755,2758],{"class":296,"line":502},[294,2756,2757],{"class":1195},"  return",[294,2759,2760],{"class":311}," results\n",[294,2762,2763,2766,2769,2772,2775,2777,2779,2782,2785,2788],{"class":296,"line":513},[294,2764,2765],{"class":311},"    .",[294,2767,2768],{"class":1112},"filter",[294,2770,2771],{"class":311},"((",[294,2773,2774],{"class":1376},"r",[294,2776,1380],{"class":311},[294,2778,1279],{"class":1195},[294,2780,2781],{"class":311}," r.relevanceScore ",[294,2783,2784],{"class":1195},">",[294,2786,2787],{"class":315}," 0.75",[294,2789,1339],{"class":311},[294,2791,2792,2794,2797,2799,2801,2803,2805],{"class":296,"line":521},[294,2793,2765],{"class":311},[294,2795,2796],{"class":1112},"map",[294,2798,2771],{"class":311},[294,2800,2774],{"class":1376},[294,2802,1380],{"class":311},[294,2804,1279],{"class":1195},[294,2806,2807],{"class":311}," ({\n",[294,2809,2810],{"class":296,"line":529},[294,2811,2812],{"class":311},"      content: r.payload.content,\n",[294,2814,2815],{"class":296,"line":537},[294,2816,2817],{"class":311},"      source: r.payload.source,\n",[294,2819,2820],{"class":296,"line":548},[294,2821,2822],{"class":311},"      relevanceScore: r.score,\n",[294,2824,2825],{"class":296,"line":556},[294,2826,2827],{"class":311},"      metadata: r.payload.metadata,\n",[294,2829,2830],{"class":296,"line":566},[294,2831,2832],{"class":311},"    }));\n",[294,2834,2835],{"class":296,"line":573},[294,2836,2159],{"class":311},[1162,2838,2839],{"type":322},[19,2840,2841],{},"RAG is not a magic bullet. The quality of retrieved context depends entirely on the quality of the source documents. We invest significant effort in helping clients structure and clean their knowledge base before deployment.",[79,2843,2845],{"id":2844},"voice-and-text-modes","Voice and Text Modes",[19,2847,2848],{},"Connekz operates in both text and voice modes. Text mode powers web chat widgets, WhatsApp integrations, and SMS interactions. Voice mode handles phone calls through real-time speech-to-text, agent processing, and text-to-speech.",[19,2850,2851],{},"Voice introduces additional engineering challenges: turn-taking (knowing when the caller has finished speaking), barge-in handling (the caller interrupts the agent mid-response), and latency requirements (voice conversations feel unnatural if response time exceeds 1.5 seconds).",[14,2853,2855],{"id":2854},"the-tool-calling-system-how-connekz-takes-action","The Tool-Calling System: How Connekz Takes Action",[19,2857,2858],{},"The defining feature that separates Connekz from a standard chatbot is its ability to take real-world actions. When a customer says \"I'd like to book an appointment for next Tuesday,\" Connekz does not just acknowledge the request — it checks the calendar, finds available slots, and creates the booking.",[79,2860,2862],{"id":2861},"how-tool-calling-works","How Tool Calling Works",[19,2864,2865],{},"The AI model is provided with a set of function definitions describing the actions it can take. Each function definition includes a name, description, and a parameter schema. When the model determines that an action is needed, it generates a structured tool call rather than a text response.",[284,2867,2869],{"className":1181,"code":2868,"language":1183,"meta":289,"style":289},"// Tool definition for appointment booking\nconst bookAppointmentTool = {\n  name: 'book_appointment',\n  description:\n    'Books an appointment for a customer. Use this when the customer wants to schedule a visit, consultation, or service.',\n  parameters: {\n    type: 'object',\n    properties: {\n      service_type: {\n        type: 'string',\n        description: 'The type of service requested',\n        enum: ['consultation', 'follow-up', 'initial-assessment', 'treatment'],\n      },\n      preferred_date: {\n        type: 'string',\n        format: 'date',\n        description: 'The customer preferred date (ISO 8601)',\n      },\n      preferred_time_range: {\n        type: 'string',\n        enum: ['morning', 'afternoon', 'evening'],\n        description: 'Preferred time of day',\n      },\n      customer_name: {\n        type: 'string',\n        description: 'Full name of the customer',\n      },\n      customer_phone: {\n        type: 'string',\n        description: 'Contact phone number',\n      },\n      notes: {\n        type: 'string',\n        description: 'Any additional notes or requirements',\n      },\n    },\n    required: ['service_type', 'preferred_date', 'customer_name'],\n  },\n};\n",[291,2870,2871,2876,2887,2897,2902,2909,2914,2924,2929,2934,2944,2954,2979,2984,2989,2997,3007,3016,3020,3025,3033,3052,3061,3065,3070,3078,3087,3091,3096,3104,3113,3117,3122,3130,3139,3143,3148,3168,3172],{"__ignoreMap":289},[294,2872,2873],{"class":296,"line":297},[294,2874,2875],{"class":300},"// Tool definition for appointment booking\n",[294,2877,2878,2880,2883,2885],{"class":296,"line":304},[294,2879,1217],{"class":1195},[294,2881,2882],{"class":315}," bookAppointmentTool",[294,2884,1223],{"class":1195},[294,2886,1282],{"class":311},[294,2888,2889,2892,2895],{"class":296,"line":319},[294,2890,2891],{"class":311},"  name: ",[294,2893,2894],{"class":336},"'book_appointment'",[294,2896,1243],{"class":311},[294,2898,2899],{"class":296,"line":328},[294,2900,2901],{"class":311},"  description:\n",[294,2903,2904,2907],{"class":296,"line":340},[294,2905,2906],{"class":336},"    'Books an appointment for a customer. Use this when the customer wants to schedule a visit, consultation, or service.'",[294,2908,1243],{"class":311},[294,2910,2911],{"class":296,"line":351},[294,2912,2913],{"class":311},"  parameters: {\n",[294,2915,2916,2919,2922],{"class":296,"line":362},[294,2917,2918],{"class":311},"    type: ",[294,2920,2921],{"class":336},"'object'",[294,2923,1243],{"class":311},[294,2925,2926],{"class":296,"line":369},[294,2927,2928],{"class":311},"    properties: {\n",[294,2930,2931],{"class":296,"line":377},[294,2932,2933],{"class":311},"      service_type: {\n",[294,2935,2936,2939,2942],{"class":296,"line":385},[294,2937,2938],{"class":311},"        type: ",[294,2940,2941],{"class":336},"'string'",[294,2943,1243],{"class":311},[294,2945,2946,2949,2952],{"class":296,"line":393},[294,2947,2948],{"class":311},"        description: ",[294,2950,2951],{"class":336},"'The type of service requested'",[294,2953,1243],{"class":311},[294,2955,2956,2959,2961,2963,2966,2968,2971,2973,2976],{"class":296,"line":404},[294,2957,2958],{"class":311},"        enum: [",[294,2960,1428],{"class":336},[294,2962,1295],{"class":311},[294,2964,2965],{"class":336},"'follow-up'",[294,2967,1295],{"class":311},[294,2969,2970],{"class":336},"'initial-assessment'",[294,2972,1295],{"class":311},[294,2974,2975],{"class":336},"'treatment'",[294,2977,2978],{"class":311},"],\n",[294,2980,2981],{"class":296,"line":415},[294,2982,2983],{"class":311},"      },\n",[294,2985,2986],{"class":296,"line":423},[294,2987,2988],{"class":311},"      preferred_date: {\n",[294,2990,2991,2993,2995],{"class":296,"line":432},[294,2992,2938],{"class":311},[294,2994,2941],{"class":336},[294,2996,1243],{"class":311},[294,2998,2999,3002,3005],{"class":296,"line":440},[294,3000,3001],{"class":311},"        format: ",[294,3003,3004],{"class":336},"'date'",[294,3006,1243],{"class":311},[294,3008,3009,3011,3014],{"class":296,"line":451},[294,3010,2948],{"class":311},[294,3012,3013],{"class":336},"'The customer preferred date (ISO 8601)'",[294,3015,1243],{"class":311},[294,3017,3018],{"class":296,"line":459},[294,3019,2983],{"class":311},[294,3021,3022],{"class":296,"line":467},[294,3023,3024],{"class":311},"      preferred_time_range: {\n",[294,3026,3027,3029,3031],{"class":296,"line":475},[294,3028,2938],{"class":311},[294,3030,2941],{"class":336},[294,3032,1243],{"class":311},[294,3034,3035,3037,3040,3042,3045,3047,3050],{"class":296,"line":486},[294,3036,2958],{"class":311},[294,3038,3039],{"class":336},"'morning'",[294,3041,1295],{"class":311},[294,3043,3044],{"class":336},"'afternoon'",[294,3046,1295],{"class":311},[294,3048,3049],{"class":336},"'evening'",[294,3051,2978],{"class":311},[294,3053,3054,3056,3059],{"class":296,"line":494},[294,3055,2948],{"class":311},[294,3057,3058],{"class":336},"'Preferred time of day'",[294,3060,1243],{"class":311},[294,3062,3063],{"class":296,"line":502},[294,3064,2983],{"class":311},[294,3066,3067],{"class":296,"line":513},[294,3068,3069],{"class":311},"      customer_name: {\n",[294,3071,3072,3074,3076],{"class":296,"line":521},[294,3073,2938],{"class":311},[294,3075,2941],{"class":336},[294,3077,1243],{"class":311},[294,3079,3080,3082,3085],{"class":296,"line":529},[294,3081,2948],{"class":311},[294,3083,3084],{"class":336},"'Full name of the customer'",[294,3086,1243],{"class":311},[294,3088,3089],{"class":296,"line":537},[294,3090,2983],{"class":311},[294,3092,3093],{"class":296,"line":548},[294,3094,3095],{"class":311},"      customer_phone: {\n",[294,3097,3098,3100,3102],{"class":296,"line":556},[294,3099,2938],{"class":311},[294,3101,2941],{"class":336},[294,3103,1243],{"class":311},[294,3105,3106,3108,3111],{"class":296,"line":566},[294,3107,2948],{"class":311},[294,3109,3110],{"class":336},"'Contact phone number'",[294,3112,1243],{"class":311},[294,3114,3115],{"class":296,"line":573},[294,3116,2983],{"class":311},[294,3118,3119],{"class":296,"line":580},[294,3120,3121],{"class":311},"      notes: {\n",[294,3123,3124,3126,3128],{"class":296,"line":587},[294,3125,2938],{"class":311},[294,3127,2941],{"class":336},[294,3129,1243],{"class":311},[294,3131,3132,3134,3137],{"class":296,"line":597},[294,3133,2948],{"class":311},[294,3135,3136],{"class":336},"'Any additional notes or requirements'",[294,3138,1243],{"class":311},[294,3140,3141],{"class":296,"line":605},[294,3142,2983],{"class":311},[294,3144,3145],{"class":296,"line":615},[294,3146,3147],{"class":311},"    },\n",[294,3149,3150,3153,3156,3158,3161,3163,3166],{"class":296,"line":622},[294,3151,3152],{"class":311},"    required: [",[294,3154,3155],{"class":336},"'service_type'",[294,3157,1295],{"class":311},[294,3159,3160],{"class":336},"'preferred_date'",[294,3162,1295],{"class":311},[294,3164,3165],{"class":336},"'customer_name'",[294,3167,2978],{"class":311},[294,3169,3170],{"class":296,"line":629},[294,3171,1922],{"class":311},[294,3173,3174],{"class":296,"line":636},[294,3175,3176],{"class":311},"};\n",[79,3178,3180],{"id":3179},"safety-guardrails-and-confirmation-flows","Safety Guardrails and Confirmation Flows",[19,3182,3183],{},"Tool calls that modify data or create commitments always pass through a confirmation flow. The agent presents the proposed action to the customer and waits for explicit confirmation before executing.",[19,3185,3186],{},"For example, a booking flow looks like this:",[47,3188,3189,3195,3204,3210,3215,3220,3225,3230,3235,3240,3247],{},[50,3190,3191,3194],{},[23,3192,3193],{},"Customer",": \"I'd like to book a consultation for next Tuesday afternoon.\"",[50,3196,3197,3200,3201],{},[23,3198,3199],{},"Agent"," (internal): Calls ",[291,3202,3203],{},"check_availability({ date: '2026-02-17', time_range: 'afternoon' })",[50,3205,3206,3209],{},[23,3207,3208],{},"System",": Returns available slots: 1:00 PM, 2:30 PM, 4:00 PM",[50,3211,3212,3214],{},[23,3213,3199],{},": \"I have three afternoon slots available on Tuesday the 17th: 1:00 PM, 2:30 PM, and 4:00 PM. Which works best for you?\"",[50,3216,3217,3219],{},[23,3218,3193],{},": \"2:30 works.\"",[50,3221,3222,3224],{},[23,3223,3199],{},": \"I'll book you in for a consultation at 2:30 PM on Tuesday 17 February. Could I get your full name and a contact number?\"",[50,3226,3227,3229],{},[23,3228,3193],{},": \"Sarah Chen, 021 555 0123.\"",[50,3231,3232,3234],{},[23,3233,3199],{},": \"To confirm: a consultation for Sarah Chen at 2:30 PM on Tuesday 17 February. I'll send a confirmation to 021 555 0123. Shall I go ahead?\"",[50,3236,3237,3239],{},[23,3238,3193],{},": \"Yes please.\"",[50,3241,3242,3200,3244],{},[23,3243,3199],{},[291,3245,3246],{},"book_appointment({ service_type: 'consultation', preferred_date: '2026-02-17', preferred_time_range: 'afternoon', customer_name: 'Sarah Chen', customer_phone: '021 555 0123' })",[50,3248,3249,3251],{},[23,3250,3199],{},": \"You're all booked in. You'll receive a confirmation text shortly. Is there anything else I can help with?\"",[19,3253,3254],{},"The confirmation step is non-negotiable. The agent never creates a booking, processes a payment, or modifies a record without explicit customer approval.",[1162,3256,3257],{"type":1164},[19,3258,3259],{},"Designing confirmation flows is as important as designing the AI model itself. A single incorrect booking damages trust far more than a slow response time. We err heavily on the side of confirming before acting.",[14,3261,3263],{"id":3262},"multi-platform-deployment","Multi-Platform Deployment",[19,3265,3266],{},"Connekz deploys wherever your customers are. Each deployment mode is optimised for its platform while sharing the same core intelligence.",[79,3268,3270],{"id":3269},"web-widget","Web Widget",[19,3272,3273],{},"A lightweight JavaScript widget that embeds in any website. It loads asynchronously (under 30KB initial payload), supports custom theming to match your brand, and works across all modern browsers. The widget communicates with the Connekz backend via WebSocket for real-time conversation.",[79,3275,3277],{"id":3276},"inline-chat","Inline Chat",[19,3279,3280,3281,3284],{},"For businesses that want the AI agent integrated directly into their ",[230,3282,3283],{"href":2353},"website pages"," rather than as a floating widget. The inline mode renders within a designated container element and can be styled to look like a native part of the page.",[14,3286,3288],{"id":3287},"what-we-learned-building-production-ai-agents","What We Learned Building Production AI Agents",[19,3290,3291],{},"Shipping AI agents into production customer-facing environments taught us lessons that no research paper or demo could.",[79,3293,3295],{"id":3294},"hallucination-mitigation-is-an-engineering-problem","Hallucination Mitigation Is an Engineering Problem",[19,3297,3298],{},"LLMs hallucinate. This is a fundamental characteristic, not a bug to be patched. Our mitigation strategy is multi-layered:",[1711,3300,3301,3307,3313,3319],{},[50,3302,3303,3306],{},[23,3304,3305],{},"Constrain the knowledge domain",": The agent only answers questions about topics covered in the RAG knowledge base. For everything else, it responds honestly: \"I don't have information about that. Let me connect you with a team member who can help.\"",[50,3308,3309,3312],{},[23,3310,3311],{},"Fact-check against structured data",": When the agent states a price, availability, or policy, the system cross-references against structured data sources (not just the RAG corpus) before presenting the information.",[50,3314,3315,3318],{},[23,3316,3317],{},"Confidence scoring",": Every response includes an internal confidence score. Below a configurable threshold, the agent flags uncertainty to the customer or escalates to a human.",[50,3320,3321,3324],{},[23,3322,3323],{},"Post-response validation",": A lightweight validation model reviews each response before it is sent, checking for contradictions with known facts and flagging potential hallucinations.",[79,3326,3328],{"id":3327},"graceful-handoff-to-humans-is-not-optional","Graceful Handoff to Humans Is Not Optional",[19,3330,3331],{},"No AI agent can handle every situation. The quality of your handoff process determines whether a complex interaction becomes a satisfied customer or a lost one.",[19,3333,3334],{},"Connekz implements three types of handoff:",[47,3336,3337,3343,3349],{},[50,3338,3339,3342],{},[23,3340,3341],{},"Proactive handoff",": The agent detects it cannot resolve the issue (low confidence, out-of-scope request, detected frustration) and initiates transfer.",[50,3344,3345,3348],{},[23,3346,3347],{},"Customer-requested handoff",": The customer explicitly asks to speak with a person. This is honoured immediately, no friction, no attempts to retain the conversation.",[50,3350,3351,3354],{},[23,3352,3353],{},"Escalation handoff",": A human supervisor monitoring the conversation intervenes and takes over.",[19,3356,3357],{},"In all cases, the full conversation history and context are passed to the human agent. The customer never has to repeat themselves.",[79,3359,3361],{"id":3360},"latency-matters-more-than-you-think","Latency Matters More Than You Think",[19,3363,3364],{},"In conversational AI, perceived intelligence is heavily influenced by response speed. A technically superior response delivered in 5 seconds feels worse than a good response delivered in 800ms. Users begin to disengage after 2 seconds of silence.",[19,3366,3367],{},"We optimise for latency at every layer:",[1711,3369,3370,3373,3376,3379],{},[50,3371,3372],{},"Intent classification completes in under 50ms",[50,3374,3375],{},"RAG retrieval runs in parallel with conversation context assembly",[50,3377,3378],{},"Response streaming begins before the full response is generated",[50,3380,3381],{},"Tool calls execute asynchronously where possible",[19,3383,3384],{},"Our p95 response latency for text interactions is under 1.2 seconds. For voice, we target under 1.5 seconds from end-of-speech detection to start-of-response playback.",[79,3386,3388],{"id":3387},"monitoring-and-continuous-improvement","Monitoring and Continuous Improvement",[19,3390,3391],{},"Deploying an AI agent is not a launch-and-forget operation. We monitor every conversation across multiple dimensions:",[1711,3393,3394,3400,3406,3412,3418],{},[50,3395,3396,3399],{},[23,3397,3398],{},"Resolution rate",": What percentage of conversations reach a successful outcome without human handoff?",[50,3401,3402,3405],{},[23,3403,3404],{},"Accuracy rate",": Human evaluators review volenteraly provided sampled conversations for factual accuracy and appropriateness.",[50,3407,3408,3411],{},[23,3409,3410],{},"Customer satisfaction",": Post-conversation ratings and sentiment analysis.",[50,3413,3414,3417],{},[23,3415,3416],{},"Tool call success rate",": What percentage of bookings, updates, and actions complete successfully?",[50,3419,3420,3423],{},[23,3421,3422],{},"Escalation patterns",": Which topics or scenarios consistently require human handoff? These inform knowledge base improvements and model updates.",[19,3425,3426],{},"We feed these metrics back into a continuous improvement loop. Every week, the lowest-performing conversation patterns are reviewed, and the knowledge base, prompts, and guardrails are updated accordingly.",[14,3428,3430],{"id":3429},"results-our-clients-see","Results Our Clients See",[19,3432,3433],{},"The impact of deploying Connekz varies by industry and use case, but the patterns are consistent.",[124,3435,3436,3449],{},[127,3437,3438],{},[130,3439,3440,3443,3446],{},[133,3441,3442],{},"Metric",[133,3444,3445],{},"Typical Before",[133,3447,3448],{},"Typical After",[143,3450,3451,3462,3473,3484,3495,3506],{},[130,3452,3453,3456,3459],{},[148,3454,3455],{},"After-hours response rate",[148,3457,3458],{},"0% (voicemail/email only)",[148,3460,3461],{},"95%+ instant response",[130,3463,3464,3467,3470],{},[148,3465,3466],{},"Average first response time",[148,3468,3469],{},"4-8 hours",[148,3471,3472],{},"Under 2 seconds",[130,3474,3475,3478,3481],{},[148,3476,3477],{},"Routine enquiry handling",[148,3479,3480],{},"100% human",[148,3482,3483],{},"70-80% automated",[130,3485,3486,3489,3492],{},[148,3487,3488],{},"Booking conversion (after-hours)",[148,3490,3491],{},"Near zero",[148,3493,3494],{},"35-50% of enquiries",[130,3496,3497,3500,3503],{},[148,3498,3499],{},"Support cost per interaction",[148,3501,3502],{},"$8-15",[148,3504,3505],{},"$0.50-2.00",[130,3507,3508,3511,3514],{},[148,3509,3510],{},"Customer satisfaction score",[148,3512,3513],{},"3.8/5.0",[148,3515,3516],{},"4.3/5.0",[19,3518,3519,3520,3523],{},"These numbers represent real outcomes from ",[230,3521,3522],{"href":251},"Connekz deployments"," across healthcare, professional services, and hospitality businesses.",[1162,3525,3526],{"type":322},[19,3527,3528,3529,3532],{},"The most surprising result: customer satisfaction scores typically ",[2180,3530,3531],{},"increase"," after AI agent deployment. Customers prefer an instant, accurate response from an AI over a delayed or inconsistent response from an overwhelmed human team.",[14,3534,3536],{"id":3535},"the-road-ahead","The Road Ahead",[19,3538,3539],{},"Connekz is not a finished product. It is a platform that evolves with advances in AI capabilities and our clients' needs. Our current development priorities include:",[1711,3541,3542,3548,3554,3564],{},[50,3543,3544,3547],{},[23,3545,3546],{},"Multi-agent orchestration",": Complex business processes that require coordination between specialised agents (a booking agent, a billing agent, a technical support agent) working together on a single customer interaction.",[50,3549,3550,3553],{},[23,3551,3552],{},"Proactive outreach",": Connekz initiating conversations based on triggers — appointment reminders, follow-up after service, re-engagement of lapsed customers.",[50,3555,3556,3563],{},[23,3557,3558,3559],{},"Deeper ",[230,3560,3562],{"href":3561},"/solutions/ai-solutions","AI integration",": Connecting Connekz to internal business intelligence, allowing the agent to make data-informed recommendations (e.g., suggesting the most popular service for a new customer based on similar customer patterns).",[50,3565,3566,3569],{},[23,3567,3568],{},"Industry-specific models",": Fine-tuned models for healthcare, legal, and financial services that understand domain-specific terminology, compliance requirements, and interaction patterns.",[19,3571,3572],{},"The gap between what customers expect and what most businesses can deliver is growing. AI agents are not a futuristic concept — they are a practical, deployable solution to a problem that every business faces today.",[2357,3574],{},[19,3576,3577],{},[2180,3578,3579,3580,3583],{},"Ready to deploy Connekz for your business? ",[230,3581,3582],{"href":2366},"Start a conversation with our team"," and see what intelligent automation can do for your customer experience.",[2370,3585,3586],{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":289,"searchDepth":304,"depth":304,"links":3588},[3589,3590,3597,3601,3605,3611,3612],{"id":2432,"depth":304,"text":2433},{"id":2450,"depth":304,"text":2451,"children":3591},[3592,3593,3594,3595,3596],{"id":2457,"depth":319,"text":2458},{"id":2464,"depth":319,"text":2465},{"id":2471,"depth":319,"text":2472},{"id":2481,"depth":319,"text":2482},{"id":2844,"depth":319,"text":2845},{"id":2854,"depth":304,"text":2855,"children":3598},[3599,3600],{"id":2861,"depth":319,"text":2862},{"id":3179,"depth":319,"text":3180},{"id":3262,"depth":304,"text":3263,"children":3602},[3603,3604],{"id":3269,"depth":319,"text":3270},{"id":3276,"depth":319,"text":3277},{"id":3287,"depth":304,"text":3288,"children":3606},[3607,3608,3609,3610],{"id":3294,"depth":319,"text":3295},{"id":3327,"depth":319,"text":3328},{"id":3360,"depth":319,"text":3361},{"id":3387,"depth":319,"text":3388},{"id":3429,"depth":304,"text":3430},{"id":3535,"depth":304,"text":3536},"AI","2026-02-07","A behind-the-scenes look at building Connekz — the AI agent platform powering customer interactions for businesses across New Zealand and beyond.",{},"/blog/building-connekz-ai-agent","11 min read",{"title":2424,"description":3615},"blog/building-connekz-ai-agent",[252,3622,3623,3624],"AI Agents","Natural Language Processing","Product Engineering","3dweb7U44CHsXPjufugyInw62GeJ0CMrWfns7Q78EI8",{"id":3627,"title":3628,"author":3629,"body":3632,"category":4195,"coverImage":2407,"date":4196,"description":4197,"extension":2410,"featured":2411,"meta":4198,"navigation":365,"path":4199,"readingTime":4200,"seo":4201,"stem":4202,"tags":4203,"__hash__":4208},"blog/blog/digital-asset-audit-roi.md","The Hidden ROI of a Digital Asset Audit",{"name":3630,"role":3631},"Kavindi Fernando","Digital Strategy Lead",{"type":11,"value":3633,"toc":4171},[3634,3638,3645,3648,3653,3656,3660,3663,3666,3674,3678,3681,3719,3723,3726,3730,3733,3739,3759,3765,3779,3789,3794,3798,3801,3804,3830,3838,3842,3845,3871,3876,3880,3883,3886,3912,3915,3919,3922,3948,3952,3955,3961,3969,3975,3981,3987,3991,3994,4066,4071,4075,4078,4082,4085,4089,4092,4096,4099,4103,4106,4110,4113,4117,4120,4123,4140,4143,4147,4150,4157,4160,4162],[14,3635,3637],{"id":3636},"your-biggest-growth-lever-might-already-exist","Your Biggest Growth Lever Might Already Exist",[19,3639,3640,3641,3644],{},"Most businesses pour budget into new platforms, new features, and new campaigns while their existing digital assets quietly underperform. A ",[23,3642,3643],{},"digital asset audit"," is the systematic process of evaluating every digital touchpoint your business operates — from your website and CRM to your marketing channels and internal workflows — to uncover hidden inefficiencies, revenue leaks, and untapped optimisation opportunities.",[19,3646,3647],{},"The numbers are striking. In our experience conducting audits for businesses across New Zealand and Australia, we consistently find that 20-40% of marketing spend is misallocated, 3-5 core processes are ripe for automation, and conversion funnels contain fixable bottlenecks worth tens of thousands of dollars annually.",[31,3649,3650],{},[19,3651,3652],{},"The most cost-effective investment you can make isn't building something new — it's making what you already have work harder.",[19,3654,3655],{},"Yet most organisations skip this step entirely. They jump straight into a website redesign or a new CRM implementation without understanding what is actually broken, what is working well, and where the real leverage lies. The result is expensive projects that solve the wrong problems.",[14,3657,3659],{"id":3658},"what-is-a-digital-asset-audit","What Is a Digital Asset Audit?",[19,3661,3662],{},"A digital asset audit is a comprehensive, data-driven analysis of every digital system, channel, and process your business uses to acquire, serve, and retain customers. It evaluates performance, identifies waste, and produces a prioritised roadmap of improvements ranked by potential return on investment.",[19,3664,3665],{},"Unlike a simple website review or an analytics check-in, a full digital asset audit examines the interconnections between systems. It asks not just \"How is our website performing?\" but \"How does our website performance affect lead quality in our CRM, which affects sales pipeline velocity, which affects revenue forecasting accuracy?\"",[19,3667,3668,3669,3673],{},"This holistic view is what separates a genuine audit from a surface-level review. A ",[230,3670,3672],{"href":3671},"/solutions/business-analysis","thorough business analysis"," connects the dots between isolated metrics and reveals systemic issues that no single-channel review would catch.",[79,3675,3677],{"id":3676},"what-gets-audited","What gets audited",[19,3679,3680],{},"A comprehensive audit covers every digital touchpoint in your business:",[1711,3682,3683,3689,3695,3701,3707,3713],{},[50,3684,3685,3688],{},[23,3686,3687],{},"Customer-facing assets",": Website, mobile apps, landing pages, e-commerce stores, customer portals",[50,3690,3691,3694],{},[23,3692,3693],{},"Marketing channels",": SEO, paid search, social media, email marketing, content marketing",[50,3696,3697,3700],{},[23,3698,3699],{},"Sales systems",": CRM configuration, lead scoring, pipeline stages, sales enablement tools",[50,3702,3703,3706],{},[23,3704,3705],{},"Internal tools",": Project management platforms, communication tools, documentation systems",[50,3708,3709,3712],{},[23,3710,3711],{},"Data infrastructure",": Analytics setup, tracking implementation, reporting dashboards, data integrations",[50,3714,3715,3718],{},[23,3716,3717],{},"Automation",": Existing automated workflows, triggered emails, scheduled reports, API connections",[14,3720,3722],{"id":3721},"the-5-areas-every-audit-should-cover","The 5 Areas Every Audit Should Cover",[19,3724,3725],{},"A structured audit framework ensures nothing is missed. Every digital asset audit we conduct at CNEX covers five core areas, each with its own evaluation criteria, benchmarks, and scoring methodology.",[79,3727,3729],{"id":3728},"_1-website-and-app-performance","1. Website and App Performance",[19,3731,3732],{},"Your website is often the first and most frequent interaction customers have with your business. A performance audit examines three dimensions: technical performance, user experience, and conversion effectiveness.",[19,3734,3735,3738],{},[23,3736,3737],{},"Technical performance"," starts with Core Web Vitals — Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS). These metrics directly influence search rankings and user engagement. But technical performance goes deeper than Google's benchmarks:",[1711,3740,3741,3747,3753],{},[50,3742,3743,3746],{},[23,3744,3745],{},"Page load waterfall analysis",": Which resources block rendering? Are third-party scripts degrading performance?",[50,3748,3749,3752],{},[23,3750,3751],{},"Mobile performance parity",": Does the mobile experience match desktop, or is it an afterthought?",[50,3754,3755,3758],{},[23,3756,3757],{},"Error rates and broken journeys",": How many users encounter 404 pages, broken forms, or JavaScript errors?",[19,3760,3761,3764],{},[23,3762,3763],{},"User experience"," evaluation maps actual user behaviour through heatmaps, session recordings, and funnel analysis. We look for:",[1711,3766,3767,3770,3773,3776],{},[50,3768,3769],{},"Pages with high bounce rates relative to traffic quality",[50,3771,3772],{},"Form fields that cause abandonment",[50,3774,3775],{},"Navigation patterns that indicate confusion",[50,3777,3778],{},"Mobile UX issues (tap targets, scroll depth, viewport problems)",[19,3780,3781,3784,3785,3788],{},[23,3782,3783],{},"Conversion effectiveness"," measures how well each page and journey achieves its intended goal. This is where ",[230,3786,3787],{"href":2353},"web development improvements"," translate directly into revenue.",[1162,3790,3791],{"type":1164},[19,3792,3793],{},"Before redesigning your website, audit it. We regularly find that targeted UX fixes on existing sites deliver 15-25% conversion improvement at a fraction of the cost of a full rebuild.",[79,3795,3797],{"id":3796},"_2-marketing-channel-effectiveness","2. Marketing Channel Effectiveness",[19,3799,3800],{},"Most businesses know their total marketing spend. Far fewer can tell you the true cost per acquisition by channel, the quality of leads each channel produces, or how channels interact in the customer journey.",[19,3802,3803],{},"A marketing channel audit examines:",[1711,3805,3806,3812,3818,3824],{},[50,3807,3808,3811],{},[23,3809,3810],{},"Channel attribution",": Are you using last-click attribution and over-crediting branded search? Multi-touch attribution reveals the true contribution of each channel.",[50,3813,3814,3817],{},[23,3815,3816],{},"Cost per lead (CPL) and cost per acquisition (CPA) by channel",": Not just the average, but segmented by customer value. A channel with a high CPL might still be your most profitable if it produces high-value customers.",[50,3819,3820,3823],{},[23,3821,3822],{},"Content ROI",": Which blog posts, videos, and resources actually drive pipeline? Most businesses find that 80% of their content drives zero measurable results.",[50,3825,3826,3829],{},[23,3827,3828],{},"Audience overlap and cannibalisation",": Are your paid and organic strategies competing with each other?",[19,3831,3832,3833,3837],{},"A proper ",[230,3834,3836],{"href":3835},"/solutions/digital-marketing","digital marketing audit"," often reveals that reallocating existing budget is more effective than increasing total spend.",[79,3839,3841],{"id":3840},"_3-crm-and-sales-pipeline-health","3. CRM and Sales Pipeline Health",[19,3843,3844],{},"Your CRM is only as valuable as the data inside it and the processes built around it. A CRM audit evaluates:",[1711,3846,3847,3853,3859,3865],{},[50,3848,3849,3852],{},[23,3850,3851],{},"Data quality",": What percentage of records have complete, accurate information? Duplicate rates? Stale contacts?",[50,3854,3855,3858],{},[23,3856,3857],{},"Lead scoring accuracy",": Does your lead scoring model actually predict conversion? We commonly find models that were configured once and never validated against outcomes.",[50,3860,3861,3864],{},[23,3862,3863],{},"Pipeline velocity",": How long do deals spend in each stage? Where do they stall? What is the average sales cycle, and how does it compare to industry benchmarks?",[50,3866,3867,3870],{},[23,3868,3869],{},"Adoption and usage",": Are sales teams actually using the CRM as intended, or have they built workarounds in spreadsheets and email?",[1162,3872,3873],{"type":322},[19,3874,3875],{},"CRM data quality degrades at a rate of roughly 25-30% per year. If you haven't audited your CRM data in the past 12 months, a significant portion of your records are likely inaccurate, incomplete, or duplicated.",[79,3877,3879],{"id":3878},"_4-workflow-and-process-automation-potential","4. Workflow and Process Automation Potential",[19,3881,3882],{},"Every manual, repetitive process in your business is a candidate for automation. The audit identifies these opportunities by mapping current workflows and calculating the time, cost, and error rate of each.",[19,3884,3885],{},"Common findings include:",[1711,3887,3888,3894,3900,3906],{},[50,3889,3890,3893],{},[23,3891,3892],{},"Manual data entry between systems",": Information copied from emails into spreadsheets, from spreadsheets into the CRM, from the CRM into project management tools",[50,3895,3896,3899],{},[23,3897,3898],{},"Approval chains that bottleneck on individuals",": A single person who must approve every quote, every expense, or every content publish",[50,3901,3902,3905],{},[23,3903,3904],{},"Reporting that consumes analyst time",": Weekly reports manually assembled from multiple data sources that could be automated dashboards",[50,3907,3908,3911],{},[23,3909,3910],{},"Customer communication gaps",": Follow-up emails sent manually (or not at all), onboarding sequences that depend on someone remembering to send the next step",[19,3913,3914],{},"We estimate the hours saved and error reduction for each automation opportunity, then rank them by implementation effort versus value delivered.",[79,3916,3918],{"id":3917},"_5-data-infrastructure-maturity","5. Data Infrastructure Maturity",[19,3920,3921],{},"Your ability to make good decisions depends on the quality and accessibility of your data. A data infrastructure audit examines:",[1711,3923,3924,3930,3936,3942],{},[50,3925,3926,3929],{},[23,3927,3928],{},"Data silos",": Which systems hold valuable data that is not connected to other systems? Can your marketing team see sales outcomes? Can your support team see customer value?",[50,3931,3932,3935],{},[23,3933,3934],{},"Analytics implementation",": Is your tracking accurate and complete? Are you measuring vanity metrics or actionable ones? Are events firing correctly across all platforms?",[50,3937,3938,3941],{},[23,3939,3940],{},"Integration architecture",": How do your systems communicate? Are integrations robust, or do they break silently? Is data flowing in real time or in batches?",[50,3943,3944,3947],{},[23,3945,3946],{},"Reporting capabilities",": Can your team answer business questions without waiting for a developer? Do dashboards reflect reality?",[14,3949,3951],{"id":3950},"quantifying-the-value-how-to-calculate-audit-roi","Quantifying the Value: How to Calculate Audit ROI",[19,3953,3954],{},"Every recommendation in a digital asset audit should come with a projected return. Here is how to frame the value calculation for common findings.",[19,3956,3957,3960],{},[23,3958,3959],{},"Conversion rate improvements"," are the most straightforward. If your e-commerce site generates $1 million per year at a 2% conversion rate, a UX improvement that lifts conversion to 2.5% delivers an additional $250,000 annually. Even a modest 0.5 percentage point improvement on a site with 50,000 monthly visitors and a $50 average order value produces meaningful revenue.",[284,3962,3967],{"className":3963,"code":3965,"language":3966},[3964],"language-text","Current state:\n  Monthly visitors: 50,000\n  Conversion rate: 2.0%\n  Average order value: $50\n  Monthly revenue: $50,000\n\nAfter audit-driven UX improvements:\n  Conversion rate: 2.5% (+0.5pp)\n  Monthly revenue: $62,500\n  Annual uplift: $150,000\n","text",[291,3968,3965],{"__ignoreMap":289},[19,3970,3971,3974],{},[23,3972,3973],{},"Marketing reallocation"," typically delivers 15-30% efficiency gains. If you are spending $10,000 per month on paid advertising and an audit reveals that 30% of that spend targets keywords or audiences that produce zero conversions, reallocating that $3,000 per month to proven channels produces measurable improvement with no additional budget.",[19,3976,3977,3980],{},[23,3978,3979],{},"Automation savings"," are calculated from labour costs. If three team members each spend 5 hours per week on manual data entry and reporting (at an average loaded cost of $40/hour), that is $31,200 per year in labour that could be redirected to higher-value work.",[19,3982,3983,3986],{},[23,3984,3985],{},"Pipeline velocity improvements"," from CRM optimisation accelerate revenue recognition. If your average sales cycle is 45 days and audit recommendations reduce it to 35 days, you recognise revenue 22% faster — a significant impact on cash flow.",[14,3988,3990],{"id":3989},"case-study-framework-typical-audit-findings","Case Study Framework: Typical Audit Findings",[19,3992,3993],{},"While every business is different, our audits consistently reveal patterns. Here is a composite view of typical findings across mid-market businesses:",[124,3995,3996,4009],{},[127,3997,3998],{},[130,3999,4000,4003,4006],{},[133,4001,4002],{},"Audit Area",[133,4004,4005],{},"Common Finding",[133,4007,4008],{},"Typical Impact",[143,4010,4011,4022,4033,4044,4055],{},[130,4012,4013,4016,4019],{},[148,4014,4015],{},"Website Performance",[148,4017,4018],{},"Core Web Vitals failing on mobile",[148,4020,4021],{},"15-25% conversion uplift after fixes",[130,4023,4024,4027,4030],{},[148,4025,4026],{},"Marketing Channels",[148,4028,4029],{},"20-40% of ad spend on non-converting terms",[148,4031,4032],{},"20-30% efficiency gain from reallocation",[130,4034,4035,4038,4041],{},[148,4036,4037],{},"CRM Health",[148,4039,4040],{},"30%+ records incomplete or duplicated",[148,4042,4043],{},"15-20% improvement in lead follow-up rates",[130,4045,4046,4049,4052],{},[148,4047,4048],{},"Process Automation",[148,4050,4051],{},"3-5 workflows consuming 15-25 hours/week",[148,4053,4054],{},"$30K-60K/year in recovered productivity",[130,4056,4057,4060,4063],{},[148,4058,4059],{},"Data Infrastructure",[148,4061,4062],{},"2-3 critical data silos",[148,4064,4065],{},"Unified reporting reducing decision latency by 50%+",[1162,4067,4068],{"type":322},[19,4069,4070],{},"These are conservative estimates based on audits conducted for businesses with $2M-$20M annual revenue. Larger organisations typically see proportionally larger returns because inefficiencies compound at scale.",[14,4072,4074],{"id":4073},"when-should-you-commission-an-audit","When Should You Commission an Audit?",[19,4076,4077],{},"A digital asset audit is valuable at any time, but there are moments when the return on investment is highest.",[79,4079,4081],{"id":4080},"before-a-major-redesign-or-rebuild","Before a major redesign or rebuild",[19,4083,4084],{},"If you are planning a website redesign, a CRM migration, or a marketing platform change, an audit ensures you solve the right problems. Without one, you risk rebuilding the same issues into a more expensive system.",[79,4086,4088],{"id":4087},"during-growth-planning","During growth planning",[19,4090,4091],{},"When revenue targets are increasing, an audit reveals whether your current digital infrastructure can support that growth or whether it will become a bottleneck. Scaling a broken process only produces broken results faster.",[79,4093,4095],{"id":4094},"after-an-acquisition-or-merger","After an acquisition or merger",[19,4097,4098],{},"Integrating two businesses means integrating their digital ecosystems. An audit of both entities reveals overlaps, gaps, and integration priorities before you start combining systems.",[79,4100,4102],{"id":4101},"when-costs-are-rising-without-clear-roi","When costs are rising without clear ROI",[19,4104,4105],{},"If your technology and marketing spend is increasing year over year but results are flat, something is leaking value. An audit pinpoints exactly where.",[79,4107,4109],{"id":4108},"when-you-are-entering-new-markets-or-channels","When you are entering new markets or channels",[19,4111,4112],{},"Expanding into new geographies, customer segments, or sales channels requires your digital foundation to support the complexity. An audit confirms readiness and identifies gaps.",[14,4114,4116],{"id":4115},"running-your-own-quick-assessment","Running Your Own Quick Assessment",[19,4118,4119],{},"While a comprehensive audit requires external expertise and specialised tools, you can start with a quick self-assessment to identify the areas of greatest need.",[19,4121,4122],{},"Ask your team these questions:",[47,4124,4125,4128,4131,4134,4137],{},[50,4126,4127],{},"Can you state the conversion rate for every major page on your website? If not, you have a measurement gap.",[50,4129,4130],{},"Do you know the true cost per acquisition for each marketing channel, weighted by customer lifetime value? If not, you may be over-investing in low-value channels.",[50,4132,4133],{},"When was the last time you validated your CRM lead scoring model against actual outcomes? If never, it is likely inaccurate.",[50,4135,4136],{},"How many hours per week does your team spend on tasks that are repetitive and rule-based? Each of those hours is an automation candidate.",[50,4138,4139],{},"Can any team member access a real-time dashboard showing key business metrics without asking a developer? If not, you have a data accessibility problem.",[19,4141,4142],{},"If you answered \"no\" to three or more of these questions, a formal digital asset audit will almost certainly produce a strong return.",[14,4144,4146],{"id":4145},"from-audit-to-action","From Audit to Action",[19,4148,4149],{},"An audit is only valuable if it leads to action. The output should be a prioritised roadmap — not a 100-page PDF that sits on a shelf. Each recommendation should include the estimated effort, the projected return, and the dependencies that determine sequencing.",[19,4151,4152,4153,4156],{},"At CNEX, our ",[230,4154,4155],{"href":3671},"business analysis process"," produces an actionable plan that balances quick wins (implement in days, see results in weeks) with strategic initiatives (implement over months, deliver compounding returns over years). We work with your team to execute against the roadmap, measuring results at each stage and adjusting priorities based on real-world performance.",[19,4158,4159],{},"The businesses that grow most efficiently are not the ones that spend the most on new technology. They are the ones that ruthlessly optimise what they already have before building anything new.",[2357,4161],{},[19,4163,4164],{},[2180,4165,4166,4167,4170],{},"Ready to discover the hidden value in your digital assets? ",[230,4168,4169],{"href":2366},"Book a free discovery call"," to discuss your digital asset audit.",{"title":289,"searchDepth":304,"depth":304,"links":4172},[4173,4174,4177,4184,4185,4186,4193,4194],{"id":3636,"depth":304,"text":3637},{"id":3658,"depth":304,"text":3659,"children":4175},[4176],{"id":3676,"depth":319,"text":3677},{"id":3721,"depth":304,"text":3722,"children":4178},[4179,4180,4181,4182,4183],{"id":3728,"depth":319,"text":3729},{"id":3796,"depth":319,"text":3797},{"id":3840,"depth":319,"text":3841},{"id":3878,"depth":319,"text":3879},{"id":3917,"depth":319,"text":3918},{"id":3950,"depth":304,"text":3951},{"id":3989,"depth":304,"text":3990},{"id":4073,"depth":304,"text":4074,"children":4187},[4188,4189,4190,4191,4192],{"id":4080,"depth":319,"text":4081},{"id":4087,"depth":319,"text":4088},{"id":4094,"depth":319,"text":4095},{"id":4101,"depth":319,"text":4102},{"id":4108,"depth":319,"text":4109},{"id":4115,"depth":304,"text":4116},{"id":4145,"depth":304,"text":4146},"Culture","2026-02-03","Most businesses leave money on the table in their existing digital assets. A structured audit reveals optimisation opportunities, automation potential, and revenue leaks.",{},"/blog/digital-asset-audit-roi","8 min read",{"title":3628,"description":4197},"blog/digital-asset-audit-roi",[4204,4205,4206,4207],"Business Analysis","Digital Strategy","ROI","Optimisation","_BnEI75HlVQtkOhJKBqwKI4kuvg06-8_GUrKYpzxk24",[4210,6000,6923],{"id":5,"title":6,"author":4211,"body":4212,"category":2406,"coverImage":2407,"date":2408,"description":2409,"extension":2410,"featured":2411,"meta":5997,"navigation":365,"path":2413,"readingTime":2414,"seo":5998,"stem":2416,"tags":5999,"__hash__":2421},{"name":8,"role":9},{"type":11,"value":4213,"toc":5964},[4214,4216,4220,4222,4226,4228,4230,4232,4246,4248,4250,4252,4254,4258,4262,4264,4268,4272,4274,4278,4282,4344,4346,4348,4350,4352,4356,4358,4360,4362,4366,4370,4372,4374,4376,4378,4380,4382,4994,4996,4998,5000,5046,5048,5054,5056,5058,5450,5452,5454,5456,5464,5470,5476,5478,5488,5490,5492,5648,5650,5664,5668,5670,5672,5674,5704,5708,5710,5712,5714,5716,5718,5726,5728,5730,5818,5820,5822,5826,5828,5832,5920,5922,5924,5926,5948,5950,5954,5956,5962],[14,4215,17],{"id":16},[19,4217,21,4218,26],{},[23,4219,25],{},[19,4221,29],{},[31,4223,4224],{},[19,4225,35],{},[14,4227,39],{"id":38},[19,4229,42],{},[19,4231,45],{},[47,4233,4234,4236,4238,4240,4242,4244],{},[50,4235,52],{},[50,4237,55],{},[50,4239,58],{},[50,4241,61],{},[50,4243,64],{},[50,4245,67],{},[19,4247,70],{},[14,4249,74],{"id":73},[19,4251,77],{},[79,4253,82],{"id":81},[19,4255,4256,88],{},[23,4257,87],{},[19,4259,4260,94],{},[23,4261,93],{},[79,4263,98],{"id":97},[19,4265,4266,103],{},[23,4267,87],{},[19,4269,4270,108],{},[23,4271,93],{},[79,4273,112],{"id":111},[19,4275,4276,117],{},[23,4277,87],{},[19,4279,4280,122],{},[23,4281,93],{},[124,4283,4284,4294],{},[127,4285,4286],{},[130,4287,4288,4290,4292],{},[133,4289,135],{},[133,4291,138],{},[133,4293,141],{},[143,4295,4296,4304,4312,4320,4328,4336],{},[130,4297,4298,4300,4302],{},[148,4299,150],{},[148,4301,153],{},[148,4303,156],{},[130,4305,4306,4308,4310],{},[148,4307,161],{},[148,4309,164],{},[148,4311,167],{},[130,4313,4314,4316,4318],{},[148,4315,172],{},[148,4317,175],{},[148,4319,178],{},[130,4321,4322,4324,4326],{},[148,4323,183],{},[148,4325,186],{},[148,4327,189],{},[130,4329,4330,4332,4334],{},[148,4331,194],{},[148,4333,197],{},[148,4335,200],{},[130,4337,4338,4340,4342],{},[148,4339,205],{},[148,4341,208],{},[148,4343,211],{},[14,4345,215],{"id":214},[19,4347,218],{},[79,4349,222],{"id":221},[19,4351,225],{},[19,4353,228,4354,234],{},[230,4355,233],{"href":232},[79,4357,238],{"id":237},[19,4359,241],{},[79,4361,245],{"id":244},[19,4363,248,4364,253],{},[230,4365,252],{"href":251},[19,4367,256,4368,261],{},[230,4369,260],{"href":259},[79,4371,265],{"id":264},[19,4373,268],{},[14,4375,272],{"id":271},[19,4377,275],{},[79,4379,279],{"id":278},[19,4381,282],{},[284,4383,4384],{"className":286,"code":287,"language":288,"meta":289,"style":289},[291,4385,4386,4390,4398,4404,4412,4420,4428,4432,4438,4444,4450,4458,4466,4472,4478,4484,4492,4498,4504,4510,4518,4524,4530,4538,4544,4550,4556,4564,4570,4578,4584,4590,4596,4604,4610,4618,4624,4630,4636,4644,4648,4654,4660,4666,4674,4680,4686,4692,4698,4704,4710,4716,4724,4730,4736,4742,4748,4754,4762,4770,4778,4784,4792,4800,4808,4814,4822,4830,4836,4844,4852,4856,4862,4870,4876,4882,4890,4898,4904,4912,4918,4924,4930,4936,4942,4950,4956,4964,4972,4978,4986],{"__ignoreMap":289},[294,4387,4388],{"class":296,"line":297},[294,4389,301],{"class":300},[294,4391,4392,4394,4396],{"class":296,"line":304},[294,4393,308],{"class":307},[294,4395,312],{"class":311},[294,4397,316],{"class":315},[294,4399,4400,4402],{"class":296,"line":319},[294,4401,322],{"class":307},[294,4403,325],{"class":311},[294,4405,4406,4408,4410],{"class":296,"line":328},[294,4407,331],{"class":307},[294,4409,312],{"class":311},[294,4411,337],{"class":336},[294,4413,4414,4416,4418],{"class":296,"line":340},[294,4415,343],{"class":307},[294,4417,312],{"class":311},[294,4419,348],{"class":315},[294,4421,4422,4424,4426],{"class":296,"line":351},[294,4423,354],{"class":307},[294,4425,312],{"class":311},[294,4427,359],{"class":336},[294,4429,4430],{"class":296,"line":362},[294,4431,366],{"emptyLinePlaceholder":365},[294,4433,4434,4436],{"class":296,"line":369},[294,4435,372],{"class":307},[294,4437,325],{"class":311},[294,4439,4440,4442],{"class":296,"line":377},[294,4441,380],{"class":307},[294,4443,325],{"class":311},[294,4445,4446,4448],{"class":296,"line":385},[294,4447,388],{"class":307},[294,4449,325],{"class":311},[294,4451,4452,4454,4456],{"class":296,"line":393},[294,4453,396],{"class":307},[294,4455,312],{"class":311},[294,4457,401],{"class":336},[294,4459,4460,4462,4464],{"class":296,"line":404},[294,4461,407],{"class":307},[294,4463,312],{"class":311},[294,4465,412],{"class":336},[294,4467,4468,4470],{"class":296,"line":415},[294,4469,418],{"class":307},[294,4471,325],{"class":311},[294,4473,4474,4476],{"class":296,"line":423},[294,4475,426],{"class":311},[294,4477,429],{"class":336},[294,4479,4480,4482],{"class":296,"line":432},[294,4481,435],{"class":307},[294,4483,325],{"class":311},[294,4485,4486,4488,4490],{"class":296,"line":440},[294,4487,443],{"class":307},[294,4489,312],{"class":311},[294,4491,448],{"class":315},[294,4493,4494,4496],{"class":296,"line":451},[294,4495,454],{"class":307},[294,4497,325],{"class":311},[294,4499,4500,4502],{"class":296,"line":459},[294,4501,462],{"class":307},[294,4503,325],{"class":311},[294,4505,4506,4508],{"class":296,"line":467},[294,4507,470],{"class":307},[294,4509,325],{"class":311},[294,4511,4512,4514,4516],{"class":296,"line":475},[294,4513,478],{"class":307},[294,4515,312],{"class":311},[294,4517,483],{"class":336},[294,4519,4520,4522],{"class":296,"line":486},[294,4521,489],{"class":307},[294,4523,325],{"class":311},[294,4525,4526,4528],{"class":296,"line":494},[294,4527,497],{"class":336},[294,4529,325],{"class":311},[294,4531,4532,4534,4536],{"class":296,"line":502},[294,4533,505],{"class":307},[294,4535,312],{"class":311},[294,4537,510],{"class":336},[294,4539,4540,4542],{"class":296,"line":513},[294,4541,516],{"class":307},[294,4543,325],{"class":311},[294,4545,4546,4548],{"class":296,"line":521},[294,4547,524],{"class":307},[294,4549,325],{"class":311},[294,4551,4552,4554],{"class":296,"line":529},[294,4553,532],{"class":307},[294,4555,325],{"class":311},[294,4557,4558,4560,4562],{"class":296,"line":537},[294,4559,540],{"class":307},[294,4561,312],{"class":311},[294,4563,545],{"class":336},[294,4565,4566,4568],{"class":296,"line":548},[294,4567,551],{"class":336},[294,4569,325],{"class":311},[294,4571,4572,4574,4576],{"class":296,"line":556},[294,4573,505],{"class":307},[294,4575,312],{"class":311},[294,4577,563],{"class":336},[294,4579,4580,4582],{"class":296,"line":566},[294,4581,516],{"class":307},[294,4583,325],{"class":311},[294,4585,4586,4588],{"class":296,"line":573},[294,4587,524],{"class":307},[294,4589,325],{"class":311},[294,4591,4592,4594],{"class":296,"line":580},[294,4593,532],{"class":307},[294,4595,325],{"class":311},[294,4597,4598,4600,4602],{"class":296,"line":587},[294,4599,540],{"class":307},[294,4601,312],{"class":311},[294,4603,594],{"class":336},[294,4605,4606,4608],{"class":296,"line":597},[294,4607,600],{"class":336},[294,4609,325],{"class":311},[294,4611,4612,4614,4616],{"class":296,"line":605},[294,4613,505],{"class":307},[294,4615,312],{"class":311},[294,4617,612],{"class":336},[294,4619,4620,4622],{"class":296,"line":615},[294,4621,516],{"class":307},[294,4623,325],{"class":311},[294,4625,4626,4628],{"class":296,"line":622},[294,4627,524],{"class":307},[294,4629,325],{"class":311},[294,4631,4632,4634],{"class":296,"line":629},[294,4633,532],{"class":307},[294,4635,325],{"class":311},[294,4637,4638,4640,4642],{"class":296,"line":636},[294,4639,540],{"class":307},[294,4641,312],{"class":311},[294,4643,643],{"class":336},[294,4645,4646],{"class":296,"line":646},[294,4647,366],{"emptyLinePlaceholder":365},[294,4649,4650,4652],{"class":296,"line":651},[294,4651,654],{"class":307},[294,4653,325],{"class":311},[294,4655,4656,4658],{"class":296,"line":659},[294,4657,662],{"class":307},[294,4659,325],{"class":311},[294,4661,4662,4664],{"class":296,"line":667},[294,4663,670],{"class":307},[294,4665,325],{"class":311},[294,4667,4668,4670,4672],{"class":296,"line":675},[294,4669,678],{"class":307},[294,4671,312],{"class":311},[294,4673,683],{"class":336},[294,4675,4676,4678],{"class":296,"line":686},[294,4677,689],{"class":307},[294,4679,325],{"class":311},[294,4681,4682,4684],{"class":296,"line":694},[294,4683,426],{"class":311},[294,4685,699],{"class":336},[294,4687,4688,4690],{"class":296,"line":702},[294,4689,426],{"class":311},[294,4691,707],{"class":336},[294,4693,4694,4696],{"class":296,"line":710},[294,4695,426],{"class":311},[294,4697,715],{"class":336},[294,4699,4700,4702],{"class":296,"line":718},[294,4701,426],{"class":311},[294,4703,723],{"class":336},[294,4705,4706,4708],{"class":296,"line":726},[294,4707,729],{"class":307},[294,4709,325],{"class":311},[294,4711,4712,4714],{"class":296,"line":734},[294,4713,737],{"class":307},[294,4715,325],{"class":311},[294,4717,4718,4720,4722],{"class":296,"line":742},[294,4719,745],{"class":307},[294,4721,312],{"class":311},[294,4723,750],{"class":336},[294,4725,4726,4728],{"class":296,"line":753},[294,4727,756],{"class":307},[294,4729,325],{"class":311},[294,4731,4732,4734],{"class":296,"line":761},[294,4733,764],{"class":311},[294,4735,767],{"class":336},[294,4737,4738,4740],{"class":296,"line":770},[294,4739,764],{"class":311},[294,4741,775],{"class":336},[294,4743,4744,4746],{"class":296,"line":778},[294,4745,764],{"class":311},[294,4747,783],{"class":336},[294,4749,4750,4752],{"class":296,"line":786},[294,4751,789],{"class":307},[294,4753,325],{"class":311},[294,4755,4756,4758,4760],{"class":296,"line":794},[294,4757,745],{"class":307},[294,4759,312],{"class":311},[294,4761,750],{"class":336},[294,4763,4764,4766,4768],{"class":296,"line":803},[294,4765,806],{"class":307},[294,4767,312],{"class":311},[294,4769,811],{"class":336},[294,4771,4772,4774,4776],{"class":296,"line":814},[294,4773,505],{"class":307},[294,4775,312],{"class":311},[294,4777,821],{"class":336},[294,4779,4780,4782],{"class":296,"line":824},[294,4781,827],{"class":307},[294,4783,325],{"class":311},[294,4785,4786,4788,4790],{"class":296,"line":832},[294,4787,745],{"class":307},[294,4789,312],{"class":311},[294,4791,750],{"class":336},[294,4793,4794,4796,4798],{"class":296,"line":841},[294,4795,844],{"class":307},[294,4797,312],{"class":311},[294,4799,849],{"class":315},[294,4801,4802,4804,4806],{"class":296,"line":852},[294,4803,855],{"class":307},[294,4805,312],{"class":311},[294,4807,860],{"class":315},[294,4809,4810,4812],{"class":296,"line":863},[294,4811,866],{"class":307},[294,4813,325],{"class":311},[294,4815,4816,4818,4820],{"class":296,"line":871},[294,4817,745],{"class":307},[294,4819,312],{"class":311},[294,4821,750],{"class":336},[294,4823,4824,4826,4828],{"class":296,"line":880},[294,4825,806],{"class":307},[294,4827,312],{"class":311},[294,4829,887],{"class":336},[294,4831,4832,4834],{"class":296,"line":890},[294,4833,893],{"class":307},[294,4835,325],{"class":311},[294,4837,4838,4840,4842],{"class":296,"line":898},[294,4839,745],{"class":307},[294,4841,312],{"class":311},[294,4843,750],{"class":336},[294,4845,4846,4848,4850],{"class":296,"line":907},[294,4847,855],{"class":307},[294,4849,312],{"class":311},[294,4851,914],{"class":315},[294,4853,4854],{"class":296,"line":917},[294,4855,366],{"emptyLinePlaceholder":365},[294,4857,4858,4860],{"class":296,"line":922},[294,4859,925],{"class":307},[294,4861,325],{"class":311},[294,4863,4864,4866,4868],{"class":296,"line":930},[294,4865,678],{"class":307},[294,4867,312],{"class":311},[294,4869,683],{"class":336},[294,4871,4872,4874],{"class":296,"line":939},[294,4873,729],{"class":307},[294,4875,325],{"class":311},[294,4877,4878,4880],{"class":296,"line":946},[294,4879,949],{"class":307},[294,4881,325],{"class":311},[294,4883,4884,4886,4888],{"class":296,"line":954},[294,4885,745],{"class":307},[294,4887,312],{"class":311},[294,4889,750],{"class":336},[294,4891,4892,4894,4896],{"class":296,"line":963},[294,4893,806],{"class":307},[294,4895,312],{"class":311},[294,4897,970],{"class":336},[294,4899,4900,4902],{"class":296,"line":973},[294,4901,976],{"class":307},[294,4903,325],{"class":311},[294,4905,4906,4908,4910],{"class":296,"line":981},[294,4907,745],{"class":307},[294,4909,312],{"class":311},[294,4911,750],{"class":336},[294,4913,4914,4916],{"class":296,"line":990},[294,4915,756],{"class":307},[294,4917,325],{"class":311},[294,4919,4920,4922],{"class":296,"line":997},[294,4921,764],{"class":311},[294,4923,1002],{"class":336},[294,4925,4926,4928],{"class":296,"line":1005},[294,4927,764],{"class":311},[294,4929,1010],{"class":336},[294,4931,4932,4934],{"class":296,"line":1013},[294,4933,764],{"class":311},[294,4935,1018],{"class":336},[294,4937,4938,4940],{"class":296,"line":1021},[294,4939,737],{"class":307},[294,4941,325],{"class":311},[294,4943,4944,4946,4948],{"class":296,"line":1028},[294,4945,745],{"class":307},[294,4947,312],{"class":311},[294,4949,750],{"class":336},[294,4951,4952,4954],{"class":296,"line":1037},[294,4953,789],{"class":307},[294,4955,325],{"class":311},[294,4957,4958,4960,4962],{"class":296,"line":1044},[294,4959,745],{"class":307},[294,4961,312],{"class":311},[294,4963,750],{"class":336},[294,4965,4966,4968,4970],{"class":296,"line":1053},[294,4967,806],{"class":307},[294,4969,312],{"class":311},[294,4971,811],{"class":336},[294,4973,4974,4976],{"class":296,"line":1062},[294,4975,1065],{"class":307},[294,4977,325],{"class":311},[294,4979,4980,4982,4984],{"class":296,"line":1070},[294,4981,745],{"class":307},[294,4983,312],{"class":311},[294,4985,750],{"class":336},[294,4987,4988,4990,4992],{"class":296,"line":1079},[294,4989,806],{"class":307},[294,4991,312],{"class":311},[294,4993,811],{"class":336},[19,4995,1088],{},[79,4997,1092],{"id":1091},[19,4999,1095],{},[284,5001,5002],{"className":1098,"code":1099,"language":1100,"meta":289,"style":289},[291,5003,5004,5008,5022,5026,5030,5034],{"__ignoreMap":289},[294,5005,5006],{"class":296,"line":297},[294,5007,1107],{"class":300},[294,5009,5010,5012,5014,5016,5018,5020],{"class":296,"line":304},[294,5011,1113],{"class":1112},[294,5013,1116],{"class":336},[294,5015,1119],{"class":336},[294,5017,1122],{"class":336},[294,5019,1125],{"class":315},[294,5021,1128],{"class":315},[294,5023,5024],{"class":296,"line":319},[294,5025,366],{"emptyLinePlaceholder":365},[294,5027,5028],{"class":296,"line":328},[294,5029,1137],{"class":300},[294,5031,5032],{"class":296,"line":340},[294,5033,1142],{"class":300},[294,5035,5036,5038,5040,5042,5044],{"class":296,"line":351},[294,5037,1113],{"class":1112},[294,5039,1149],{"class":336},[294,5041,1122],{"class":336},[294,5043,1154],{"class":315},[294,5045,1157],{"class":336},[19,5047,1160],{},[1162,5049,5050],{"type":1164},[19,5051,1167,5052,1171],{},[291,5053,1170],{},[79,5055,1175],{"id":1174},[19,5057,1178],{},[284,5059,5060],{"className":1181,"code":1182,"language":1183,"meta":289,"style":289},[291,5061,5062,5066,5078,5082,5096,5104,5112,5116,5120,5134,5152,5158,5166,5178,5190,5214,5218,5234,5242,5250,5258,5266,5274,5278,5282,5302,5310,5322,5330,5338,5346,5350,5354,5374,5388,5396,5404,5412,5420,5424,5438,5442,5446],{"__ignoreMap":289},[294,5063,5064],{"class":296,"line":297},[294,5065,1190],{"class":300},[294,5067,5068,5070,5072,5074,5076],{"class":296,"line":304},[294,5069,1196],{"class":1195},[294,5071,1199],{"class":311},[294,5073,1202],{"class":1195},[294,5075,1205],{"class":336},[294,5077,1208],{"class":311},[294,5079,5080],{"class":296,"line":319},[294,5081,366],{"emptyLinePlaceholder":365},[294,5083,5084,5086,5088,5090,5092,5094],{"class":296,"line":328},[294,5085,1217],{"class":1195},[294,5087,1220],{"class":315},[294,5089,1223],{"class":1195},[294,5091,1226],{"class":1195},[294,5093,1229],{"class":1112},[294,5095,1232],{"class":311},[294,5097,5098,5100,5102],{"class":296,"line":340},[294,5099,1237],{"class":311},[294,5101,1240],{"class":336},[294,5103,1243],{"class":311},[294,5105,5106,5108,5110],{"class":296,"line":351},[294,5107,1248],{"class":311},[294,5109,1251],{"class":336},[294,5111,1243],{"class":311},[294,5113,5114],{"class":296,"line":362},[294,5115,1258],{"class":311},[294,5117,5118],{"class":296,"line":369},[294,5119,366],{"emptyLinePlaceholder":365},[294,5121,5122,5124,5126,5128,5130,5132],{"class":296,"line":377},[294,5123,1267],{"class":1112},[294,5125,1270],{"class":311},[294,5127,1273],{"class":336},[294,5129,1276],{"class":311},[294,5131,1279],{"class":1195},[294,5133,1282],{"class":311},[294,5135,5136,5138,5140,5142,5144,5146,5148,5150],{"class":296,"line":385},[294,5137,1287],{"class":1112},[294,5139,1270],{"class":311},[294,5141,1292],{"class":336},[294,5143,1295],{"class":311},[294,5145,1298],{"class":1195},[294,5147,1301],{"class":311},[294,5149,1279],{"class":1195},[294,5151,1282],{"class":311},[294,5153,5154,5156],{"class":296,"line":393},[294,5155,1310],{"class":1195},[294,5157,1313],{"class":311},[294,5159,5160,5162,5164],{"class":296,"line":404},[294,5161,1318],{"class":311},[294,5163,1321],{"class":1112},[294,5165,1324],{"class":311},[294,5167,5168,5170,5172,5174,5176],{"class":296,"line":415},[294,5169,1318],{"class":311},[294,5171,1331],{"class":1112},[294,5173,1270],{"class":311},[294,5175,1336],{"class":336},[294,5177,1339],{"class":311},[294,5179,5180,5182,5184,5186,5188],{"class":296,"line":423},[294,5181,1318],{"class":311},[294,5183,1346],{"class":1112},[294,5185,1270],{"class":311},[294,5187,1351],{"class":336},[294,5189,1339],{"class":311},[294,5191,5192,5194,5196,5198,5200,5202,5204,5206,5208,5210,5212],{"class":296,"line":432},[294,5193,1318],{"class":311},[294,5195,1360],{"class":1112},[294,5197,1270],{"class":311},[294,5199,1365],{"class":336},[294,5201,1295],{"class":311},[294,5203,1370],{"class":336},[294,5205,1373],{"class":311},[294,5207,1377],{"class":1376},[294,5209,1380],{"class":311},[294,5211,1279],{"class":1195},[294,5213,1282],{"class":311},[294,5215,5216],{"class":296,"line":440},[294,5217,1389],{"class":311},[294,5219,5220,5222,5224,5226,5228,5230,5232],{"class":296,"line":451},[294,5221,1394],{"class":311},[294,5223,1397],{"class":1112},[294,5225,1400],{"class":311},[294,5227,1403],{"class":336},[294,5229,312],{"class":311},[294,5231,1408],{"class":336},[294,5233,1411],{"class":311},[294,5235,5236,5238,5240],{"class":296,"line":459},[294,5237,1394],{"class":311},[294,5239,1418],{"class":1112},[294,5241,1232],{"class":311},[294,5243,5244,5246,5248],{"class":296,"line":467},[294,5245,1425],{"class":311},[294,5247,1428],{"class":336},[294,5249,1243],{"class":311},[294,5251,5252,5254,5256],{"class":296,"line":475},[294,5253,1435],{"class":311},[294,5255,1438],{"class":336},[294,5257,1243],{"class":311},[294,5259,5260,5262,5264],{"class":296,"line":486},[294,5261,1445],{"class":311},[294,5263,1448],{"class":336},[294,5265,1243],{"class":311},[294,5267,5268,5270,5272],{"class":296,"line":494},[294,5269,1455],{"class":311},[294,5271,1458],{"class":336},[294,5273,1243],{"class":311},[294,5275,5276],{"class":296,"line":502},[294,5277,1465],{"class":311},[294,5279,5280],{"class":296,"line":513},[294,5281,1470],{"class":311},[294,5283,5284,5286,5288,5290,5292,5294,5296,5298,5300],{"class":296,"line":521},[294,5285,1318],{"class":311},[294,5287,1477],{"class":1112},[294,5289,1270],{"class":311},[294,5291,1482],{"class":315},[294,5293,1373],{"class":311},[294,5295,1377],{"class":1376},[294,5297,1380],{"class":311},[294,5299,1279],{"class":1195},[294,5301,1282],{"class":311},[294,5303,5304,5306,5308],{"class":296,"line":529},[294,5305,1497],{"class":311},[294,5307,1418],{"class":1112},[294,5309,1232],{"class":311},[294,5311,5312,5314,5316,5318,5320],{"class":296,"line":537},[294,5313,1506],{"class":311},[294,5315,1509],{"class":1112},[294,5317,1270],{"class":311},[294,5319,1514],{"class":336},[294,5321,1517],{"class":311},[294,5323,5324,5326,5328],{"class":296,"line":548},[294,5325,1522],{"class":311},[294,5327,1525],{"class":336},[294,5329,1243],{"class":311},[294,5331,5332,5334,5336],{"class":296,"line":556},[294,5333,1532],{"class":311},[294,5335,1428],{"class":336},[294,5337,1243],{"class":311},[294,5339,5340,5342,5344],{"class":296,"line":566},[294,5341,1541],{"class":311},[294,5343,1438],{"class":336},[294,5345,1243],{"class":311},[294,5347,5348],{"class":296,"line":573},[294,5349,1550],{"class":311},[294,5351,5352],{"class":296,"line":580},[294,5353,1470],{"class":311},[294,5355,5356,5358,5360,5362,5364,5366,5368,5370,5372],{"class":296,"line":587},[294,5357,1318],{"class":311},[294,5359,1561],{"class":1112},[294,5361,1270],{"class":311},[294,5363,1298],{"class":1195},[294,5365,1568],{"class":311},[294,5367,1571],{"class":1376},[294,5369,1380],{"class":311},[294,5371,1279],{"class":1195},[294,5373,1282],{"class":311},[294,5375,5376,5378,5380,5382,5384,5386],{"class":296,"line":597},[294,5377,1582],{"class":1195},[294,5379,1585],{"class":315},[294,5381,1223],{"class":1195},[294,5383,1590],{"class":1195},[294,5385,1593],{"class":1112},[294,5387,1596],{"class":311},[294,5389,5390,5392,5394],{"class":296,"line":605},[294,5391,1532],{"class":311},[294,5393,1428],{"class":336},[294,5395,1243],{"class":311},[294,5397,5398,5400,5402],{"class":296,"line":615},[294,5399,1541],{"class":311},[294,5401,1438],{"class":336},[294,5403,1243],{"class":311},[294,5405,5406,5408,5410],{"class":296,"line":622},[294,5407,1617],{"class":311},[294,5409,1448],{"class":336},[294,5411,1243],{"class":311},[294,5413,5414,5416,5418],{"class":296,"line":629},[294,5415,1626],{"class":311},[294,5417,1458],{"class":336},[294,5419,1243],{"class":311},[294,5421,5422],{"class":296,"line":636},[294,5423,1550],{"class":311},[294,5425,5426,5428,5430,5432,5434,5436],{"class":296,"line":646},[294,5427,1639],{"class":1112},[294,5429,1642],{"class":311},[294,5431,1645],{"class":1112},[294,5433,1270],{"class":311},[294,5435,1525],{"class":336},[294,5437,1652],{"class":311},[294,5439,5440],{"class":296,"line":651},[294,5441,1657],{"class":311},[294,5443,5444],{"class":296,"line":659},[294,5445,1662],{"class":311},[294,5447,5448],{"class":296,"line":667},[294,5449,1258],{"class":311},[19,5451,1669],{},[79,5453,1673],{"id":1672},[19,5455,1676],{},[19,5457,5458,1568,5460,1295,5462,1688],{},[23,5459,1681],{},[291,5461,1684],{},[291,5463,1687],{},[19,5465,5466,1568,5468,1697],{},[23,5467,1693],{},[291,5469,1696],{},[19,5471,5472,1568,5474,1706],{},[23,5473,1702],{},[291,5475,1705],{},[19,5477,1709],{},[1711,5479,5480,5482,5484,5486],{},[50,5481,1715],{},[50,5483,1718],{},[50,5485,1721],{},[50,5487,1724],{},[79,5489,1728],{"id":1727},[19,5491,1731],{},[284,5493,5494],{"className":1181,"code":1734,"language":1183,"meta":289,"style":289},[291,5495,5496,5500,5512,5516,5528,5542,5552,5574,5592,5608,5616,5624,5636,5640,5644],{"__ignoreMap":289},[294,5497,5498],{"class":296,"line":297},[294,5499,1741],{"class":300},[294,5501,5502,5504,5506,5508,5510],{"class":296,"line":304},[294,5503,1196],{"class":1195},[294,5505,1748],{"class":311},[294,5507,1202],{"class":1195},[294,5509,1753],{"class":336},[294,5511,1208],{"class":311},[294,5513,5514],{"class":296,"line":319},[294,5515,366],{"emptyLinePlaceholder":365},[294,5517,5518,5520,5522,5524,5526],{"class":296,"line":328},[294,5519,1217],{"class":1195},[294,5521,1766],{"class":315},[294,5523,1223],{"class":1195},[294,5525,1771],{"class":1112},[294,5527,1232],{"class":311},[294,5529,5530,5532,5534,5536,5538,5540],{"class":296,"line":340},[294,5531,1778],{"class":311},[294,5533,1781],{"class":315},[294,5535,1784],{"class":1195},[294,5537,1787],{"class":315},[294,5539,1295],{"class":311},[294,5541,1792],{"class":300},[294,5543,5544,5546,5548,5550],{"class":296,"line":351},[294,5545,1797],{"class":311},[294,5547,1800],{"class":315},[294,5549,1803],{"class":311},[294,5551,1806],{"class":300},[294,5553,5554,5556,5558,5560,5562,5564,5566,5568,5570,5572],{"class":296,"line":362},[294,5555,1811],{"class":1112},[294,5557,1814],{"class":311},[294,5559,1817],{"class":1376},[294,5561,1380],{"class":311},[294,5563,1279],{"class":1195},[294,5565,1824],{"class":311},[294,5567,1827],{"class":336},[294,5569,1830],{"class":311},[294,5571,1833],{"class":1195},[294,5573,1836],{"class":311},[294,5575,5576,5578,5580,5582,5584,5586,5588,5590],{"class":296,"line":369},[294,5577,1841],{"class":1112},[294,5579,1814],{"class":311},[294,5581,1817],{"class":1376},[294,5583,1295],{"class":311},[294,5585,1850],{"class":1376},[294,5587,1380],{"class":311},[294,5589,1279],{"class":1195},[294,5591,1282],{"class":311},[294,5593,5594,5596,5598,5600,5602,5604,5606],{"class":296,"line":377},[294,5595,1861],{"class":311},[294,5597,1864],{"class":1112},[294,5599,1270],{"class":311},[294,5601,1869],{"class":315},[294,5603,1872],{"class":311},[294,5605,1875],{"class":1112},[294,5607,1232],{"class":311},[294,5609,5610,5612,5614],{"class":296,"line":385},[294,5611,1882],{"class":311},[294,5613,1885],{"class":336},[294,5615,1243],{"class":311},[294,5617,5618,5620,5622],{"class":296,"line":393},[294,5619,1892],{"class":311},[294,5621,1895],{"class":336},[294,5623,1243],{"class":311},[294,5625,5626,5628,5630,5632,5634],{"class":296,"line":404},[294,5627,1902],{"class":311},[294,5629,1905],{"class":1112},[294,5631,1270],{"class":311},[294,5633,1910],{"class":336},[294,5635,1517],{"class":311},[294,5637,5638],{"class":296,"line":415},[294,5639,1917],{"class":311},[294,5641,5642],{"class":296,"line":423},[294,5643,1922],{"class":311},[294,5645,5646],{"class":296,"line":432},[294,5647,1258],{"class":311},[19,5649,1929],{},[1711,5651,5652,5656,5660],{},[50,5653,5654,1937],{},[23,5655,1936],{},[50,5657,5658,1943],{},[23,5659,1942],{},[50,5661,5662,1949],{},[23,5663,1948],{},[1162,5665,5666],{"type":322},[19,5667,1954],{},[14,5669,1958],{"id":1957},[19,5671,1961],{},[79,5673,1965],{"id":1964},[1711,5675,5676,5680,5684,5688,5692,5696,5700],{},[50,5677,5678,1973],{},[23,5679,1972],{},[50,5681,5682,1979],{},[23,5683,1978],{},[50,5685,5686,1985],{},[23,5687,1984],{},[50,5689,5690,1991],{},[23,5691,1990],{},[50,5693,5694,1997],{},[23,5695,1996],{},[50,5697,5698,2003],{},[23,5699,2002],{},[50,5701,5702,2009],{},[23,5703,2008],{},[19,5705,2012,5706,2017],{},[230,5707,2016],{"href":2015},[14,5709,2021],{"id":2020},[19,5711,2024],{},[79,5713,2028],{"id":2027},[19,5715,2031],{},[79,5717,2035],{"id":2034},[19,5719,2038,5720,2042,5722,2046,5724,2050],{},[291,5721,2041],{},[291,5723,2045],{},[291,5725,2049],{},[79,5727,2054],{"id":2053},[19,5729,2057],{},[284,5731,5732],{"className":1181,"code":2060,"language":1183,"meta":289,"style":289},[291,5733,5734,5738,5750,5760,5768,5782,5792,5802,5806,5810,5814],{"__ignoreMap":289},[294,5735,5736],{"class":296,"line":297},[294,5737,2067],{"class":300},[294,5739,5740,5742,5744,5746,5748],{"class":296,"line":304},[294,5741,2072],{"class":1195},[294,5743,2075],{"class":1112},[294,5745,2078],{"class":311},[294,5747,2081],{"class":1112},[294,5749,2084],{"class":311},[294,5751,5752,5754,5756,5758],{"class":296,"line":319},[294,5753,2089],{"class":1376},[294,5755,2092],{"class":1195},[294,5757,2095],{"class":1112},[294,5759,2098],{"class":311},[294,5761,5762,5764,5766],{"class":296,"line":328},[294,5763,2103],{"class":1376},[294,5765,2092],{"class":1195},[294,5767,1282],{"class":311},[294,5769,5770,5772,5774,5776,5778,5780],{"class":296,"line":340},[294,5771,2112],{"class":1376},[294,5773,2092],{"class":1195},[294,5775,2117],{"class":315},[294,5777,2120],{"class":1195},[294,5779,2123],{"class":315},[294,5781,1208],{"class":311},[294,5783,5784,5786,5788,5790],{"class":296,"line":351},[294,5785,2130],{"class":1376},[294,5787,2092],{"class":1195},[294,5789,2135],{"class":315},[294,5791,1208],{"class":311},[294,5793,5794,5796,5798,5800],{"class":296,"line":362},[294,5795,2142],{"class":1376},[294,5797,2092],{"class":1195},[294,5799,2147],{"class":315},[294,5801,1208],{"class":311},[294,5803,5804],{"class":296,"line":369},[294,5805,2154],{"class":311},[294,5807,5808],{"class":296,"line":377},[294,5809,2159],{"class":311},[294,5811,5812],{"class":296,"line":385},[294,5813,366],{"emptyLinePlaceholder":365},[294,5815,5816],{"class":296,"line":393},[294,5817,2168],{"class":300},[19,5819,2171],{},[79,5821,2175],{"id":2174},[19,5823,2178,5824,2183],{},[2180,5825,2182],{},[79,5827,2187],{"id":2186},[19,5829,2190,5830,2194],{},[291,5831,2193],{},[284,5833,5834],{"className":2197,"code":2198,"language":1875,"meta":289,"style":289},[291,5835,5836,5840,5846,5856,5866,5872,5882,5888,5894,5900,5904,5908,5912,5916],{"__ignoreMap":289},[294,5837,5838],{"class":296,"line":297},[294,5839,2205],{"class":311},[294,5841,5842,5844],{"class":296,"line":304},[294,5843,2210],{"class":315},[294,5845,2213],{"class":311},[294,5847,5848,5850,5852,5854],{"class":296,"line":319},[294,5849,2218],{"class":315},[294,5851,312],{"class":311},[294,5853,2223],{"class":336},[294,5855,1243],{"class":311},[294,5857,5858,5860,5862,5864],{"class":296,"line":328},[294,5859,2230],{"class":315},[294,5861,312],{"class":311},[294,5863,2235],{"class":336},[294,5865,1243],{"class":311},[294,5867,5868,5870],{"class":296,"line":340},[294,5869,2242],{"class":315},[294,5871,2213],{"class":311},[294,5873,5874,5876,5878,5880],{"class":296,"line":351},[294,5875,2249],{"class":315},[294,5877,312],{"class":311},[294,5879,2254],{"class":336},[294,5881,1243],{"class":311},[294,5883,5884,5886],{"class":296,"line":362},[294,5885,2261],{"class":315},[294,5887,2264],{"class":311},[294,5889,5890,5892],{"class":296,"line":369},[294,5891,2269],{"class":336},[294,5893,1243],{"class":311},[294,5895,5896,5898],{"class":296,"line":377},[294,5897,2276],{"class":336},[294,5899,1243],{"class":311},[294,5901,5902],{"class":296,"line":385},[294,5903,2283],{"class":336},[294,5905,5906],{"class":296,"line":393},[294,5907,2288],{"class":311},[294,5909,5910],{"class":296,"line":404},[294,5911,2293],{"class":311},[294,5913,5914],{"class":296,"line":415},[294,5915,2298],{"class":311},[294,5917,5918],{"class":296,"line":423},[294,5919,2159],{"class":311},[19,5921,2305],{},[14,5923,2309],{"id":2308},[19,5925,2312],{},[47,5927,5928,5932,5936,5940,5944],{},[50,5929,5930,2320],{},[23,5931,2319],{},[50,5933,5934,2326],{},[23,5935,2325],{},[50,5937,5938,2332],{},[23,5939,2331],{},[50,5941,5942,2338],{},[23,5943,2337],{},[50,5945,5946,2344],{},[23,5947,2343],{},[19,5949,2347],{},[19,5951,2350,5952,2355],{},[230,5953,2354],{"href":2353},[2357,5955],{},[19,5957,5958],{},[2180,5959,2363,5960,2368],{},[230,5961,2367],{"href":2366},[2370,5963,2372],{},{"title":289,"searchDepth":304,"depth":304,"links":5965},[5966,5967,5968,5973,5979,5986,5989,5996],{"id":16,"depth":304,"text":17},{"id":38,"depth":304,"text":39},{"id":73,"depth":304,"text":74,"children":5969},[5970,5971,5972],{"id":81,"depth":319,"text":82},{"id":97,"depth":319,"text":98},{"id":111,"depth":319,"text":112},{"id":214,"depth":304,"text":215,"children":5974},[5975,5976,5977,5978],{"id":221,"depth":319,"text":222},{"id":237,"depth":319,"text":238},{"id":244,"depth":319,"text":245},{"id":264,"depth":319,"text":265},{"id":271,"depth":304,"text":272,"children":5980},[5981,5982,5983,5984,5985],{"id":278,"depth":319,"text":279},{"id":1091,"depth":319,"text":1092},{"id":1174,"depth":319,"text":1175},{"id":1672,"depth":319,"text":1673},{"id":1727,"depth":319,"text":1728},{"id":1957,"depth":304,"text":1958,"children":5987},[5988],{"id":1964,"depth":319,"text":1965},{"id":2020,"depth":304,"text":2021,"children":5990},[5991,5992,5993,5994,5995],{"id":2027,"depth":319,"text":2028},{"id":2034,"depth":319,"text":2035},{"id":2053,"depth":319,"text":2054},{"id":2174,"depth":319,"text":2175},{"id":2186,"depth":319,"text":2187},{"id":2308,"depth":304,"text":2309},{},{"title":6,"description":2409},[2418,141,2419,2420],{"id":2423,"title":2424,"author":6001,"body":6002,"category":3613,"coverImage":2407,"date":3614,"description":3615,"extension":2410,"featured":365,"meta":6920,"navigation":365,"path":3617,"readingTime":3618,"seo":6921,"stem":3620,"tags":6922,"__hash__":3625},{"name":2426,"role":2427},{"type":11,"value":6003,"toc":6894},[6004,6006,6010,6012,6016,6018,6020,6022,6024,6026,6028,6030,6032,6034,6036,6038,6040,6058,6326,6330,6332,6334,6336,6338,6340,6342,6344,6612,6614,6616,6618,6668,6670,6674,6676,6678,6680,6682,6684,6688,6690,6692,6694,6696,6714,6716,6718,6720,6734,6736,6738,6740,6742,6752,6754,6756,6758,6780,6782,6784,6786,6848,6852,6858,6860,6862,6882,6884,6886,6892],[14,6005,2433],{"id":2432},[19,6007,2436,6008,2439],{},[23,6009,252],{},[19,6011,2442],{},[31,6013,6014],{},[19,6015,2447],{},[14,6017,2451],{"id":2450},[19,6019,2454],{},[79,6021,2458],{"id":2457},[19,6023,2461],{},[79,6025,2465],{"id":2464},[19,6027,2468],{},[79,6029,2472],{"id":2471},[19,6031,2475],{},[19,6033,2478],{},[79,6035,2482],{"id":2481},[19,6037,2485],{},[19,6039,2488],{},[47,6041,6042,6046,6050,6054],{},[50,6043,6044,2496],{},[23,6045,2495],{},[50,6047,6048,2502],{},[23,6049,2501],{},[50,6051,6052,2508],{},[23,6053,2507],{},[50,6055,6056,2514],{},[23,6057,2513],{},[284,6059,6060],{"className":1181,"code":2517,"language":1183,"meta":289,"style":289},[291,6061,6062,6066,6074,6084,6094,6104,6122,6126,6130,6140,6150,6160,6174,6188,6202,6206,6222,6234,6238,6242,6250,6254,6258,6264,6286,6302,6306,6310,6314,6318,6322],{"__ignoreMap":289},[294,6063,6064],{"class":296,"line":297},[294,6065,2524],{"class":300},[294,6067,6068,6070,6072],{"class":296,"line":304},[294,6069,2072],{"class":1195},[294,6071,2531],{"class":1112},[294,6073,1282],{"class":311},[294,6075,6076,6078,6080,6082],{"class":296,"line":319},[294,6077,2538],{"class":1376},[294,6079,2092],{"class":1195},[294,6081,2117],{"class":315},[294,6083,1208],{"class":311},[294,6085,6086,6088,6090,6092],{"class":296,"line":328},[294,6087,2549],{"class":1376},[294,6089,2092],{"class":1195},[294,6091,2117],{"class":315},[294,6093,1208],{"class":311},[294,6095,6096,6098,6100,6102],{"class":296,"line":340},[294,6097,2560],{"class":1376},[294,6099,2092],{"class":1195},[294,6101,2147],{"class":315},[294,6103,1208],{"class":311},[294,6105,6106,6108,6110,6112,6114,6116,6118,6120],{"class":296,"line":351},[294,6107,2571],{"class":1376},[294,6109,2092],{"class":1195},[294,6111,2576],{"class":1112},[294,6113,2078],{"class":311},[294,6115,2581],{"class":315},[294,6117,1295],{"class":311},[294,6119,2586],{"class":315},[294,6121,2589],{"class":311},[294,6123,6124],{"class":296,"line":362},[294,6125,2159],{"class":311},[294,6127,6128],{"class":296,"line":369},[294,6129,366],{"emptyLinePlaceholder":365},[294,6131,6132,6134,6136,6138],{"class":296,"line":377},[294,6133,1298],{"class":1195},[294,6135,2604],{"class":1195},[294,6137,2607],{"class":1112},[294,6139,2610],{"class":311},[294,6141,6142,6144,6146,6148],{"class":296,"line":385},[294,6143,2615],{"class":1376},[294,6145,2092],{"class":1195},[294,6147,2117],{"class":315},[294,6149,1243],{"class":311},[294,6151,6152,6154,6156,6158],{"class":296,"line":393},[294,6153,2626],{"class":1376},[294,6155,2092],{"class":1195},[294,6157,2117],{"class":315},[294,6159,1243],{"class":311},[294,6161,6162,6164,6166,6168,6170,6172],{"class":296,"line":404},[294,6163,2637],{"class":1376},[294,6165,2092],{"class":1195},[294,6167,2147],{"class":315},[294,6169,1223],{"class":1195},[294,6171,2646],{"class":315},[294,6173,1243],{"class":311},[294,6175,6176,6178,6180,6182,6184,6186],{"class":296,"line":415},[294,6177,2653],{"class":311},[294,6179,2092],{"class":1195},[294,6181,2658],{"class":1112},[294,6183,2078],{"class":311},[294,6185,2663],{"class":1112},[294,6187,2666],{"class":311},[294,6189,6190,6192,6194,6196,6198,6200],{"class":296,"line":423},[294,6191,2671],{"class":1195},[294,6193,2674],{"class":315},[294,6195,1223],{"class":1195},[294,6197,1590],{"class":1195},[294,6199,2681],{"class":1112},[294,6201,2684],{"class":311},[294,6203,6204],{"class":296,"line":432},[294,6205,366],{"emptyLinePlaceholder":365},[294,6207,6208,6210,6212,6214,6216,6218,6220],{"class":296,"line":440},[294,6209,2671],{"class":1195},[294,6211,2695],{"class":315},[294,6213,1223],{"class":1195},[294,6215,1590],{"class":1195},[294,6217,2702],{"class":311},[294,6219,2705],{"class":1112},[294,6221,1232],{"class":311},[294,6223,6224,6226,6228,6230,6232],{"class":296,"line":451},[294,6225,2712],{"class":311},[294,6227,2715],{"class":336},[294,6229,2718],{"class":311},[294,6231,2721],{"class":336},[294,6233,1243],{"class":311},[294,6235,6236],{"class":296,"line":459},[294,6237,2728],{"class":311},[294,6239,6240],{"class":296,"line":467},[294,6241,2733],{"class":311},[294,6243,6244,6246,6248],{"class":296,"line":475},[294,6245,2738],{"class":311},[294,6247,2741],{"class":315},[294,6249,2744],{"class":311},[294,6251,6252],{"class":296,"line":486},[294,6253,1662],{"class":311},[294,6255,6256],{"class":296,"line":494},[294,6257,366],{"emptyLinePlaceholder":365},[294,6259,6260,6262],{"class":296,"line":502},[294,6261,2757],{"class":1195},[294,6263,2760],{"class":311},[294,6265,6266,6268,6270,6272,6274,6276,6278,6280,6282,6284],{"class":296,"line":513},[294,6267,2765],{"class":311},[294,6269,2768],{"class":1112},[294,6271,2771],{"class":311},[294,6273,2774],{"class":1376},[294,6275,1380],{"class":311},[294,6277,1279],{"class":1195},[294,6279,2781],{"class":311},[294,6281,2784],{"class":1195},[294,6283,2787],{"class":315},[294,6285,1339],{"class":311},[294,6287,6288,6290,6292,6294,6296,6298,6300],{"class":296,"line":521},[294,6289,2765],{"class":311},[294,6291,2796],{"class":1112},[294,6293,2771],{"class":311},[294,6295,2774],{"class":1376},[294,6297,1380],{"class":311},[294,6299,1279],{"class":1195},[294,6301,2807],{"class":311},[294,6303,6304],{"class":296,"line":529},[294,6305,2812],{"class":311},[294,6307,6308],{"class":296,"line":537},[294,6309,2817],{"class":311},[294,6311,6312],{"class":296,"line":548},[294,6313,2822],{"class":311},[294,6315,6316],{"class":296,"line":556},[294,6317,2827],{"class":311},[294,6319,6320],{"class":296,"line":566},[294,6321,2832],{"class":311},[294,6323,6324],{"class":296,"line":573},[294,6325,2159],{"class":311},[1162,6327,6328],{"type":322},[19,6329,2841],{},[79,6331,2845],{"id":2844},[19,6333,2848],{},[19,6335,2851],{},[14,6337,2855],{"id":2854},[19,6339,2858],{},[79,6341,2862],{"id":2861},[19,6343,2865],{},[284,6345,6346],{"className":1181,"code":2868,"language":1183,"meta":289,"style":289},[291,6347,6348,6352,6362,6370,6374,6380,6384,6392,6396,6400,6408,6416,6436,6440,6444,6452,6460,6468,6472,6476,6484,6500,6508,6512,6516,6524,6532,6536,6540,6548,6556,6560,6564,6572,6580,6584,6588,6604,6608],{"__ignoreMap":289},[294,6349,6350],{"class":296,"line":297},[294,6351,2875],{"class":300},[294,6353,6354,6356,6358,6360],{"class":296,"line":304},[294,6355,1217],{"class":1195},[294,6357,2882],{"class":315},[294,6359,1223],{"class":1195},[294,6361,1282],{"class":311},[294,6363,6364,6366,6368],{"class":296,"line":319},[294,6365,2891],{"class":311},[294,6367,2894],{"class":336},[294,6369,1243],{"class":311},[294,6371,6372],{"class":296,"line":328},[294,6373,2901],{"class":311},[294,6375,6376,6378],{"class":296,"line":340},[294,6377,2906],{"class":336},[294,6379,1243],{"class":311},[294,6381,6382],{"class":296,"line":351},[294,6383,2913],{"class":311},[294,6385,6386,6388,6390],{"class":296,"line":362},[294,6387,2918],{"class":311},[294,6389,2921],{"class":336},[294,6391,1243],{"class":311},[294,6393,6394],{"class":296,"line":369},[294,6395,2928],{"class":311},[294,6397,6398],{"class":296,"line":377},[294,6399,2933],{"class":311},[294,6401,6402,6404,6406],{"class":296,"line":385},[294,6403,2938],{"class":311},[294,6405,2941],{"class":336},[294,6407,1243],{"class":311},[294,6409,6410,6412,6414],{"class":296,"line":393},[294,6411,2948],{"class":311},[294,6413,2951],{"class":336},[294,6415,1243],{"class":311},[294,6417,6418,6420,6422,6424,6426,6428,6430,6432,6434],{"class":296,"line":404},[294,6419,2958],{"class":311},[294,6421,1428],{"class":336},[294,6423,1295],{"class":311},[294,6425,2965],{"class":336},[294,6427,1295],{"class":311},[294,6429,2970],{"class":336},[294,6431,1295],{"class":311},[294,6433,2975],{"class":336},[294,6435,2978],{"class":311},[294,6437,6438],{"class":296,"line":415},[294,6439,2983],{"class":311},[294,6441,6442],{"class":296,"line":423},[294,6443,2988],{"class":311},[294,6445,6446,6448,6450],{"class":296,"line":432},[294,6447,2938],{"class":311},[294,6449,2941],{"class":336},[294,6451,1243],{"class":311},[294,6453,6454,6456,6458],{"class":296,"line":440},[294,6455,3001],{"class":311},[294,6457,3004],{"class":336},[294,6459,1243],{"class":311},[294,6461,6462,6464,6466],{"class":296,"line":451},[294,6463,2948],{"class":311},[294,6465,3013],{"class":336},[294,6467,1243],{"class":311},[294,6469,6470],{"class":296,"line":459},[294,6471,2983],{"class":311},[294,6473,6474],{"class":296,"line":467},[294,6475,3024],{"class":311},[294,6477,6478,6480,6482],{"class":296,"line":475},[294,6479,2938],{"class":311},[294,6481,2941],{"class":336},[294,6483,1243],{"class":311},[294,6485,6486,6488,6490,6492,6494,6496,6498],{"class":296,"line":486},[294,6487,2958],{"class":311},[294,6489,3039],{"class":336},[294,6491,1295],{"class":311},[294,6493,3044],{"class":336},[294,6495,1295],{"class":311},[294,6497,3049],{"class":336},[294,6499,2978],{"class":311},[294,6501,6502,6504,6506],{"class":296,"line":494},[294,6503,2948],{"class":311},[294,6505,3058],{"class":336},[294,6507,1243],{"class":311},[294,6509,6510],{"class":296,"line":502},[294,6511,2983],{"class":311},[294,6513,6514],{"class":296,"line":513},[294,6515,3069],{"class":311},[294,6517,6518,6520,6522],{"class":296,"line":521},[294,6519,2938],{"class":311},[294,6521,2941],{"class":336},[294,6523,1243],{"class":311},[294,6525,6526,6528,6530],{"class":296,"line":529},[294,6527,2948],{"class":311},[294,6529,3084],{"class":336},[294,6531,1243],{"class":311},[294,6533,6534],{"class":296,"line":537},[294,6535,2983],{"class":311},[294,6537,6538],{"class":296,"line":548},[294,6539,3095],{"class":311},[294,6541,6542,6544,6546],{"class":296,"line":556},[294,6543,2938],{"class":311},[294,6545,2941],{"class":336},[294,6547,1243],{"class":311},[294,6549,6550,6552,6554],{"class":296,"line":566},[294,6551,2948],{"class":311},[294,6553,3110],{"class":336},[294,6555,1243],{"class":311},[294,6557,6558],{"class":296,"line":573},[294,6559,2983],{"class":311},[294,6561,6562],{"class":296,"line":580},[294,6563,3121],{"class":311},[294,6565,6566,6568,6570],{"class":296,"line":587},[294,6567,2938],{"class":311},[294,6569,2941],{"class":336},[294,6571,1243],{"class":311},[294,6573,6574,6576,6578],{"class":296,"line":597},[294,6575,2948],{"class":311},[294,6577,3136],{"class":336},[294,6579,1243],{"class":311},[294,6581,6582],{"class":296,"line":605},[294,6583,2983],{"class":311},[294,6585,6586],{"class":296,"line":615},[294,6587,3147],{"class":311},[294,6589,6590,6592,6594,6596,6598,6600,6602],{"class":296,"line":622},[294,6591,3152],{"class":311},[294,6593,3155],{"class":336},[294,6595,1295],{"class":311},[294,6597,3160],{"class":336},[294,6599,1295],{"class":311},[294,6601,3165],{"class":336},[294,6603,2978],{"class":311},[294,6605,6606],{"class":296,"line":629},[294,6607,1922],{"class":311},[294,6609,6610],{"class":296,"line":636},[294,6611,3176],{"class":311},[79,6613,3180],{"id":3179},[19,6615,3183],{},[19,6617,3186],{},[47,6619,6620,6624,6630,6634,6638,6642,6646,6650,6654,6658,6664],{},[50,6621,6622,3194],{},[23,6623,3193],{},[50,6625,6626,3200,6628],{},[23,6627,3199],{},[291,6629,3203],{},[50,6631,6632,3209],{},[23,6633,3208],{},[50,6635,6636,3214],{},[23,6637,3199],{},[50,6639,6640,3219],{},[23,6641,3193],{},[50,6643,6644,3224],{},[23,6645,3199],{},[50,6647,6648,3229],{},[23,6649,3193],{},[50,6651,6652,3234],{},[23,6653,3199],{},[50,6655,6656,3239],{},[23,6657,3193],{},[50,6659,6660,3200,6662],{},[23,6661,3199],{},[291,6663,3246],{},[50,6665,6666,3251],{},[23,6667,3199],{},[19,6669,3254],{},[1162,6671,6672],{"type":1164},[19,6673,3259],{},[14,6675,3263],{"id":3262},[19,6677,3266],{},[79,6679,3270],{"id":3269},[19,6681,3273],{},[79,6683,3277],{"id":3276},[19,6685,3280,6686,3284],{},[230,6687,3283],{"href":2353},[14,6689,3288],{"id":3287},[19,6691,3291],{},[79,6693,3295],{"id":3294},[19,6695,3298],{},[1711,6697,6698,6702,6706,6710],{},[50,6699,6700,3306],{},[23,6701,3305],{},[50,6703,6704,3312],{},[23,6705,3311],{},[50,6707,6708,3318],{},[23,6709,3317],{},[50,6711,6712,3324],{},[23,6713,3323],{},[79,6715,3328],{"id":3327},[19,6717,3331],{},[19,6719,3334],{},[47,6721,6722,6726,6730],{},[50,6723,6724,3342],{},[23,6725,3341],{},[50,6727,6728,3348],{},[23,6729,3347],{},[50,6731,6732,3354],{},[23,6733,3353],{},[19,6735,3357],{},[79,6737,3361],{"id":3360},[19,6739,3364],{},[19,6741,3367],{},[1711,6743,6744,6746,6748,6750],{},[50,6745,3372],{},[50,6747,3375],{},[50,6749,3378],{},[50,6751,3381],{},[19,6753,3384],{},[79,6755,3388],{"id":3387},[19,6757,3391],{},[1711,6759,6760,6764,6768,6772,6776],{},[50,6761,6762,3399],{},[23,6763,3398],{},[50,6765,6766,3405],{},[23,6767,3404],{},[50,6769,6770,3411],{},[23,6771,3410],{},[50,6773,6774,3417],{},[23,6775,3416],{},[50,6777,6778,3423],{},[23,6779,3422],{},[19,6781,3426],{},[14,6783,3430],{"id":3429},[19,6785,3433],{},[124,6787,6788,6798],{},[127,6789,6790],{},[130,6791,6792,6794,6796],{},[133,6793,3442],{},[133,6795,3445],{},[133,6797,3448],{},[143,6799,6800,6808,6816,6824,6832,6840],{},[130,6801,6802,6804,6806],{},[148,6803,3455],{},[148,6805,3458],{},[148,6807,3461],{},[130,6809,6810,6812,6814],{},[148,6811,3466],{},[148,6813,3469],{},[148,6815,3472],{},[130,6817,6818,6820,6822],{},[148,6819,3477],{},[148,6821,3480],{},[148,6823,3483],{},[130,6825,6826,6828,6830],{},[148,6827,3488],{},[148,6829,3491],{},[148,6831,3494],{},[130,6833,6834,6836,6838],{},[148,6835,3499],{},[148,6837,3502],{},[148,6839,3505],{},[130,6841,6842,6844,6846],{},[148,6843,3510],{},[148,6845,3513],{},[148,6847,3516],{},[19,6849,3519,6850,3523],{},[230,6851,3522],{"href":251},[1162,6853,6854],{"type":322},[19,6855,3528,6856,3532],{},[2180,6857,3531],{},[14,6859,3536],{"id":3535},[19,6861,3539],{},[1711,6863,6864,6868,6872,6878],{},[50,6865,6866,3547],{},[23,6867,3546],{},[50,6869,6870,3553],{},[23,6871,3552],{},[50,6873,6874,3563],{},[23,6875,3558,6876],{},[230,6877,3562],{"href":3561},[50,6879,6880,3569],{},[23,6881,3568],{},[19,6883,3572],{},[2357,6885],{},[19,6887,6888],{},[2180,6889,3579,6890,3583],{},[230,6891,3582],{"href":2366},[2370,6893,3586],{},{"title":289,"searchDepth":304,"depth":304,"links":6895},[6896,6897,6904,6908,6912,6918,6919],{"id":2432,"depth":304,"text":2433},{"id":2450,"depth":304,"text":2451,"children":6898},[6899,6900,6901,6902,6903],{"id":2457,"depth":319,"text":2458},{"id":2464,"depth":319,"text":2465},{"id":2471,"depth":319,"text":2472},{"id":2481,"depth":319,"text":2482},{"id":2844,"depth":319,"text":2845},{"id":2854,"depth":304,"text":2855,"children":6905},[6906,6907],{"id":2861,"depth":319,"text":2862},{"id":3179,"depth":319,"text":3180},{"id":3262,"depth":304,"text":3263,"children":6909},[6910,6911],{"id":3269,"depth":319,"text":3270},{"id":3276,"depth":319,"text":3277},{"id":3287,"depth":304,"text":3288,"children":6913},[6914,6915,6916,6917],{"id":3294,"depth":319,"text":3295},{"id":3327,"depth":319,"text":3328},{"id":3360,"depth":319,"text":3361},{"id":3387,"depth":319,"text":3388},{"id":3429,"depth":304,"text":3430},{"id":3535,"depth":304,"text":3536},{},{"title":2424,"description":3615},[252,3622,3623,3624],{"id":6924,"title":6925,"author":6926,"body":6929,"category":8101,"coverImage":2407,"date":8102,"description":8103,"extension":2410,"featured":2411,"meta":8104,"navigation":365,"path":8105,"readingTime":8106,"seo":8107,"stem":8108,"tags":8109,"__hash__":8113},"blog/blog/cloud-native-architecture.md","Cloud-Native Architecture: Building for Global Scale",{"name":6927,"role":6928},"Kavinda Silva","Principal Architect",{"type":11,"value":6930,"toc":8090},[6931,6935,6938,6942,6946,6949,7336,7646,7650,7653,7656,7676,7681,7685,7688,7708,7713,7717,7720,7965,7971,7975,7978,7981,8007,8011,8014,8074,8077,8079,8087],[14,6932,6934],{"id":6933},"beyond-containers-true-cloud-native-thinking","Beyond Containers: True Cloud-Native Thinking",[19,6936,6937],{},"Cloud-native isn't just about running containers in Kubernetes. It's a philosophy — a way of designing systems that fully exploits the cloud's elastic, distributed nature. After architecting platforms that serve millions of users across four continents, we've distilled our approach into core principles.",[14,6939,6941],{"id":6940},"the-three-pillars-of-cloud-native-architecture","The Three Pillars of Cloud-Native Architecture",[79,6943,6945],{"id":6944},"_1-resilience-as-a-first-class-concern","1. Resilience as a First-Class Concern",[19,6947,6948],{},"Every service must be designed to fail gracefully. This isn't pessimism — it's engineering reality. In a distributed system with hundreds of services, something is always failing.",[284,6950,6954],{"className":6951,"code":6952,"language":6953,"meta":289,"style":289},"language-go shiki shiki-themes github-light github-dark","// Circuit breaker pattern in Go\ntype CircuitBreaker struct {\n    maxFailures   int\n    resetTimeout  time.Duration\n    failures      int\n    lastFailure   time.Time\n    state         State\n    mu            sync.Mutex\n}\n\nfunc (cb *CircuitBreaker) Execute(fn func() error) error {\n    cb.mu.Lock()\n    if cb.state == Open {\n        if time.Since(cb.lastFailure) > cb.resetTimeout {\n            cb.state = HalfOpen\n        } else {\n            cb.mu.Unlock()\n            return ErrCircuitOpen\n        }\n    }\n    cb.mu.Unlock()\n\n    err := fn()\n    cb.mu.Lock()\n    defer cb.mu.Unlock()\n\n    if err != nil {\n        cb.failures++\n        cb.lastFailure = time.Now()\n        if cb.failures >= cb.maxFailures {\n            cb.state = Open\n        }\n        return err\n    }\n\n    cb.failures = 0\n    cb.state = Closed\n    return nil\n}\n","go",[291,6955,6956,6961,6974,6982,6996,7003,7015,7023,7036,7040,7044,7085,7095,7109,7128,7139,7149,7159,7167,7172,7176,7184,7188,7201,7209,7221,7225,7240,7248,7262,7275,7284,7288,7296,7300,7304,7314,7324,7332],{"__ignoreMap":289},[294,6957,6958],{"class":296,"line":297},[294,6959,6960],{"class":300},"// Circuit breaker pattern in Go\n",[294,6962,6963,6966,6969,6972],{"class":296,"line":304},[294,6964,6965],{"class":1195},"type",[294,6967,6968],{"class":1112}," CircuitBreaker",[294,6970,6971],{"class":1195}," struct",[294,6973,1282],{"class":311},[294,6975,6976,6979],{"class":296,"line":319},[294,6977,6978],{"class":311},"    maxFailures   ",[294,6980,6981],{"class":1195},"int\n",[294,6983,6984,6987,6990,6993],{"class":296,"line":328},[294,6985,6986],{"class":311},"    resetTimeout  ",[294,6988,6989],{"class":1112},"time",[294,6991,6992],{"class":311},".",[294,6994,6995],{"class":1112},"Duration\n",[294,6997,6998,7001],{"class":296,"line":340},[294,6999,7000],{"class":311},"    failures      ",[294,7002,6981],{"class":1195},[294,7004,7005,7008,7010,7012],{"class":296,"line":351},[294,7006,7007],{"class":311},"    lastFailure   ",[294,7009,6989],{"class":1112},[294,7011,6992],{"class":311},[294,7013,7014],{"class":1112},"Time\n",[294,7016,7017,7020],{"class":296,"line":362},[294,7018,7019],{"class":311},"    state         ",[294,7021,7022],{"class":1112},"State\n",[294,7024,7025,7028,7031,7033],{"class":296,"line":369},[294,7026,7027],{"class":311},"    mu            ",[294,7029,7030],{"class":1112},"sync",[294,7032,6992],{"class":311},[294,7034,7035],{"class":1112},"Mutex\n",[294,7037,7038],{"class":296,"line":377},[294,7039,2159],{"class":311},[294,7041,7042],{"class":296,"line":385},[294,7043,366],{"emptyLinePlaceholder":365},[294,7045,7046,7049,7051,7054,7057,7060,7062,7065,7067,7070,7073,7076,7079,7081,7083],{"class":296,"line":393},[294,7047,7048],{"class":1195},"func",[294,7050,1568],{"class":311},[294,7052,7053],{"class":1376},"cb ",[294,7055,7056],{"class":1195},"*",[294,7058,7059],{"class":1112},"CircuitBreaker",[294,7061,1380],{"class":311},[294,7063,7064],{"class":1112},"Execute",[294,7066,1270],{"class":311},[294,7068,7069],{"class":1376},"fn",[294,7071,7072],{"class":1195}," func",[294,7074,7075],{"class":311},"() ",[294,7077,7078],{"class":1195},"error",[294,7080,1380],{"class":311},[294,7082,7078],{"class":1195},[294,7084,1282],{"class":311},[294,7086,7087,7090,7093],{"class":296,"line":404},[294,7088,7089],{"class":311},"    cb.mu.",[294,7091,7092],{"class":1112},"Lock",[294,7094,1324],{"class":311},[294,7096,7097,7100,7103,7106],{"class":296,"line":415},[294,7098,7099],{"class":1195},"    if",[294,7101,7102],{"class":311}," cb.state ",[294,7104,7105],{"class":1195},"==",[294,7107,7108],{"class":311}," Open {\n",[294,7110,7111,7114,7117,7120,7123,7125],{"class":296,"line":423},[294,7112,7113],{"class":1195},"        if",[294,7115,7116],{"class":311}," time.",[294,7118,7119],{"class":1112},"Since",[294,7121,7122],{"class":311},"(cb.lastFailure) ",[294,7124,2784],{"class":1195},[294,7126,7127],{"class":311}," cb.resetTimeout {\n",[294,7129,7130,7133,7136],{"class":296,"line":432},[294,7131,7132],{"class":311},"            cb.state ",[294,7134,7135],{"class":1195},"=",[294,7137,7138],{"class":311}," HalfOpen\n",[294,7140,7141,7144,7147],{"class":296,"line":440},[294,7142,7143],{"class":311},"        } ",[294,7145,7146],{"class":1195},"else",[294,7148,1282],{"class":311},[294,7150,7151,7154,7157],{"class":296,"line":451},[294,7152,7153],{"class":311},"            cb.mu.",[294,7155,7156],{"class":1112},"Unlock",[294,7158,1324],{"class":311},[294,7160,7161,7164],{"class":296,"line":459},[294,7162,7163],{"class":1195},"            return",[294,7165,7166],{"class":311}," ErrCircuitOpen\n",[294,7168,7169],{"class":296,"line":467},[294,7170,7171],{"class":311},"        }\n",[294,7173,7174],{"class":296,"line":475},[294,7175,2293],{"class":311},[294,7177,7178,7180,7182],{"class":296,"line":486},[294,7179,7089],{"class":311},[294,7181,7156],{"class":1112},[294,7183,1324],{"class":311},[294,7185,7186],{"class":296,"line":494},[294,7187,366],{"emptyLinePlaceholder":365},[294,7189,7190,7193,7196,7199],{"class":296,"line":502},[294,7191,7192],{"class":311},"    err ",[294,7194,7195],{"class":1195},":=",[294,7197,7198],{"class":1112}," fn",[294,7200,1324],{"class":311},[294,7202,7203,7205,7207],{"class":296,"line":513},[294,7204,7089],{"class":311},[294,7206,7092],{"class":1112},[294,7208,1324],{"class":311},[294,7210,7211,7214,7217,7219],{"class":296,"line":521},[294,7212,7213],{"class":1195},"    defer",[294,7215,7216],{"class":311}," cb.mu.",[294,7218,7156],{"class":1112},[294,7220,1324],{"class":311},[294,7222,7223],{"class":296,"line":529},[294,7224,366],{"emptyLinePlaceholder":365},[294,7226,7227,7229,7232,7235,7238],{"class":296,"line":537},[294,7228,7099],{"class":1195},[294,7230,7231],{"class":311}," err ",[294,7233,7234],{"class":1195},"!=",[294,7236,7237],{"class":315}," nil",[294,7239,1282],{"class":311},[294,7241,7242,7245],{"class":296,"line":548},[294,7243,7244],{"class":311},"        cb.failures",[294,7246,7247],{"class":1195},"++\n",[294,7249,7250,7253,7255,7257,7260],{"class":296,"line":556},[294,7251,7252],{"class":311},"        cb.lastFailure ",[294,7254,7135],{"class":1195},[294,7256,7116],{"class":311},[294,7258,7259],{"class":1112},"Now",[294,7261,1324],{"class":311},[294,7263,7264,7266,7269,7272],{"class":296,"line":566},[294,7265,7113],{"class":1195},[294,7267,7268],{"class":311}," cb.failures ",[294,7270,7271],{"class":1195},">=",[294,7273,7274],{"class":311}," cb.maxFailures {\n",[294,7276,7277,7279,7281],{"class":296,"line":573},[294,7278,7132],{"class":311},[294,7280,7135],{"class":1195},[294,7282,7283],{"class":311}," Open\n",[294,7285,7286],{"class":296,"line":580},[294,7287,7171],{"class":311},[294,7289,7290,7293],{"class":296,"line":587},[294,7291,7292],{"class":1195},"        return",[294,7294,7295],{"class":311}," err\n",[294,7297,7298],{"class":296,"line":597},[294,7299,2293],{"class":311},[294,7301,7302],{"class":296,"line":605},[294,7303,366],{"emptyLinePlaceholder":365},[294,7305,7306,7309,7311],{"class":296,"line":615},[294,7307,7308],{"class":311},"    cb.failures ",[294,7310,7135],{"class":1195},[294,7312,7313],{"class":315}," 0\n",[294,7315,7316,7319,7321],{"class":296,"line":622},[294,7317,7318],{"class":311},"    cb.state ",[294,7320,7135],{"class":1195},[294,7322,7323],{"class":311}," Closed\n",[294,7325,7326,7329],{"class":296,"line":629},[294,7327,7328],{"class":1195},"    return",[294,7330,7331],{"class":315}," nil\n",[294,7333,7334],{"class":296,"line":636},[294,7335,2159],{"class":311},[284,7337,7339],{"className":286,"code":7338,"language":288,"meta":289,"style":289},"# Kubernetes deployment with resilience patterns\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: payment-service\nspec:\n  replicas: 3\n  strategy:\n    type: RollingUpdate\n    rollingUpdate:\n      maxUnavailable: 1\n      maxSurge: 1\n  template:\n    spec:\n      containers:\n        - name: payment\n          image: cnex/payment:v2.4.1\n          resources:\n            requests:\n              memory: \"256Mi\"\n              cpu: \"250m\"\n            limits:\n              memory: \"512Mi\"\n              cpu: \"500m\"\n          livenessProbe:\n            httpGet:\n              path: /healthz\n              port: 8080\n            initialDelaySeconds: 15\n            periodSeconds: 10\n          readinessProbe:\n            httpGet:\n              path: /readyz\n              port: 8080\n            initialDelaySeconds: 5\n            periodSeconds: 5\n",[291,7340,7341,7346,7356,7366,7373,7383,7390,7400,7407,7417,7424,7434,7443,7450,7457,7464,7476,7486,7493,7500,7510,7520,7527,7536,7545,7552,7559,7569,7579,7589,7599,7606,7612,7621,7629,7638],{"__ignoreMap":289},[294,7342,7343],{"class":296,"line":297},[294,7344,7345],{"class":300},"# Kubernetes deployment with resilience patterns\n",[294,7347,7348,7351,7353],{"class":296,"line":304},[294,7349,7350],{"class":307},"apiVersion",[294,7352,312],{"class":311},[294,7354,7355],{"class":336},"apps/v1\n",[294,7357,7358,7361,7363],{"class":296,"line":319},[294,7359,7360],{"class":307},"kind",[294,7362,312],{"class":311},[294,7364,7365],{"class":336},"Deployment\n",[294,7367,7368,7371],{"class":296,"line":328},[294,7369,7370],{"class":307},"metadata",[294,7372,325],{"class":311},[294,7374,7375,7378,7380],{"class":296,"line":340},[294,7376,7377],{"class":307},"  name",[294,7379,312],{"class":311},[294,7381,7382],{"class":336},"payment-service\n",[294,7384,7385,7388],{"class":296,"line":351},[294,7386,7387],{"class":307},"spec",[294,7389,325],{"class":311},[294,7391,7392,7395,7397],{"class":296,"line":362},[294,7393,7394],{"class":307},"  replicas",[294,7396,312],{"class":311},[294,7398,7399],{"class":315},"3\n",[294,7401,7402,7405],{"class":296,"line":369},[294,7403,7404],{"class":307},"  strategy",[294,7406,325],{"class":311},[294,7408,7409,7412,7414],{"class":296,"line":377},[294,7410,7411],{"class":307},"    type",[294,7413,312],{"class":311},[294,7415,7416],{"class":336},"RollingUpdate\n",[294,7418,7419,7422],{"class":296,"line":385},[294,7420,7421],{"class":307},"    rollingUpdate",[294,7423,325],{"class":311},[294,7425,7426,7429,7431],{"class":296,"line":393},[294,7427,7428],{"class":307},"      maxUnavailable",[294,7430,312],{"class":311},[294,7432,7433],{"class":315},"1\n",[294,7435,7436,7439,7441],{"class":296,"line":404},[294,7437,7438],{"class":307},"      maxSurge",[294,7440,312],{"class":311},[294,7442,7433],{"class":315},[294,7444,7445,7448],{"class":296,"line":415},[294,7446,7447],{"class":307},"  template",[294,7449,325],{"class":311},[294,7451,7452,7455],{"class":296,"line":423},[294,7453,7454],{"class":307},"    spec",[294,7456,325],{"class":311},[294,7458,7459,7462],{"class":296,"line":432},[294,7460,7461],{"class":307},"      containers",[294,7463,325],{"class":311},[294,7465,7466,7468,7471,7473],{"class":296,"line":440},[294,7467,426],{"class":311},[294,7469,7470],{"class":307},"name",[294,7472,312],{"class":311},[294,7474,7475],{"class":336},"payment\n",[294,7477,7478,7481,7483],{"class":296,"line":451},[294,7479,7480],{"class":307},"          image",[294,7482,312],{"class":311},[294,7484,7485],{"class":336},"cnex/payment:v2.4.1\n",[294,7487,7488,7491],{"class":296,"line":459},[294,7489,7490],{"class":307},"          resources",[294,7492,325],{"class":311},[294,7494,7495,7498],{"class":296,"line":467},[294,7496,7497],{"class":307},"            requests",[294,7499,325],{"class":311},[294,7501,7502,7505,7507],{"class":296,"line":475},[294,7503,7504],{"class":307},"              memory",[294,7506,312],{"class":311},[294,7508,7509],{"class":336},"\"256Mi\"\n",[294,7511,7512,7515,7517],{"class":296,"line":486},[294,7513,7514],{"class":307},"              cpu",[294,7516,312],{"class":311},[294,7518,7519],{"class":336},"\"250m\"\n",[294,7521,7522,7525],{"class":296,"line":494},[294,7523,7524],{"class":307},"            limits",[294,7526,325],{"class":311},[294,7528,7529,7531,7533],{"class":296,"line":502},[294,7530,7504],{"class":307},[294,7532,312],{"class":311},[294,7534,7535],{"class":336},"\"512Mi\"\n",[294,7537,7538,7540,7542],{"class":296,"line":513},[294,7539,7514],{"class":307},[294,7541,312],{"class":311},[294,7543,7544],{"class":336},"\"500m\"\n",[294,7546,7547,7550],{"class":296,"line":521},[294,7548,7549],{"class":307},"          livenessProbe",[294,7551,325],{"class":311},[294,7553,7554,7557],{"class":296,"line":529},[294,7555,7556],{"class":307},"            httpGet",[294,7558,325],{"class":311},[294,7560,7561,7564,7566],{"class":296,"line":537},[294,7562,7563],{"class":307},"              path",[294,7565,312],{"class":311},[294,7567,7568],{"class":336},"/healthz\n",[294,7570,7571,7574,7576],{"class":296,"line":548},[294,7572,7573],{"class":307},"              port",[294,7575,312],{"class":311},[294,7577,7578],{"class":315},"8080\n",[294,7580,7581,7584,7586],{"class":296,"line":556},[294,7582,7583],{"class":307},"            initialDelaySeconds",[294,7585,312],{"class":311},[294,7587,7588],{"class":315},"15\n",[294,7590,7591,7594,7596],{"class":296,"line":566},[294,7592,7593],{"class":307},"            periodSeconds",[294,7595,312],{"class":311},[294,7597,7598],{"class":315},"10\n",[294,7600,7601,7604],{"class":296,"line":573},[294,7602,7603],{"class":307},"          readinessProbe",[294,7605,325],{"class":311},[294,7607,7608,7610],{"class":296,"line":580},[294,7609,7556],{"class":307},[294,7611,325],{"class":311},[294,7613,7614,7616,7618],{"class":296,"line":587},[294,7615,7563],{"class":307},[294,7617,312],{"class":311},[294,7619,7620],{"class":336},"/readyz\n",[294,7622,7623,7625,7627],{"class":296,"line":597},[294,7624,7573],{"class":307},[294,7626,312],{"class":311},[294,7628,7578],{"class":315},[294,7630,7631,7633,7635],{"class":296,"line":605},[294,7632,7583],{"class":307},[294,7634,312],{"class":311},[294,7636,7637],{"class":315},"5\n",[294,7639,7640,7642,7644],{"class":296,"line":615},[294,7641,7593],{"class":307},[294,7643,312],{"class":311},[294,7645,7637],{"class":315},[79,7647,7649],{"id":7648},"_2-observability-over-monitoring","2. Observability Over Monitoring",[19,7651,7652],{},"Traditional monitoring asks \"Is it up?\" Observability asks \"Why is it behaving this way?\" The difference is critical at scale.",[19,7654,7655],{},"We instrument every service with three pillars of observability:",[1711,7657,7658,7664,7670],{},[50,7659,7660,7663],{},[23,7661,7662],{},"Structured logging"," with correlation IDs that trace requests across service boundaries",[50,7665,7666,7669],{},[23,7667,7668],{},"Distributed tracing"," via OpenTelemetry, giving us end-to-end request visibility",[50,7671,7672,7675],{},[23,7673,7674],{},"Metrics"," with dimensional tagging for flexible querying and alerting",[1162,7677,7678],{"type":322},[19,7679,7680],{},"A well-instrumented system should allow any engineer to diagnose a production issue within 5 minutes, without needing to be the service owner.",[79,7682,7684],{"id":7683},"_3-progressive-delivery","3. Progressive Delivery",[19,7686,7687],{},"Deploying to production should be boring. We achieve this through a layered deployment strategy:",[47,7689,7690,7696,7702],{},[50,7691,7692,7695],{},[23,7693,7694],{},"Canary releases"," — 5% of traffic to the new version, automated rollback on error spike",[50,7697,7698,7701],{},[23,7699,7700],{},"Feature flags"," — Decouple deployment from release, ship code dark",[50,7703,7704,7707],{},[23,7705,7706],{},"Blue-green environments"," — Zero-downtime database migrations and infrastructure changes",[31,7709,7710],{},[19,7711,7712],{},"We deploy to production an average of 47 times per day across our platform. Not because we're reckless — because our delivery pipeline makes it safe.",[14,7714,7716],{"id":7715},"infrastructure-as-code-the-complete-stack","Infrastructure as Code: The Complete Stack",[19,7718,7719],{},"Everything is code. Everything is version controlled. Everything is reviewable.",[284,7721,7723],{"className":1181,"code":7722,"language":1183,"meta":289,"style":289},"// Pulumi infrastructure definition (TypeScript)\nimport * as pulumi from '@pulumi/pulumi';\nimport * as aws from '@pulumi/aws';\nimport * as k8s from '@pulumi/kubernetes';\n\nconst vpc = new aws.ec2.Vpc('main', {\n  cidrBlock: '10.0.0.0/16',\n  enableDnsHostnames: true,\n  tags: { Environment: pulumi.getStack() },\n});\n\nconst cluster = new aws.eks.Cluster('platform', {\n  vpcConfig: {\n    subnetIds: subnets.map((s) => s.id),\n    securityGroupIds: [securityGroup.id],\n  },\n  version: '1.29',\n});\n\nconst namespace = new k8s.core.v1.Namespace('services', {\n  metadata: { name: 'services' },\n}, { provider: k8sProvider });\n",[291,7724,7725,7730,7749,7767,7785,7789,7814,7824,7833,7844,7848,7852,7876,7881,7900,7905,7909,7919,7923,7927,7951,7960],{"__ignoreMap":289},[294,7726,7727],{"class":296,"line":297},[294,7728,7729],{"class":300},"// Pulumi infrastructure definition (TypeScript)\n",[294,7731,7732,7734,7736,7739,7742,7744,7747],{"class":296,"line":304},[294,7733,1196],{"class":1195},[294,7735,1784],{"class":315},[294,7737,7738],{"class":1195}," as",[294,7740,7741],{"class":311}," pulumi ",[294,7743,1202],{"class":1195},[294,7745,7746],{"class":336}," '@pulumi/pulumi'",[294,7748,1208],{"class":311},[294,7750,7751,7753,7755,7757,7760,7762,7765],{"class":296,"line":319},[294,7752,1196],{"class":1195},[294,7754,1784],{"class":315},[294,7756,7738],{"class":1195},[294,7758,7759],{"class":311}," aws ",[294,7761,1202],{"class":1195},[294,7763,7764],{"class":336}," '@pulumi/aws'",[294,7766,1208],{"class":311},[294,7768,7769,7771,7773,7775,7778,7780,7783],{"class":296,"line":328},[294,7770,1196],{"class":1195},[294,7772,1784],{"class":315},[294,7774,7738],{"class":1195},[294,7776,7777],{"class":311}," k8s ",[294,7779,1202],{"class":1195},[294,7781,7782],{"class":336}," '@pulumi/kubernetes'",[294,7784,1208],{"class":311},[294,7786,7787],{"class":296,"line":340},[294,7788,366],{"emptyLinePlaceholder":365},[294,7790,7791,7793,7796,7798,7800,7803,7806,7808,7811],{"class":296,"line":351},[294,7792,1217],{"class":1195},[294,7794,7795],{"class":315}," vpc",[294,7797,1223],{"class":1195},[294,7799,1226],{"class":1195},[294,7801,7802],{"class":311}," aws.ec2.",[294,7804,7805],{"class":1112},"Vpc",[294,7807,1270],{"class":311},[294,7809,7810],{"class":336},"'main'",[294,7812,7813],{"class":311},", {\n",[294,7815,7816,7819,7822],{"class":296,"line":362},[294,7817,7818],{"class":311},"  cidrBlock: ",[294,7820,7821],{"class":336},"'10.0.0.0/16'",[294,7823,1243],{"class":311},[294,7825,7826,7829,7831],{"class":296,"line":369},[294,7827,7828],{"class":311},"  enableDnsHostnames: ",[294,7830,2741],{"class":315},[294,7832,1243],{"class":311},[294,7834,7835,7838,7841],{"class":296,"line":377},[294,7836,7837],{"class":311},"  tags: { Environment: pulumi.",[294,7839,7840],{"class":1112},"getStack",[294,7842,7843],{"class":311},"() },\n",[294,7845,7846],{"class":296,"line":385},[294,7847,1258],{"class":311},[294,7849,7850],{"class":296,"line":393},[294,7851,366],{"emptyLinePlaceholder":365},[294,7853,7854,7856,7859,7861,7863,7866,7869,7871,7874],{"class":296,"line":404},[294,7855,1217],{"class":1195},[294,7857,7858],{"class":315}," cluster",[294,7860,1223],{"class":1195},[294,7862,1226],{"class":1195},[294,7864,7865],{"class":311}," aws.eks.",[294,7867,7868],{"class":1112},"Cluster",[294,7870,1270],{"class":311},[294,7872,7873],{"class":336},"'platform'",[294,7875,7813],{"class":311},[294,7877,7878],{"class":296,"line":415},[294,7879,7880],{"class":311},"  vpcConfig: {\n",[294,7882,7883,7886,7888,7890,7893,7895,7897],{"class":296,"line":423},[294,7884,7885],{"class":311},"    subnetIds: subnets.",[294,7887,2796],{"class":1112},[294,7889,2771],{"class":311},[294,7891,7892],{"class":1376},"s",[294,7894,1380],{"class":311},[294,7896,1279],{"class":1195},[294,7898,7899],{"class":311}," s.id),\n",[294,7901,7902],{"class":296,"line":432},[294,7903,7904],{"class":311},"    securityGroupIds: [securityGroup.id],\n",[294,7906,7907],{"class":296,"line":440},[294,7908,1922],{"class":311},[294,7910,7911,7914,7917],{"class":296,"line":451},[294,7912,7913],{"class":311},"  version: ",[294,7915,7916],{"class":336},"'1.29'",[294,7918,1243],{"class":311},[294,7920,7921],{"class":296,"line":459},[294,7922,1258],{"class":311},[294,7924,7925],{"class":296,"line":467},[294,7926,366],{"emptyLinePlaceholder":365},[294,7928,7929,7931,7934,7936,7938,7941,7944,7946,7949],{"class":296,"line":475},[294,7930,1217],{"class":1195},[294,7932,7933],{"class":315}," namespace",[294,7935,1223],{"class":1195},[294,7937,1226],{"class":1195},[294,7939,7940],{"class":311}," k8s.core.v1.",[294,7942,7943],{"class":1112},"Namespace",[294,7945,1270],{"class":311},[294,7947,7948],{"class":336},"'services'",[294,7950,7813],{"class":311},[294,7952,7953,7956,7958],{"class":296,"line":486},[294,7954,7955],{"class":311},"  metadata: { name: ",[294,7957,7948],{"class":336},[294,7959,2744],{"class":311},[294,7961,7962],{"class":296,"line":494},[294,7963,7964],{"class":311},"}, { provider: k8sProvider });\n",[1162,7966,7968],{"type":7967},"warning",[19,7969,7970],{},"Never store secrets in your IaC definitions. Use a dedicated secrets manager (AWS Secrets Manager, HashiCorp Vault) with dynamic secret rotation.",[14,7972,7974],{"id":7973},"the-cost-of-getting-it-wrong","The Cost of Getting It Wrong",[19,7976,7977],{},"We've seen enterprises spend millions on \"cloud migration\" that's really just lift-and-shift — running the same monolith on EC2 instead of bare metal. The result? Higher costs, same fragility, new complexity.",[19,7979,7980],{},"True cloud-native transformation requires:",[1711,7982,7983,7989,7995,8001],{},[50,7984,7985,7988],{},[23,7986,7987],{},"Decomposing the monolith"," along business domain boundaries (not technical layers)",[50,7990,7991,7994],{},[23,7992,7993],{},"Embracing eventual consistency"," where strong consistency isn't required",[50,7996,7997,8000],{},[23,7998,7999],{},"Investing in platform engineering"," so application teams can self-serve",[50,8002,8003,8006],{},[23,8004,8005],{},"Building a culture of ownership"," where teams own their services end-to-end",[14,8008,8010],{"id":8009},"real-world-results","Real-World Results",[19,8012,8013],{},"For a recent financial services client, our cloud-native replatforming delivered:",[124,8015,8016,8028],{},[127,8017,8018],{},[130,8019,8020,8022,8025],{},[133,8021,3442],{},[133,8023,8024],{},"Before",[133,8026,8027],{},"After",[143,8029,8030,8041,8052,8063],{},[130,8031,8032,8035,8038],{},[148,8033,8034],{},"Deploy frequency",[148,8036,8037],{},"Weekly",[148,8039,8040],{},"47x daily",[130,8042,8043,8046,8049],{},[148,8044,8045],{},"Lead time for changes",[148,8047,8048],{},"3 weeks",[148,8050,8051],{},"45 minutes",[130,8053,8054,8057,8060],{},[148,8055,8056],{},"Change failure rate",[148,8058,8059],{},"23%",[148,8061,8062],{},"1.8%",[130,8064,8065,8068,8071],{},[148,8066,8067],{},"Mean time to recovery",[148,8069,8070],{},"4 hours",[148,8072,8073],{},"8 minutes",[19,8075,8076],{},"These aren't theoretical improvements. They're the difference between a company that reacts to market changes and one that drives them.",[2357,8078],{},[19,8080,8081],{},[2180,8082,8083,8084,6992],{},"Ready to modernise your infrastructure? ",[230,8085,8086],{"href":2366},"Let's architect your cloud-native future",[2370,8088,8089],{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":289,"searchDepth":304,"depth":304,"links":8091},[8092,8093,8098,8099,8100],{"id":6933,"depth":304,"text":6934},{"id":6940,"depth":304,"text":6941,"children":8094},[8095,8096,8097],{"id":6944,"depth":319,"text":6945},{"id":7648,"depth":319,"text":7649},{"id":7683,"depth":319,"text":7684},{"id":7715,"depth":304,"text":7716},{"id":7973,"depth":304,"text":7974},{"id":8009,"depth":304,"text":8010},"Cloud","2026-02-05","A deep dive into the architectural patterns and practices that enable enterprise applications to scale globally while maintaining reliability and performance.",{},"/blog/cloud-native-architecture","10 min read",{"title":6925,"description":8103},"blog/cloud-native-architecture",[8110,8111,2419,8112],"Cloud Native","Kubernetes","Architecture","Dai7RhZjlbZ0dr9DAwJlAIRurZr3eGCVoknlYA4NHXE",1784192087966]