This short talk describes the heart of Trainline EU architecture, heavily inspired by Rack itself, based on apps and stacks of middlewares, on top on EventMachine.
The slides has been made live at EuRuKo 2017 and talk done there :)
use Base::LogSearchFruitfulness use Base::AvoidFruitlessSearch use Base::ReportAndBlockCombinations use Base::TryAgain use Base::SearchWindow use Base::FilterUnsellableFolderMix use Base::FilterTimetableResults use Base::TooManyPassengers use Base::WarnDifferentStation use Base::Parallel end end
use Base::LogSearchFruitfulness use Base::AvoidFruitlessSearch use Base::ReportAndBlockCombinations use Base::TryAgain use Base::SearchWindow use Base::FilterUnsellableFolderMix use Base::FilterTimetableResults use Base::TooManyPassengers use Base::WarnDifferentStation use Base::Parallel end end Will call SNCF.search, DB.search…