At the minute I have several hundred queries every few seconds sent from one C# program (lets called it Program1) to a HTTP server, which then processes the XML content using business logic and updates the database as appropriate.
Would it be more efficient if instead of putting my business logic in the web server (PHP back end), I should instead put the business logic in another C# application (lets call it Program2) that can maintain a persistent connection both with the database itself and also Program1 or any other programs that might want send Program2 data. Or should I just stick with my existing HTTP route?