Real time problems Doubt [ Amazon ]

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-04-23Added By Anonymous
Source: Link

Company: Amazon
Role: sde ii
Interview Stage: unknown
Location: unknown
Year: unknown

Original Post Content:

Hi,

I was asked a question that Poker game unlocks premier features for users who fulfill certain conditions i.e. :

1. If player played 10$ of bets in last 30 minutes
2. If player played 1000$ of bets in last week
3. If player played 3000$ of bets in last month.

I told him using DB and crons and Redis but was rejected as he was expecting some other solution.

Can someone help me with that ?

Comments