billywhizz / ws-uv

websocket server using libuv
53 stars 16 forks source link

License #1

Open pauldorn opened 11 years ago

pauldorn commented 11 years ago

Is the code outside of submodules in the public domain? License or attribution would be appreciated.

billywhizz commented 11 years ago

hi paul. is all my own code - i did take some sha code from another source and will check the licensing on that before i put a license up but you are pretty safe to assume it will be MIT/Apache licensed. I will also have a look at updating the code and doing some testing. has been a while since i looked at it. are you using it for something?

pauldorn commented 11 years ago

Possibly. At my place of employment I am working with embedded linux systems. We are currently using NodeJS on the server and embedded. One possible future path is to replace NodeJS on the embedded side with C++ websockets and libuv. NodeJS has become quite large and has a longish (2-5 second) startup time and 10+ MB footprint in memory. Between this and incompatibility (while we are moving toward ARM/Linux) there are a bunch of PPC/Linux and PPC/VxWorks platforms that we need to target internally where NodeJS will never be an option.

Thanks for your quick reply.

Paul Dorn pauldorn@gmail.com

billywhizz commented 11 years ago

sounds good paul. i agree with you about node.js. i think they have lost track a bit of what the platform was originally intended to be. i was involved with the project quite a lot in the early days and always thought is should just be a small js wrapper around the system calls without all the streams and http/ssl stuff - they are better done as external modules imho.

i have done some experiments in creating a stripped down version of node.js that knocks 3-4 MB off the runtime at startup in my environment. would be interested anyway in developing the ws-uv project and more than happy if you or any other guys at your shop would like to help out with patches, testing etc. libuv is a very nice platform and covers the 80% of what you need for most system apps. it's also very little overhead on working directly with kqueue/epoll etc.

anyway, a bit of a ramble but it's late here. would be interested to hear back from you on any suggestions for this library and if you are looking to outsource any work do get in touch.