What are the consequences of inserting new rows (not updating existing) into the same table (SQL Server), from two different programs?
I have a Windows Service, which does a lot of inserts into db (1 insert per second, sometimes faster). I want to make this service scalable (I want to run the same service on many computers). I'm afraid that it can cause problems during those inserts.
If this is the issue, What's the way of handling it? (I'm not asking for "The best" way, so it's not an opinionated question).
My first idea, is to create a new service - "data access service", with the queue. It will be the only service that talks with the database. Other services will connect to that service when they want to insert something. I'm not sure if this is an overkill though. Is there a better way? Or maybe I don't have an issue at all and it's handled by SQL Server (which would be ideal)?