Timeline for Accessing shared data without blocking in TPL
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 21, 2015 at 7:18 | comment | added | rwong | @KobiHari Please include your use case description in the question. Without that description, your question would be too broad to be answered. | |
| Mar 21, 2015 at 7:17 | answer | added | rwong | timeline score: 2 | |
| Feb 18, 2015 at 20:24 | answer | added | AIDA | timeline score: 0 | |
| Feb 17, 2015 at 13:30 | history | edited | Kobi Hari | CC BY-SA 3.0 | added 426 characters in body |
| Feb 16, 2015 at 18:29 | answer | added | AK_ | timeline score: 0 | |
| Feb 16, 2015 at 18:21 | comment | added | Kobi Hari | We have a web service the provides graph nodes. We hold a local copy of part of the graph and expose and async API to query the graph. If the area that you query is in the cache then we simply calculate and return the result, otherwise we start downloading the missing part and then perform the calculation and return the result. There is also a recurring task in the background that polls the server for changes in the node and applies the changes to the local cache. | |
| Feb 16, 2015 at 16:48 | comment | added | AK_ | what is your usecase? what are you actually doing? | |
| Feb 16, 2015 at 16:31 | comment | added | Kobi Hari | @AK_, It is not the sort of data that you can keep in concurrent lists or dictionary. I was thinking about the read/write lock approach, only without blocking (as much as possible, using tasks that may be scheduled to run in a way that prevents concurrent writes). The only "catch" is that "read" tasks should sometime trigger "write" tasks and wait for them to finish, as well. | |
| Feb 16, 2015 at 12:24 | comment | added | AK_ | there are numerous solutions. but we need a more detailed explanation of the problem.... what kind of data is it? can it be immutable to a degree? what calculations are you doing on it? | |
| Feb 15, 2015 at 23:20 | review | First posts | |||
| Feb 16, 2015 at 8:40 | |||||
| Feb 15, 2015 at 23:20 | history | asked | Kobi Hari | CC BY-SA 3.0 |