Hello,
I have search algorithm to search unindexed content for huge amount of results. The problem is, if I wanted to do search in real time, the client would probably timeout as such search takes up to 10 minutes.
So I am wondering, what logistics to go for (easiest and most reliable).
Do I just schedule search and let server do it in background and notify user via email when complete? Or do I get it running asynced and let user wait for results?
Also, where do I store results? Should I do it in database (array with up to 10,000 elements) or in text file?
Help me, I am quite fresh to web stuff.