How to design network security architecture efficiently?