HN user

lpinca

74 karma
Posts2
Comments30
View on HN

There is NO WAY in hell the Italians have tested over 200,000 patients for SARS-Cov2 in a matter of 2-3 weeks due to

See https://lab24.ilsole24ore.com/coronavirus/#box_6 that graphs shows the number of tampons per day.

https://lab24.ilsole24ore.com/coronavirus/#box_5 total tampons: 233222. The source is the Italian Ministry of Health.

Also in Italy, unlike what happens in other countries, all deceased people positive to the test are classified as "Covid deaths", regardless of the simultaneous presence of other serious diseases.

I'm not sure how the append only mode works but I tried to run a script (appendfsync directive set to always) which sets a new key in an endless loop and kill the server in the middle of the execution.

No changes are written to the AOF so I guess the operation is atomic.

uWebSockets 0.10.0 10 years ago

Yes, for 100k connection, using Alex's own benchmarks I saw that uws is up to 2x faster/more lightweight than ws except for the short message throughput where uws really shines and is up to 10x faster. It is a lot, don't get me wrong but the numbers on the README are obtained comparing the C++ server with ws which is totally wrong imho.

uWebSockets 0.10.0 10 years ago

For 100k connections your own benchmarks showed a different story. Now I didn't try with 1 million and I guess it gets worse so I trust you but I can try with removing the upgrade request, the event emitter, etc from ws to start at least with a fair comparison.

uWebSockets 0.10.0 10 years ago

Congrats for this achievement. For anyone using this in Node.js I strongly suggest to run your own benchmarks as uws is no way 47x 18x 33x and 2x times faster/more lightweight than ws. Also check how the improvements are obtained.

  Location: Perugia Area, Italy
  Remote: Yes
  Willing to relocate: It depends on the offer
  Technologies: JavaScript (Node.js, Primus, Express, jQuery), SQL (MySQL), Redis, MongoDB, PHP, Linux, Bash, Git, CSS, HTML
  Résumé/CV: Will send via email
  Github: https://github.com/lpinca
  Email: luigipinca (gmail)
I enjoy learning and collaborating with others and I'm looking for a working environment where I can expand my experience, skills and knowledge.

I won a promo code for a .HOST 85% off from the same anniversary game.

I will not use it, so if you are interested let me know.

Yes it does, but if you are building something that works perfectly only using websockets (e.g. a command-line utility), why would you use engine.io?

You can tell engine.io to only use websockets, but what's the point if you can use websockets directly and have the same API?

You can't use both. In Primus you can select only one transformer, listed above by V1, but if something doesn't work, you can just switch it with a single line of code. No rewrites, no need to learn a new API.