I have the blocking code shown below.Is calling monkey.patch_all() enough/optimal to make it non-blocking?Does Gevent handle iterations like these?# front pagedef front_page():    database = db.posts.find() # find all items in posts collection    return render_template(                           'index.html',                            database=database                          )# single postdef single_post(slug):    post = [v for k,v                 in db.posts.find_one(                                     {'slug': slug}                                    ).iteritems()           ] # iterate over found items and store it as post    return render_template(                           'post.html',                            title=post[3],                            body=post[0],                            slug=post[2]                          ) # extract the title, slug and body
Gevent - Make blocking calls non-blocking
python;asynchronous programming