Thread: Transactional I/O

  1. #1
    Tha 1 Sick RAT
    Join Date
    Dec 2003

    Transactional I/O

    I've been looking on line but haven't found any text that describes transactional I/O. Can someone provide me with a brief example or point me in the direction of an explanation/example please?

    A hundred Elephants can knock down the walls of a fortress... One diseased rat can kill everyone inside

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    A transaction is a "unit" of processing that can be made up of several different operations. It is a unit, because all operations that make it must succeed for the transaction to be successful. Otherwise -- if at least one of the operations fail -- the whole transaction fails. It is thus said the transaction is an atomic unit of processing.

    So, Transactional IO will probably describe Input and Output operations that are done through transactions. There's heaps of examples I could give you... maybe this one:

    If you have a stock management application and a sales application when you input a new sale of a Summer Laced Straw Hat - Red, you will want to reduce the stock of this item in your stocks. Both the sale operation and the stock reduction may go into a transaction, insuring that if one of the operations fail, none will succeed.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Buffered/UnBuffered I/O
    By valaris in forum C Programming
    Replies: 1
    Last Post: 08-06-2008, 11:31 PM
  2. asynchronized I/O == multiplexing I/O?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 07-24-2006, 10:06 AM
  3. why page based I/O can improve performance?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 06-12-2006, 07:42 AM
  4. Nonblocking I/O
    By fnoyan in forum Linux Programming
    Replies: 4
    Last Post: 11-29-2005, 04:37 PM
  5. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM