Hi, I have a performance problem related to my use of multiple ColumnFamilies. Maybe there's a better way to represent my data such that I don't hit this problem, I don't know, but as things stand, I'm putting data into each ColumnFamily at a rate which is more-or-less the same for each. This means that each ColumnFamily crosses the memtable-to-sstable threshold at approximately the same time - but Cassandra only has one thread which writes memtables to disk, so the observed behaviour is that ColumnFamilies start waiting for each other to be written to disk, but will not accept new inserts until this has happened, which leads to time-outs for both reads and writes.
Can anyone confirm whether or not this behaviour is expected, and suggest anything that I could do about it? This is on 0.6.6, by the way. Patched with time-to-live code, if that makes a difference. Thanks, Andy. -- Andy Burgess Principal Development Engineer Application Delivery WorldPay Ltd. 270-289 Science Park, Milton Road Cambridge, CB4 0WE, United Kingdom (Depot Code: 024) Office: +44 (0)1223 706 779| Mobile: +44 (0)7909 534 940 andy.burg...@worldpay.com
WorldPay (UK) Limited, Company No. 07316500. Registered Office: 55 Mansell Street, London E1 8AN Authorised and regulated by the Financial Services Authority. ‘WorldPay Group’ means WorldPay (UK) Limited and its affiliates from time to time. A reference to an “affiliate” means any Subsidiary Undertaking, any Parent Undertaking and any Subsidiary Undertaking of any such Parent Undertaking and reference to a “Parent Undertaking” or a “Subsidiary Undertaking” is to be construed in accordance with section 1162 of the Companies Act 2006, as amended. DISCLAIMER: This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the WorldPay Group, are confidential and solely for the use of the intended recipient. If you are not the intended recipient (or authorised to receive for the intended recipient), you have received this email in error and any review, use, distribution or disclosure of its content is strictly prohibited. If you have received this email in error please notify the sender immediately by replying to this message. Please then delete this email and destroy any copies of it. Messages sent to and from the WorldPay Group may be monitored to ensure compliance with internal policies and to protect our business. Emails are not necessarily secure. The WorldPay Group does not accept responsibility for changes made to this message after it was sent. Please note that neither the WorldPay Group nor the sender accepts any responsibility for viruses and it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. Anyone who communicates with us by email is taken to accept these risks. Opinions, conclusions and other information contained in this message that do not relate to the official business of the WorldPay Group shall not be understood as endorsed or given by it.