This is a dedicated watch page for a single video.
A social media platform stores user activity logs in DynamoDB, where data is being written at a high velocity, and rapid retrieval of recent user actions is critical. The activity logs need to be queried by user ID to monitor individual user behavior over time. Which design pattern would optimize both write throughput and read performance for this use case?