Cassandra database session reuse in AWS Lambda (python)
问题 I am trying to reuse a Cassandra cluster session for subsequent AWS Lambda function calls. I've successfully implemented it in Java, but reusing the session in the python gets the lambda invocation timed out (the first call which actually performs the initialization is ok). From the CloudWatch logs I can see I get a Heartbeat failed for connection . It looks to me that the session is not able to communicate while idle, and that it gets in an inconsistent state in which is not able to resume