백엔드, 데이터 및 보안 더 많은 세부 정보 C · 업계 관례 플랫폼: 웹

Cursor Pagination

커서 페이지네이션

커서 페이지네이션은 고정 정렬 순서에서 숨겨진 마커 뒤에서도 계속됩니다. 이전 모든 레코드를 카운트하고 건너뛰지 않습니다.

당신은 이것을 이렇게 부를 수 있습니다 Cursor Pagination키셋 페이지네이션연속 토큰

작동 방식을 확인하세요

원본 작업 예제커서 페이지네이션

다른 예시

검토 큐(review queue)는 사례를 `created_at DESC, id DESC` 순으로 정렬하고, 두 값을 모두 숨기는 `endCursor`를 반환합니다. 위의 새 사례는 이미 검토된 행을 반복하지 않습니다. 커서의 레코드가 삭제되더라도 다음 페이지는 여전히 정렬 경계에서 시작하며, 변경된 커서는 검증에 실패합니다.

주요 부분

  1. 01결정론적 고유 순서
  2. 02불투명 연속 커서
  3. 03경계가 있는 엣지 페이지

사용할 때

안정적인 이전 및 다음 페이지가 페이지 번호보다 중요한 큰 규모 또는 빠르게 변하는 정렬 데이터에 사용하세요.

다음 경우에는 사용하지 마세요

변하는 데이터베이스 오프셋을 숨기고 이를 커서라고 부르지 마세요. 별도의 인덱스 계획 없이 임의의 페이지로 점프할 것을 약속하지 마세요.

코드에서 사용된 이름

opaque cursor over a unique deterministic sort key + first/after or last/before

출시하기 전에

Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.

복사 가능한 요청

Outcome:Complete the task with 커서 페이지네이션 (Cursor Pagination)。 User context:검토 큐(review queue)는 사례를 `created_at DESC, id DESC` 순으로 정렬하고, 두 값을 모두 숨기는 `endCursor`를 반환합니다. 위의 새 사례는 이미 검토된 행을 반복하지 않습니다. 커서의 레코드가 삭제되더라도 다음 페이지는 여전히 정렬 경계에서 시작하며, 변경된 커서는 검증에 실패합니다. Technical concept or control:커서 페이지네이션 (Cursor Pagination)。 Why it fits:안정적인 이전 및 다음 페이지가 페이지 번호보다 중요한 큰 규모 또는 빠르게 변하는 정렬 데이터에 사용하세요. Do not use it when:변하는 데이터베이스 오프셋을 숨기고 이를 커서라고 부르지 마세요. 별도의 인덱스 계획 없이 임의의 페이지로 점프할 것을 약속하지 마세요. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.

이 요청을 확인하세요

Review how 커서 페이지네이션 (Cursor Pagination) is used now. Definition: 커서 페이지네이션은 고정 정렬 순서에서 숨겨진 마커 뒤에서도 계속됩니다. 이전 모든 레코드를 카운트하고 건너뛰지 않습니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

C
이 용어는 얼마나 공식적인가요?

업계 관례

사람들은 직장에서 이 용어를 자주 사용합니다. 나열된 출처는 실습이나 제한을 지원할 수 있습니다. 모든 부분의 정의를 제공하지는 않습니다.

하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음.

범위
소스가 포함하는 것만:정규 이름、정의、의미론、구현
문서 상태
안정적인
선택됨
2026-07-30

증거 출처 및 범위

권위 있는 출처 + 용어 참조 · Relay · 안정적인 GraphQL Cursor Connections Specification 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현

직접 복사

브라우저가 이것을 복사할 수 없습니다. 아래 요청을 선택하고 직접 복사하세요.