Published on

DR 프로젝트에 사용될 키워드 정리

Authors
  • avatar
    Name
    JaeHyeok CHOI
    Twitter
    none

Hyperdrvie

하이퍼드라이브는 기존 데이터베이스에 대한 쿼리를 가속화하는 서비스로, 사용자의 위치에 관계없이 Cloudflare Workers 에서 기존 DB에 대한 액세스를 가속화하여 단일 지역 데이터베이스도 전 세계적으로 분산된 것처럼 느낄 수 있게 해준다.

하이퍼드라이브는 Cloudflare 네트워크 내에서 DB에 대한 연결 풀을 유지함으로써 쿼리를 보내기 전에 DB로의 왕복 횟수를 7회 (TCP 핸드셰이크(1회), TLS 협상(3회), DB인증(3회))로 줄인다.

하이퍼드라이브는 DB에 대한 읽기 및 쓰기 쿼리의 차이를 이해하고 가장 일반적인 읽기 쿼리를 캐시하여 성능을 향상시키고 원본 DB의 부하를 줄인다.

하이퍼드라이브는 AWS, Google Cloud, Azure, Neon, Planetscale 등에서 호스팅되는 모든 Postgres 또는 MySQL 데이터베이스를 지원한다. 하이퍼드라이브는 새 코드를 작성하거나 기존 도구를 교체할 필요 없이 기존 코드 및 도구와 함께 작동한다.

OpenNext

Next.js 애플리케이션을 Cloudflare 인프라에서 실행할 수 있도록 변환!

AWS Lambda의 서버리스 환경을 위해 처음 개발된 OpenNext는 Cloudflare Workers 및 기존 Node.js 서버를 포함한 더 광범위한 환경을 지원하도록 기능을 확장했다.

OpenNext 코드베이스와 통합함으로써 Cloudflare 어댑터는 이제 기존 버전보다 훨씬 더 많은 기능을 지원할 수 있게 되었다. 또한 OpenNext의 종단간 (e2e) 테스트 스위트를 활용하여 이러한 기능의 구현을 검증하고 있다. OpenNext는 Next.js 14부터 15까지 모든 부 버전을 지원할 예정이다.

Features

CachingThe Cloudflare adapter provides a cache handler for Next.js, optimizing the management of ISR/SSG and the data cache to speed up your apps.
Partial Prerendering (PPR)PPR immediately sends the pre-rendered HTML and begins streaming from the server in parallel.
MiddlewareMiddleware allows modifying the response by rewriting, redirecting, or modifying the request and response headers, or responding directly before the request hits the app.
App and Pages routersBoth the new App router and Pages routers are supported.
Image OptimizationThe adapter easily integrates with Cloudflare Images to deliver optimized images.