I have a table of customers. This table can be big, millions of rows. Every hour, I have a console app that goes through all the customers and updates another table with customer changes that occured in the last hour.
What I want to do is two things: (1) Have the console app (or SSIS package) be multi-threaded so that I can have a couple of these running so that the update finishes quicker. It needs to be smart and be able to select customers in a way so that two threads never execute code for the same customer.
(2) If a new customer signs up, he should not have to wait an hour or until the console app gets to him to get data. There should be another process/app that has a queue of new customers and runs analysis on that. The problem is that I want to prevent this queue from running code on a customer if the hourly process is also running code on that process.
From what I've read on previous threads on here, SSIS is what I want to use. Is this correct? Is SSIS the right tool?
I've been looking into SSIS, and am not sure where to start and how to do the multi-threaded approach for this. I'd love to have some rough pointers so that I have a better idea of where to start and what to research.
Thanks!