optimize server operation