title: How to use uwsgi to batch HTTP requests to send to SQS?
body: <p>I'm trying to log HTTP requests from nginx that come into uwsgi and put them on SQS but I'm not sure how to exactly go about doing it because uwsgi has so many components!</p>
  
  <p>There's the LIFO/FIFO queue, which is circular so I might lose data if I don't empty the queue fast enough.</p>
  
  <p>There's the caching framework, which... doesn't sound like the right fit to the problem.</p>
  
  <p>There's the spooler, which sounds like it might do what I want it to, except it seems to create many little files for each entry in the filesystem.</p>
  
  <p>There are mules, which can probably do the actual work of checking if the list is full enough, flushing a list if it looks like it's taking too long to fill up, actually sending the list to SQS via boto, but is that what the spooler is for?</p>
  
  <p>Can anybody explain how these components are supposed to be used in a uWSGI deployment? Especially in this particular use case?</p>