Optimization of server