While it might be difficult to get complete 8 hours while travelling, one should try their best to get at least 4-5 hours, so that you can be alert and awake. Additionally, try to get more sleep before the trip to compensate for the lack of sleep during the journey.