Skip to content
Discussion options

You must be logged in to vote

Your architecture looks solid. A few things I'd suggest:

  1. GPS Tracking: Use adaptive intervals rather than fixed polling. 3–5 seconds during active trips is reasonable, but increase the interval when drivers are stationary to reduce battery and server load.

  2. Maps & Routing: I'd evaluate Mappls first for Indian address coverage and routing. OSRM is a good self-hosted alternative, but requires infrastructure and OSM data maintenance. Also consider traffic-aware ETA separately.

  3. Order Matching: Start with PostGIS for nearby-driver discovery. You can introduce Redis GEO later if query volume demands it. For concurrent order acceptance, use an atomic conditional PostgreSQL update (WHERE sta…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@kshitiz374
Comment options

Answer selected by Sahaab-Ji
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
4 participants