Python Asynchronous Programming Models In Algorithm