You are building a real-time messaging product where messages should be delivered quickly, but some content must be flagged or blocked before it reaches the recipient. The system needs to score text as messages are sent and support policy updates over time.
How would you design a real-time messaging system?