1. A method for scheduling a plurality of job slots shared by one or more pre-processors and one or more post-processors in job execution, wherein data generated by the one or more pre-processors will be fed to the one or more post-processors for processing, the method comprising: determining, by one or more computer processors, an overall data generation speed of the one or more pre-processors; determining, by one or more computer processors, an overall data consumption speed of the one or more post-processors; and scheduling, by one or more computer processors, allocation of at least one of the plurality of job slots between the one or more pre-processors and the one or more post-processors based, at least in part, on the overall data generation speed and the overall data consumption speed, to lower an imbalance between the overall data generation speed and the overall data consumption speed.