Open Chat - How We Migrated to Kubernetes - Our Kubernetes Architecture Migration to Nextjs App Router - NextJS on Kubernetes - TroubleShooting - What’s Next 02
Builder for C Service Development Deployment .JHSBUJPOUP,VCFSOFUFT Development C Server B Server A Server Pre-Release Deployment Production Deployment Pre-Release C Server B Server A Server Production C Server B Server A Server
involved with domain Stage - separate and manage the frontend development environment itself, even though it is under the same domain and path - if developer want to deploy two different versions of the main application, it can deploy them as ‘A-Pre-release’ , ‘A-Pre-release2’ .VMUJ5FOBODZ4USBUFHZ "QQMJDBUJPO 1IBTF 4UBHF /BNFTQBDF " 1SFSFMFBTF "1SFSFMFBTF " 1SFSFMFBTF "1SFSFMFBTF # %FWFMPQNFOU #%FWFMPQNFOU # %FWFMPQNFOU #%FWFMPQNFOU
B (Helm Chart) C (Helm Chart) Development Cluster A-pre-release A-pre-release2 B-pre-release Pre-release-apps B-pre-release2 Production Cluster A B Production-apps .VMUJ5FOBODZ%FWFMPQNFOU
more generous allocation of CPU resources - 1.15 is acceptable Node.JS V8 Libuv CPU 1.0 $163FTPVSDF $163FRVFTU $16-JNJU 10% 514 ."9514 ."9$166TBHF $PSF1PE $PSF
In Node.js, for a machine with 2 GiB of memory, it is recommended to allocate 1.5 GiB Memory (requests & limit) Max-old-space-size 1500Mi 1024 2000Mi 1536 .FNPSZ
first content from the DOM, providing feedback to the user that the page is loading - LCP(Largest Contentful Paint) : the render time of the largest image or text block visible within the viewport, recorded from when the page first begins to load 8IZ/FYU+T
next build (actionID : 006c~~) The user is still seeing the old version of the Next.js client… getCookie Changed! (00aa => 006c) 4FSWFS"DUJPO7FSTJPO4LFX
Duration Request Memoization Return values of functions Server Re-use data in a React Component tree Per-request lifecycle Data Cache Data Server Store data across user requests and deployme nts Persistent (can be revalidated) Full Route Cache HTML and RSC payload Server Reduce rendering cost and improve performan ce Persistent (can be revalidated)