Barclays interview question

How to optimize the project's backend.