python single thread vs node inserting in mysql