Make RT updates work in Motis (or work around) #13

Open
opened 2024-09-30 13:24:50 +02:00 by Frank · 0 comments
Owner

Happy day Story

  • a new trip is added to fg.de, posted to Amarillo
  • new GTFS-RT is generated
  • and imported by Motis

Workaround

  • blue-green-deployment with updated static GTFS
  • after trip CRUD a new GTFS static file is generated
  • new Motis is started with the latest GTFS
  • nginx switches to new Motis
  • old Motis is shut down
                     ┏━━━━━━━━━━┓       
         ┏━━━━━━━━━▶┃ Motis 1  ┃       
         ┃           ┗━━━━━━━━━━┛       
  ┏━━━━━━━┓                             
  ┃ nginx ┃                             
  ┗━━━━━━━┛                             
         ┃           ┏━━━━━━━━━━┓       
         ┗━━━━━━━━━▶┃ Motis 2  ┃       
                     ┗━━━━━━━━━━┛       

Open

  • if performance is to bad, only do it every X minutes, not immediately
Happy day Story - a new trip is added to fg.de, posted to Amarillo - new GTFS-RT is generated - and imported by Motis Workaround - blue-green-deployment with updated static GTFS - after trip CRUD a new GTFS static file is generated - new Motis is started with the latest GTFS - nginx switches to new Motis - old Motis is shut down ``` ┏━━━━━━━━━━┓ ┏━━━━━━━━━▶┃ Motis 1 ┃ ┃ ┗━━━━━━━━━━┛ ┏━━━━━━━┓ ┃ nginx ┃ ┗━━━━━━━┛ ┃ ┏━━━━━━━━━━┓ ┗━━━━━━━━━▶┃ Motis 2 ┃ ┗━━━━━━━━━━┛ ``` Open - if performance is to bad, only do it every X minutes, not immediately
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: amarillo/amarillo-core#13
No description provided.