Walk me through a complex architectural challenge you faced in a previous project and how you resolved it.