1
通过将所有信息存储在Cassandra集群中,可以构建Ticketmaster票券预订系统吗?完全依靠Cassandra构建的票证预订系统
系统需要能够
1. Display the correct number of tickets available at one time
2. Temporarily reserve a ticket while the customer is making the purchase
3. No two users can ever buy the same ticket.
为了保持一致性所有读取和写入应在仲裁进行。我不知道如何执行步骤2或3?
你为什么?尽管这当然是可能的,但我不明白为什么你不会使用MySQL。这将会更加昂贵,您将不得不手动控制应用程序中的数据关系。 – user1641165