- user clicks purchase
- fare_id is sent to SearchService
- SS queues BotQueen with fare_id
- BQ gets job
- BQ uses SearchClient to request data from SS (segment, fare, etc.)
- SS handles this request, queries db, responds to BQ with results
- BQ sends info to bot
- bot constructs HTML, making requests to agency if necessary
- bot returns HTML to BQ
- BQ sends HTML to be stored in Redis
- meanwhile, in the browser…browser polls for how to redirect user
- browser polls SS for HTML
- Each time SS is polled, SS asks Redis if HTML is available
- Poll until HTML is available
Created
February 4, 2013 19:41
-
-
Save ordinaryzelig/4709056 to your computer and use it in GitHub Desktop.
Booking url process
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment