lua non-block service & apis