death to the batch job
TRANSCRIPT
![Page 1: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/1.jpg)
Death to the Batch Job
Kyle Baleywww.particular.net
www.westerndevs.com @kyle_baley
![Page 2: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/2.jpg)
2
foreach(var customer in customers){ var orderTotal = customer.Orders .Where(o=> o.OrderDate < 365.DaysAgo) .Sum(order => order.OrderValue);
customer.Preferred = orderTotal > 5000;}
![Page 3: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/3.jpg)
![Page 4: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/4.jpg)
4
![Page 5: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/5.jpg)
5
![Page 6: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/6.jpg)
6
![Page 7: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/7.jpg)
7
![Page 8: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/8.jpg)
8
![Page 9: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/9.jpg)
9
Demo
![Page 10: Death to the Batch Job](https://reader035.vdocuments.mx/reader035/viewer/2022062507/58816c911a28abf7478b4ba1/html5/thumbnails/10.jpg)
• Not scalable
• Not real-time
• Not terribly efficient10
Summary