Thank you for your answer =)
I understand, the problem is that there could be more than 1000 devices and they all are configured at the same time with a custom tool, all of them will open the request to my server at the same time. Right now, I'm controlling the dbcontexts. I'm not sure if this is the best way to solve this problem, but I have a context factory and if a dbcontext is required, it will wait until less than 100 dbcontexts are in used.
Thank you very much for your help anyway, If you have any other better way to solve this issue. I would be thankful, if you share it =).