HTTP server implementation on a microcontroller |
using different frameworks and libraries, performance benchmark and analysis
IDE | OS | IP stack |
---|---|---|
Cube | FreeRTOS | lwIP |
- | Zephyr | Zephyr |
Keil | RTX | MDK |
make + GCC | FreeRTOS | FreeRTOS-TCP |
make + GCC | bare metal | Mongoose MIP |
const http = require('http');
const requestListener = function(req, res) {
res.writeHead(200);
res.end('hi');
};
http.createServer(requestListener).listen(8000);