DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


jiafu_181556 avatar image
jiafu_181556 asked ·

Why to set the so_linger to 0 instead of so_reuseaddr to reduce Timewait in Cassandra?

Hi, Excuse me, In Cassandra's code, Why to set the so_linger to 0 instead of keep default value: -1 and enable so_reuseaddr? 0 mean will drop the data when closing the socket. To reduce timewait's best choice is to enable so_reuseaddr. Can anybody help to explain this reason? I check many popular open source programs. they won't set this so_linger to 0 but enable so_reuseaddr

10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

0 Answers