• pbair's avatar
    Use direct SQL to generate internal ids · 56134706
    pbair authored
    To reduce the overhead of generating internal ids, move away from the
    previous model of locking then updating the record, and instead favor
    doing a direct update of the record, returning the updated last_value.
    
    This change is behind a feature flag so we can better measure the
    performance impact of the new approach.
    56134706
generate_iids_without_explicit_locking.yml 282 Bytes