Hi,
I am working for a client where they want to create a sales forecasting tool using AI. Each model generated takes 2-15 minutes, depending on Sales data.
They want an initial 10,000 models.
How best to go about this? Timer is just very unrealistic. I am thinking BPT, but will this just timeout half the time? What about other applications they are running that also use BPT during the day?
Though without BPT, at an average of 5 minutes...10,000 models takes 50,000 minutes. around 34 days. Which is unfaesible. That's just to initially create too.Any ideas? Can I stagger BPT instances? Or is there some way to run a maximum of, say 8 at once so other applications can use them?Any responses would be hugely appreciated!
Hi Aaron,
A quick browse on the different options available on async processes got me this comparison for reference.
In your situation 50,000 minutes would translate into following at bare minimum (if only you consider Timers having 1 Front-end server):
Improving throughput:
I'm personally don't have much experience in BPT, but have worked extensively on Timers. They work just great most of the time. However, the processing capabilities that are offered in Processes and Light Processes can seriously make a big impact in your situation.
What's your expectation regarding processing times from any solution that you're looking for? Like 10,000 models should be processed in how much time?
Ok, seems BPT is probably the way to go, along with optimisation + compartmentalising more of the process so it doesn't exceed 5 minutes.
Well, the client wants to start testing ASAP, so realistically anything more than a few days is a bit much. Especially as they'll want to push to prod soon, and therefore repeat the process.Thanks so much for your long detailed answer, really appreciated!
You're welcome @Aaron Gordon. Glad I was able to help you with this. Please mark it as answer if this resolved your initial query.
By the way, is that any good progress on your project? It's been a few days now since your reply. I would love to know if you got any results that can be insightful for others too. It seems an interesting project to work on.