Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Asynchronous Worldsaves
#4

They introduced the dynamic save strategy which uses the Task Parallel library to iterate over the items much, much faster. However, the collections still have to be locked on to prevent changes while going through them. ConcurrentDictionary make it easy for someone to implement a completely async save strategy where saves could be done in the background without locking at all.

It's fun stuff ;p


Messages In This Thread
Asynchronous Worldsaves - by Nasir - 02-16-2012, 08:32 AM
Asynchronous Worldsaves - by Eru - 02-16-2012, 08:55 AM
Asynchronous Worldsaves - by Taran - 02-16-2012, 11:48 AM
Asynchronous Worldsaves - by Nasir - 02-16-2012, 05:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)