scalability and performance optimization