Congrats for a great video & demo !! Two questions: - Is it reasonable to assume that the Hotel actor will have as state a set with all the reservations made? - You book room number 101 but you only create rooms 1 to 100 when populating the cassandra tables. Why this does not create problems in the updates?
Glad you liked it! For your questions: 1. Yes, the hotel actor will always have the set of all reservations in its state. 2. Nice catch! Might have been a mishap -- while preparing for the video, I played with the numbers and my Cassandra tables were bigger than in the video (1000 hotel rooms instead of 100, etc, which is why updates didn't fail), but I downsized them in the demo to have reasonable scale in a reasonable time.
i get : clearing rooms failed: com.datastax.oss.driver.api.core.servererrors.WriteTimeoutException: Cassandra timeout during SIMPLE write query at consistency LOCAL_QUORUM (2 replica were required but only 1 acknowledged the write) when running the CassandraTableCleaner against the Astra database locally it runs fine
Congrats for a great video & demo !!
Two questions:
- Is it reasonable to assume that the Hotel actor will have as state a set with all the reservations made?
- You book room number 101 but you only create rooms 1 to 100 when populating the cassandra tables. Why this does not create problems in the updates?
Glad you liked it! For your questions:
1. Yes, the hotel actor will always have the set of all reservations in its state.
2. Nice catch! Might have been a mishap -- while preparing for the video, I played with the numbers and my Cassandra tables were bigger than in the video (1000 hotel rooms instead of 100, etc, which is why updates didn't fail), but I downsized them in the demo to have reasonable scale in a reasonable time.
i get : clearing rooms failed: com.datastax.oss.driver.api.core.servererrors.WriteTimeoutException: Cassandra timeout during SIMPLE write query at consistency LOCAL_QUORUM (2 replica were required but only 1 acknowledged the write) when running the CassandraTableCleaner against the Astra database locally it runs fine
If you post the details on stackoverflow.com/questions/ask?tags=cassandra, I'd be happy to help. 🙂 [Erick Ramirez]