How would you design a system for scalability, security, and high availability while balancing trade-offs at Persistent Systems?