these two files should be in the same thread, throwing away local redis L_db. if it's done, a lot of complexities would be removed.