I have one database stored on cloud that has table which I am accessing. The table has columns like "FileName", "ID" , etc etc. After accessing the database I am saving FileName in a datatable. This is an image database where FileName acts as a pointer to original image.
I have part of code that access database and downloads Image from database. I want one thread to perform task of accessing database and feeding it to the queue. Another thread will perform operations on data from queue and then that item will be removed.
I am trying to use BlockingCollections but not sure what type of Queue I should use. Can somebody help?