good idea! but where should i put the record copies? if they're in non-persistant memory, they're lost if producer AND consumer die at once... if i put them into a file, i would have to remove them from the file, which is almost the same operations as when each record uses it's own file.Quote:
Originally Posted by TSYS
:eek: i think i will first check if there are enough system resources to do the one-file-per-record thing because this sounds like "work"... i don't need "rocket science" in the moment ;)Quote:
Originally Posted by TSYS
@krzemo: i was thinking about using a database as buffer between producer and consumer, but that's too complicated and it's also too unsafe for me because i'm not sure how the DB reacts on low system resources.
i must be absolutely sure that my producer can immediately put the records somewhere where they can not get lost.
@
