<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/2153ccc341d3420c8a13867d108553c7&quot; frameborder=&quot;0&quot; width=&quot;1818&quot; height=&quot;1363&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1363</height><width>1818</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1363</thumbnail_height><thumbnail_width>1818</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/2153ccc341d3420c8a13867d108553c7-293fc00aa5af3d54.gif</thumbnail_url><duration>393.522</duration><title>Optimizing Data Processing for Improved EF Query Performance 🚀</title><description>In this video, I discuss the significant performance issues we encountered when processing 10 million candidate records in memory, leading to inefficiencies and slowdowns. I outline a series of optimization steps, including moving filtering logic to the database layer, utilizing hash sets for holiday lookups, and implementing parallel processing with PLINQ to leverage multiple CPUs. These changes resulted in a remarkable 60% reduction in execution time, improving our processing speed from 11 ms to 4000 ms. I encourage you to review these optimization strategies and consider how we can implement them in our workflows to enhance efficiency. Your feedback and suggestions on these approaches would be greatly appreciated.</description></oembed>