add max_rpm_per_host
add statistics api
use jsx for schedule handler