I'm new to C#, i have implemented an application which read data from socket and store it using a separate thread in an oracle DB on remote server. My Question is: when the database server is down and i can not save the data in the data base, is there a tools or techniques in C# or .net that allow me to buffer the data locally then send it to the server when the connection is available again. I dont want to lose the information that are coming from the socket, at the same time i would like to preserve on data consistency in my oracle databse becuase i have a sequence and some triggers that save additional information after inserting each record.
You are trying to introduce fault tolerance
Approaches:
With any of these approaches, they will store records until your database server is available again. The message queue is the most scalable approach.