It is recommended to arrive at least 2 hours and 3 hours before a domestic flight and an international flight respectively, as a general rule.