GlobalSession = scoped_session(session_maker(bind=engine, transactional=False))

def connect(thread_index):
    pass
Best practice for integrating CherryPy web-framework, SQLAlchemy sessions and lighttpd to serve a high-load webservice