How to prevent duplicates?

I have a high frequency call that is being made and I am currently running 3 instances of Hangfire. My problem is that the data coming in can sometimes come in very quickly and a 2nd record that should really just be a patch to the first one will sometimes generate a duplicate row in the database because the 1st record didn’t finish in time. Is there anyway I can specify that a specific service can only run on one of the servers and that server has like a concurrency of 1 so only one job is executing at a time? I think this will then force the 2nd record to wait until the 1st record has finished and an update will be performed instead of another insert. Maybe someone has an idea how to accomplish this?