backend performance optimization