lapis
lapis copied to clipboard
Implement cqueues server backend
cqueues is an event loop and lua-http is a http client and server library. It was chosen because it provides many of the same benefites of OpenResty, all blocking io is async by default, handled transparently by coroutines.
- [x] start a server from
lapis server
- [x] postgres database connection
- [ ] mysql database connection
- [ ] database connection pool, connection per request (this may be impossible)
- [x] dispatch requests from
lua-http
to lapis application - [x] configuration option to specify server
- [x] queues as an attached server for testing
- [ ] headers, GET, POST, form encoded data, file upload should be available in request
- [ ] security audit to ensure unbounded data does not disable server
- [ ] writing logs to file
- [ ] write new documentation page, update existing pages
- [ ] simple way to serve static files
Hi Leafo! This seemed like a good place to reply and ask how this integration is going and whether the above checklist is still accurate? What's your overall thoughts on using cqueues+lua-http + lapis on a long term embedded hardware project (www.janga.la)?