Skip to content

cursor 페이지네이션 → offset 방식으로 변경 + 시간 범위 필터 추가 - #16

Merged
JeongGihun merged 1 commit into
mainfrom
feat/offset-pagination
May 22, 2026
Merged

cursor 페이지네이션 → offset 방식으로 변경 + 시간 범위 필터 추가#16
JeongGihun merged 1 commit into
mainfrom
feat/offset-pagination

Conversation

@JeongGihun

Copy link
Copy Markdown
Owner

Summary

  • cursor 기반 페이지네이션을 offset(page) 방식으로 변경
  • start_time / end_time 시간 범위 필터 추가
  • demo_routes도 동일하게 반영

변경 이유

  • 시간 범위 필터로 데이터를 먼저 좁히기 때문에 cursor가 빛을 발하는 대용량 상황이 발생하지 않음
  • 장애 대응 시 특정 페이지 점프가 필요할 수 있어 offset이 더 적합
  • idx_robot_timestamp 인덱스로 시간 범위 쿼리 성능 확보

Test plan

  • 기존 73개 테스트 전체 통과
  • offset 페이지네이션 테스트 추가
  • 시간 범위 필터 테스트 2개 추가

@JeongGihun
JeongGihun merged commit 4326270 into main May 22, 2026
1 check passed
@JeongGihun
JeongGihun deleted the feat/offset-pagination branch June 14, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant