title: RabbitMQ queue messages before writing to MongoDb
body: <p>Application is sending logs from many machines to Amazon Cloud and store them in some database.</p>
  
  <pre><code>&gt; Lets assume: one machine log size: 1kB every 10 seconds, num of machines from
  1000 to 5000
  </code></pre>
  
  <p>My first approach was to queue logs in rabbitmq and then rabbitmq consumer would store them in sql database.</p>
  
  <ol>
  <li>Do I really need rabbitmq when consumer only do some basic storage operation?</li>
  </ol>
  
  <p>Second approach was to queue logs in rabbitmq but store them in mongodb</p>
  
  <ol start="2">
  <li>Is this make sense to queue messages before write to mongodb?</li>
  </ol>