Skip to content

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello lovely humans,

uws just published its new version 0.13.0.

State Update 🚀
Dependency uws
New version 0.13.0
Type optionalDependency

This version is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of uws.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?

There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

Good luck with your project ✨

You rock!

🌴


GitHub Release

µHTTP

This release of µWebSockets adds HTTP support where performance and memory usage has been thoroughly considered. The wrapper for Node.js is designed as a semi-compatible drop-in replacement for require('http') which means that Koa.js, Express.js and Aero.js can run unmodified on this require('uws').http replacement:

var koa = require('koa');
var app = koa();
var uhttp = require('uws').http;

app.use(function *() {
this.body = 'Hello World';
});

if (process.env.UWS_HTTP) {
uhttp.createServer(app.callback()).listen(3000);
} else {
app.listen(3000);
}

Above Koa.js example has ~4x the throughput and dramatically improved memory usage when running on uws.http. Other less, coughbloatedcough projects like Aero.js sees up to ~11x improvement and does 150-530k requests/second on this machine. Raw createServer projects can see up to 20x improvement with ~1 million requests/second.

Note to Nodesters™: This is a new major feature and it will contain bugs and problems to be ironed out in the coming updates. Play around with it and file pleasant bug reports if you want the project to evolve.

Bug fixes:

  • Stability fixes for WebSocket client support
  • Node.js: Fix for async upgrade failure on Windows

✨ Try the all new Greenkeeper GitHub Integration
With Integrations first-class bot support landed on GitHub and we’ve rewritten Greenkeeper to take full advantage of it. Simpler setup, fewer pull-requests, faster than ever.

Screencast

Try it today. Free for private repositories during beta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants