I have an application that loads time series data from various files. The application opens one thread per file to load the data in parallel. The records in the files are ordered but I need to deliver one feed to the rest of the application maintaining the order of events overall.
Can this be implemented using the disruptor like multiple producers one consumer type of design maintaining the order of events?
I am currently using blocking collections and a sorted list to sort the head of each of the blocking collections but this consumes a ton of memory and I am interested to see if someone else has implemented a similar design using a different architecture.
Thanks