title: Embedded web server with integrated XML parser
body: <p>I have a requirement to integrate a web server into an <strong>embedded</strong> device running <strong>Linux</strong> and am in the process of evaluating OSS and commercial offerings.</p>
  
  <p>System requirements at not particularly tight: - Memory running set of up to 10MB, - Can spare 20%+ of a 300MHz ARM and more in bursts, - UI will be in jQuery and JSON, so would like to feed several hundred KB pages linking a dozen CSS and JS files in well under a second.</p>
  
  <p>Feature requirements: - HTTPS support, - A 10+ concurrent connections, - Well-tested against DOS attacks.</p>
  
  <p>Would <strong>much appreciate</strong> an integrated XML parser to base a SOAP implementation on.</p>
  
  <p>Not a fan of PHP, but not certain about server-side Javascript either, and unfamiliar with Lua. So looking for suggestions for templating solutions, perhaps a Python-based stack.</p>
  
  <p>Already reviewed <a href="https://stackoverflow.com/questions/3135745/web-technologies-for-an-embedded-server">discussions on SO</a> and <a href="http://en.wikipedia.org/wiki/Comparison_of_lightweight_web_servers" rel="nofollow noreferrer">lists on Wikipedia</a>. Am aware of <a href="http://www.acme.com/software/thttpd/" rel="nofollow noreferrer">thttpd</a>, <a href="http://code.google.com/p/mongoose/" rel="nofollow noreferrer">Mongoose</a>, <a href="http://www.cherokee-project.com/" rel="nofollow noreferrer">Cherokee</a>, <a href="http://appwebserver.org/products/appweb/embedded-web-server.html" rel="nofollow noreferrer">Appweb</a>.</p>
  
  <p>At this point I invite <strong>detailed technical</strong> suggestions and discussion of implementation choices, based on first-hand experince in production quality deployment.</p>