CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Threaded View

  1. #2
    Join Date
    Jun 2001
    Location
    Melbourne/Aus (C# .Net 4.0)
    Posts
    686

    Re: Multithread writing data

    9 out of 10 times I believe the answer to this would be Dictionary<,>. (Memory access faster than Disk access)

    A database may be faster, if there are millions of items, the database is on a separate machine, the client machine has very little memory (so the Dictionary<,> is swapping to disk anyway) and your network is very fast.

    SQL definitely supports multiple 'parallel' updates to the same table.

    Having said all of that, the proof is in the pudding, so it's probably best to test it in your environment.
    Last edited by rliq; February 26th, 2012 at 05:02 PM.
    Rob
    -
    Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured