compare sync demo with async demo in gevent