locked
Calculate total size of a sync RRS feed

  • Question

  • Hey again...

    I have my sync set to work in batches of 100k - is there a way of calculating how many batches will be required for a sync, or even the total number of bytes in the entire sync?

    Regards,

    Fergal

    Thursday, January 20, 2011 12:27 PM

Answers

  • Hi Fergal,

    Unfortunately today we don't expose information about the total number of batches. We have got this feedback from others too and are considering this for a future release. The only information that is exposed in the response is there are more batches available.


    SDE, Sync Framework - http://www.giyer.com
    Thursday, January 20, 2011 6:00 PM
  • BTW, just a small comment on this request. The sync runtime doesnot know ahead how many batches are going to be spawned. It is a streaming model when it keeps reading changes in till it reaches the memory size limit specified by the user and then dumps it to disk and continues with the enumeration. As far as the size of the batch file is concerned it matches the limit set by the user. For a 100K batch (based on manual unscientific verification) the overhead is about couple of extra KB's added to the batch file.
    Maheshwar Jayaraman - http://blogs.msdn.com/mahjayar
    Thursday, January 20, 2011 6:39 PM

All replies

  • Hi Fergal,

    Unfortunately today we don't expose information about the total number of batches. We have got this feedback from others too and are considering this for a future release. The only information that is exposed in the response is there are more batches available.


    SDE, Sync Framework - http://www.giyer.com
    Thursday, January 20, 2011 6:00 PM
  • BTW, just a small comment on this request. The sync runtime doesnot know ahead how many batches are going to be spawned. It is a streaming model when it keeps reading changes in till it reaches the memory size limit specified by the user and then dumps it to disk and continues with the enumeration. As far as the size of the batch file is concerned it matches the limit set by the user. For a 100K batch (based on manual unscientific verification) the overhead is about couple of extra KB's added to the batch file.
    Maheshwar Jayaraman - http://blogs.msdn.com/mahjayar
    Thursday, January 20, 2011 6:39 PM
  • Thanks for the responses guys..

    I would think it would be an extremely important feature to know ahead of time the total size of all batches so that we can give the user some sort of indication as to the progress of their sync.

     

    Monday, January 24, 2011 12:09 PM