Walk us through the architecture of a complex application you have built. What were the main bottleneck areas, and how did you address them?