Search code examples
phpcassandrathriftphpcassa

phpcassa describe keyspace call on new CF object


Is this call really made every time a new ColumnFamily object is created? If I cache the response, what would be consequences - assuming the schema does not change?


Solution

  • That would be totally fine. (Incidently, this whole process is made unnecessary for CQL clients in Cassandra 1.0.)