hoangsonww/EstateWise-Chapel-Hill-Chatbot

Isochrone Provider Integration & Redis Caching

オープン

#59 opened on 2025/08/13

 (4 件のコメント) (0 件のリアクション) (2 人の担当者)TypeScript (21 件のフォーク)auto 404
backendbugchoreci/cddocumentationenhancementfrontendgood first issuehelp wanted

Repository metrics

Stars
 (38 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Summary Generate travel-time polygons via a pluggable provider (Mapbox, OpenRouteService, Google) and cache by normalized request hash to meet latency goals.

Acceptance Criteria

  • POST /api/commute/isochrone returns GeoJSON polygon(s) for { destinations[], mode, window, minutes }.
  • Requests normalized and hashed; cached results returned when available.
  • P95 cached response ≤ 5s; cold path ≤ 10s on happy path.
  • Rate limiting and retry/backoff with exponential jitter.

Tasks

  • Provider abstraction + config flags
  • Request normalization + hashing
  • Redis get/set with TTL; metrics on hit ratio
  • Error mapping to user-friendly messages
  • Unit tests: hashing, caching, retries

コントリビューターガイド