title: c# rabbitmq: passing bulk request to rabbit mq sever OR passing each object one by one
body: <p>I am new to rabbitmq. I am creating product based website which will have over 100k products. The prices of these products keep on changing frequently. </p>
  
  <p>Every night we get bulk price update request for almost each product (around 100 000 of them). I have a choice to make with following type of collection:</p>
  
  <pre><code>class ProductPrice
  {
    int productId;
    string productPrice;
  }
  </code></pre>
  
  <ol>
  <li><p>Push each price update one by one to rabbitmq. [Each record in them dequeued in consumer and price is updated]</p></li>
  <li><p>Push entire price update collection to rabbitmq directly. (almost 100 000) [Collection is dequeued, then iterated, then price is updated for each]</p></li>
  <li><p>Push in bulk but in groups. (ex. group of 10 000) [Collection is dequeued, then iterated, then price is updated for each]</p></li>
  </ol>
  
  <p>Which would be best approach considering all aspects?</p>