Question: I am in the process of writing a message queue system.

My question is... Is it better to do this queue with files or in a database?

If I were to choose the database, it needs to check for new jobs every second and that just seems a bit of an overhead to me?

If it's files I guess you just constantly monitor the folder and execute based on that?

BR,

Answer: 
I choose option "C" — use message queue that's already built in to Windows:

> 
> <https://msdn.microsoft.com/en-us/library/ms973860.aspx>
> 
> 
>
It depends on your requirements, but if you need to queue up multiple messages as one single group, you'll need some sort of transactional support. In that case the database is your friend.