implment batch request buffer