{"id":1187453,"date":"2026-09-28T15:09:50","date_gmt":"2026-09-28T22:09:50","guid":{"rendered":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/?post_type=msr-video&#038;p=1187453"},"modified":"2026-09-28T15:09:52","modified_gmt":"2026-09-28T22:09:52","slug":"latch-free-index-trees-that-scale-avoiding-thread-switches-stalls","status":"publish","type":"msr-video","link":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/video\/latch-free-index-trees-that-scale-avoiding-thread-switches-stalls\/","title":{"rendered":"Latch-Free Index Trees That Scale: Avoiding Thread Switches & Stalls"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Latch contention is a frequent impediment to high and scalable performance when accessing indexed data, even when I\/O induced thread stalls have been much reduced. Latch-free techniques have the potential to overcome this impediment.  Our Bw-tree used delta updating together with whole state replacement, using a compare and swap (CAS). Whole state replacement resulted in redundant and expensive work by competing threads during structure modifications, limiting scalability. This talk introduces latch-free notices. Notices (1) enable contending threads to establish early the thread doing the bulk of the work, hence avoiding this expensive and redundant work. (2) They form a barrier to safeguard state that is being replaced. (3) They direct ongoing updates to the appropriate elements of node states. This yields a high-performance index sequential access method that scales.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Latch contention is a frequent impediment to high and scalable performance when accessing indexed data, even when I\/O induced thread stalls have been much reduced. Latch-free techniques have the potential to overcome this impediment. Our Bw-tree used delta updating together with whole state replacement, using a compare and swap (CAS). Whole state replacement resulted in [&hellip;]<\/p>\n","protected":false},"featured_media":1187454,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","msr_hide_image_in_river":0,"footnotes":""},"research-area":[13563],"msr-video-type":[],"msr-locale":[268875],"msr-post-option":[],"msr-session-type":[],"msr-impact-theme":[],"msr-pillar":[],"msr-episode":[],"msr-research-theme":[],"class_list":["post-1187453","msr-video","type-msr-video","status-publish","has-post-thumbnail","hentry","msr-research-area-data-platform-analytics","msr-locale-en_us"],"msr_download_urls":"","msr_external_url":"https:\/\/youtu.be\/1tvnKvA9UjI","msr_secondary_video_url":"","msr_video_file":"http:\/\/0","_links":{"self":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/1187453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-video"}],"about":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-video"}],"version-history":[{"count":2,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/1187453\/revisions"}],"predecessor-version":[{"id":1187457,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/1187453\/revisions\/1187457"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/media\/1187454"}],"wp:attachment":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/media?parent=1187453"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=1187453"},{"taxonomy":"msr-video-type","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-video-type?post=1187453"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=1187453"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=1187453"},{"taxonomy":"msr-session-type","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-session-type?post=1187453"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=1187453"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=1187453"},{"taxonomy":"msr-episode","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-episode?post=1187453"},{"taxonomy":"msr-research-theme","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-us\/research\/wp-json\/wp\/v2\/msr-research-theme?post=1187453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}