Jan 20 โ€ข ๐Ÿค“ Tech Chat
Introducing Surge Protection (Preview)
Last week, Microsoft introduced a new feature: Surge Protection (preview). You can read the full article here if you want more info, and also the related documentation page for Surge Protection.
๐—ฆ๐—ผ ๐˜„๐—ต๐—ฎ๐˜ ๐—ถ๐˜€ ๐—ฆ๐˜‚๐—ฟ๐—ด๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐˜๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป?
Essentially, surge protection prevents background jobs taking up too much of your capacity allowance.
A background job is typically a scheduled job, like a scheduled pipeline run, or a scheduled semantic model refresh. As opposed to interactive queries - these normally involve a user clicking on buttons in the UI. Both interactive and background job capacity usage are reported in the Capacity Metrics App.
๐—›๐—ผ๐˜„ ๐—ฑ๐—ผ๐—ฒ๐˜€ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ?
  1. You define a threshold ("Background Rejection Threshold"), for example 75%. This means that when background jobs are consuming >75% of your capacity, they will begin to be rejected.
  2. You define a second Recovery threshold, which could be 50%. When the Background Recovery threshold is reached, surge protection stops rejecting operations. The capacity then resumes accepting new background operations.
๐—œ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ป๐—ผ๐˜๐—ฒ๐˜€:
  • You configure surge protection for each capacity.
  • Before you set the two thresholds, check your capacityโ€™s 24 hours background %. Avoid setting the value too low too quickly to prevent impacting users.
Let me know if you'll be turning on this feature! Please note: this is still a preview feature, so you'll need to bear that in mind.
24
2 comments
Will Needham
8
Introducing Surge Protection (Preview)
Learn Microsoft Fabric
skool.com/microsoft-fabric
Helping passionate analysts, data engineers, data scientists (& more) to advance their careers on the Microsoft Fabric platform.
Leaderboard (30-day)
Powered by