stream response based on size and time