Even if you load the files every 30 seconds or every minute?
Well you could certainly have a flag that the app looks at that says "write
to DB" or "write to file"... When the flag is set to the latter, it writes
to the file instead. When the database comes back up, you change the flag
back, and load any files that were written in the meantime.
On 5/23/09 2:14 PM, in article
(E-Mail Removed),
"Charles" <(E-Mail Removed)> wrote:
> Hi Aaron
>
> Thanks for the quick reply. The data need to be pushed to the database
> because it is a [near] realtime system. When the database is up, the data
> need to be saved in the database immediately. The times when it is not
> possible to reach the database are very rare, but we need to design for that
> eventuality so that we don't lose data on those rare occasions.
>
>> ... including turning off the process when
>> you want to perform maintenance on the database
>
> This would be a very attractive feature when we have the solution in place,
> but, as I say, when the database is up the data need to be saved as it
> arrives, and not on batch.
>
> Charles