Hi Bruce,
This is a case where fixing the actual problem, rather than trying to work-around it, would be a better idea.
You don't have to control the backend, but you can speak to them about minimum requirements.
--Right, I just want to make sure to address or understand whatever is causing the reciever to stop accepting data before asking for more resources because at that point it has nothing to do with the backend yet.
If you want to buffer, buffer to a local database - either a local SQL or local TPS database, not in-mem driver. Presumably you have control over that, and the machine the server is running on.
-- I have limited the buffer to no more than 10 records to limit memory allocation but ok, will keep on looking for weak/bug points. Yes, I have control over the server app machine but not the db server machine.
Or, set the clients to send at a random time spread out over the night. If users turn the machines off then train them not to do that (who does that anyway?) or send from a machine at the client facility that is not turned off. To scale up, I would do this anyway. If the machine is switched off then don't resend immediately on restart, send sometime in say the next hour.If the customer really wants to get the reports "by morning" then tell them to stop turning the machines off.
GET THE DB ADMIN INVOLVED!!! WTF would you want to pursue this sort of project and not have the db admin involved??? That's what they are there for.
-- Haha, I know! The main objective of auto generating reports and sending to head office in this case is to get the reports because before this the sites didn't submit them regularly. So despite the hiccups, we're still able to offer the solution they need. Luckily, over the years you have been there to help us deliver.
Thanks,
Vic