Alle ProjekteAll projects

Software · Microservices

Software · Microservices

DecantralTaxiService

Ein dezentraler Taxidienst als Simulation – aufgebaut mit fünf Microservices, asynchroner Kommunikation über RabbitMQ und einem eigenen Preisfindungsalgorithmus.

A decentralized taxi service simulation – built with five microservices, asynchronous communication via RabbitMQ, and a custom price-negotiation algorithm.

Status
Status
Abgeschlossen
Completed
Gebaut mit
Built with
C#, RabbitMQ, Docker
Rolle
Role
Entwicklung
Development
C# RabbitMQ Microservices Docker Asynchrone KommunikationAsync messaging

Worum es geht

DecantralTaxiService ist eine Simulation eines Taxidienstes, bei dem Fahrer und Fahrgäste dezentral über Message-Oriented Middleware kommunizieren – ohne zentralen Koordinator. Das System besteht aus fünf Microservices, die über RabbitMQ Nachrichten austauschen.

Herzstück ist ein Preisfindungsalgorithmus: Fahrer bieten Preise an, Fahrgäste verhandeln automatisch, bis ein Preis innerhalb eines konfigurierbaren Rahmens akzeptiert wird. Das Verhalten des gesamten Systems lässt sich über eine zentrale Konfigurationsdatei steuern – Kartengröße, Taktrate, maximale Distanz und Preisgrenzen.

Was dazugehört

  • Fünf Microservices für Fahrer, Fahrgäste, Karte, Preisfindung und Simulation
  • Asynchrone Kommunikation über RabbitMQ (Message-Oriented Middleware)
  • Konfigurierbares Simulationsverhalten (Kartengröße, Taktrate, Preisrahmen)
  • Docker-Unterstützung für einfaches lokales Ausführen

What it's about

DecantralTaxiService is a simulation of a taxi service where drivers and passengers communicate in a decentralized manner via message-oriented middleware – no central coordinator. The system consists of five microservices exchanging messages over RabbitMQ.

At the core is a price-negotiation algorithm: drivers offer prices, passengers negotiate automatically until a price within a configurable range is accepted. The entire system's behavior can be tuned via a single configuration file – map size, tick rate, max distance, and price limits.

What's involved

  • Five microservices for drivers, passengers, map, pricing, and simulation
  • Asynchronous communication via RabbitMQ (message-oriented middleware)
  • Configurable simulation behavior (map size, tick rate, price range)
  • Docker support for easy local execution

Links

Links