📞 +91-7667918914 | âœ‰ī¸ ijireeice@gmail.com
International Journal of Innovative Research in Electrical, Electronics, Instrumentation and Control Engineering
International Journal of Innovative Research in Electrical, Electronics, Instrumentation and Control Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2321-2004ISSN Print 2321-5526Since 2013
IJIREEICE meets the suggestive parameters outlined in the latest University Grants Commission (UGC) for peer-reviewed journals, ensuring high standards of research integrity, publication ethics, and academic excellence.
← Back to VOLUME 14, ISSUE 6, JUNE 2026

A Cloud-Deployed Intelligent Ride Allocation and Dynamic Fare Optimization System Using Python and RESTful Microservices

MULLAPUDI VINEELA SAI, Mr. KARRI LAKSHAMANA REDDY*

👁 5 viewsđŸ“Ĩ 4 downloads
Share: 𝕏 f in ✈ ✉
Abstract: The rapid proliferation of on-demand urban mobility services has underscored the critical need for efficient, scalable, and cost-transparent platforms that can seamlessly connect passengers with nearby drivers in real time. This paper presents the design, implementation, and evaluation of an intelligent cloud-deployable ride allocation and dynamic fare optimization platform developed entirely in Python. The proposed system leverages the FastAPI asynchronous web framework for high-throughput request handling, SQLAlchemy Object-Relational Mapping (ORM) for persistent data management, and OpenStreetMap Nomination for cost-free geocoding augmented by database-level caching. The core algorithmic contributions encompass a Haversine-based greedy nearest-driver matching algorithm and a five-tier rule- based surge pricing model that continuously evaluates real-time demand-to-supply ratios to determine an appropriate fare multiplier. The system supports three role-segregated user classes-passenger, driver, and administrator-governed by session-based authentication reinforced through Cross-Site Request Forgery (CSRF) token validation. An automated test suite comprising 40 scenarios across seven functional modules achieves a 100% pass rate, validating fare computation accuracy, driver assignment correctness, and end-to-end ride lifecycle integrity. Deployment configurations targeting Amazon Web Services Elastic Beanstalk confirm cloud portability. Experimental results demonstrate sub-millisecond fare computation, sub-5-millisecond driver matching, and an 85% geocoding cache hit rate, collectively affirming the platform's suitability for production-grade urban ride-sharing deployment.

Keywords: ride-sharing systems; dynamic fare optimization; Haversine algorithm; nearest-driver matching; surge pricing; FastAPI; cloud deployment; OpenStreetMap Nomination.

How to Cite:

[1] MULLAPUDI VINEELA SAI, Mr. KARRI LAKSHAMANA REDDY*, “A Cloud-Deployed Intelligent Ride Allocation and Dynamic Fare Optimization System Using Python and RESTful Microservices,” International Journal of Innovative Research in Electrical, Electronics, Instrumentation and Control Engineering (IJIREEICE), DOI: 10.17148/IJIREEICE.2026.14633

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.