Booking logic and architecture, database sync: Hotels, tennis courts reservation system ...
Posted
by coulix
on Stack Overflow
See other posts from Stack Overflow
or by coulix
Published on 2010-05-15T05:51:55Z
Indexed on
2010/05/15
6:04 UTC
Read the original article
Hit count: 198
Hello Stackers,
Imagine that you want to design a tennis booking system. You have 5 tennis clubs as partenrs with no online api allowing you to check on their side if a court is booked or not: You have to build this part as well.
Every time a booking is done on their side you want it to be know by our system. Probably using a POST request form tennis partner to our server.
Every time a booking is done on our website, we want to push the booking to their system. The difficulty is that their system need to be online and accessible from outside. Ip may change, we have to use a dns updater.
In case their system is not available we still accept the booking and fallback to an async email with 'i confirm booking/reject booking' link sent to the club.
I find the whole process quite complex and was wondering about the way online hotel booking system and hotel were working. Do they all have their data open and online ?
The good thing is that the data will grow large and fits nicely to some no SQL ;) like couch db
© Stack Overflow or respective owner