|
-
February 24th, 2012, 07:58 PM
#1
Multithread writing data
Hi,
I have many threads which update simple "real time" data, format as in a database. for example, i have 10 threads, updating data at every 20ms to 30ms. The data is just a string or double value of a particular field.
ID Value
1 10.5
I would like to know whether it is more efficient to put the data in a database or just have a multi-threaded dictionary storing all the data. I don need to have a persistence storage. But i believe if using a SQL database could be more efficient, as database support parallel update by multiple threads to a single table??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|