Protected: Transitioning RAG Applications to Production Systems: Optimizing for Reliability and Performance