Vert.x会对Node.js的用户群构成威胁,因为它的性能要好得多吗?

时间:2022-10-04 18:06:14

Benchmark

Hacker News Discussion

黑客新闻讨论

Hacker News Discussion 2

黑客新闻讨论2

2 个解决方案

#1


6  

It's not like Node.js is even really dominant today (except in the Hacker News community of course), it hasn't even had a 1.0 release yet. Funny to be speculating on what might replace it already :)

它不像今天的N​​ode.js真的占主导地位(当然除了黑客新闻社区),它还没有发布1.0版本。有趣的是推测可能取代它的东西:)

Performance is nice (though micro-benchmarks are not the right way to judge that) but if that was the only thing that mattered we would all be writing custom web servers in C for every app. One of the other important things is the community support, which Node.js definitely has going for it at the moment. It has a very healthy open source (this being the key) community that has created a large library of tools.

性能很好(虽然微基准测试不是判断它的正确方法),但如果这是唯一重要的事情,我们都会在C中为每个应用程序编写自定义Web服务器。另一个重要的事情是社区支持,Node.js目前肯定会支持它。它有一个非常健康的开源(这是关键)社区,它创建了一个庞大的工具库。

I think Vert.x is interesting and has a different way of looking at things than Node.js which is great. If they are able to continue to make progress, get more people interested in it, and show that it is easier and faster to write web apps then who knows? Maybe in a few years we can have a discussion on what is going to threaten Vert.x's future.

我认为Vert.x很有趣,并且有一种不同于Node.js的方式来看待它。这很棒。如果他们能够继续取得进步,让更多人对它感兴趣,并表明编写Web应用程序更容易,更快,那么谁知道呢?也许在几年内我们可以讨论什么会威胁到Vert.x的未来。

#2


3  

There are some interesting things brought up by this micro-benchmark that may be worth addressing in Node, but it's very important to remember that nobody doing 100's of millions of hits per day (which these benchmarks show) does so on one machine. They do it on many machines.

这个微基准所带来的一些有趣的东西可能值得在Node中解决,但重要的是要记住,没有人每天进行100万次点击(这些基准测试显示)在一台机器上完成。他们在许多机器上做到了。

There are certain levels where faster languages make a difference (see for example Twitter migrating their backend from Ruby to Java), but it's VERY rare to get to that position.

在某些级别,更快的语言会产生影响(例如,参见Twitter将他们的后端从Ruby迁移到Java),但是很难达到这个位置。

Most people need a language that is clean and easy to program in, and a good ecosystem.

大多数人需要一种干净,易于编程的语言,以及一个良好的生态系统。

Vert.x has no ecosystem to speak of. If you want a JVM based system you can get plenty of options there. If you want a Javascript based system the best option right now is Node.js. It's that simple.

Vert.x没有生态系统可言。如果你想要一个基于JVM的系统,你可以在那里获得很多选择。如果你想要一个基于Javascript的系统,现在最好的选择是Node.js.就这么简单。

#1


6  

It's not like Node.js is even really dominant today (except in the Hacker News community of course), it hasn't even had a 1.0 release yet. Funny to be speculating on what might replace it already :)

它不像今天的N​​ode.js真的占主导地位(当然除了黑客新闻社区),它还没有发布1.0版本。有趣的是推测可能取代它的东西:)

Performance is nice (though micro-benchmarks are not the right way to judge that) but if that was the only thing that mattered we would all be writing custom web servers in C for every app. One of the other important things is the community support, which Node.js definitely has going for it at the moment. It has a very healthy open source (this being the key) community that has created a large library of tools.

性能很好(虽然微基准测试不是判断它的正确方法),但如果这是唯一重要的事情,我们都会在C中为每个应用程序编写自定义Web服务器。另一个重要的事情是社区支持,Node.js目前肯定会支持它。它有一个非常健康的开源(这是关键)社区,它创建了一个庞大的工具库。

I think Vert.x is interesting and has a different way of looking at things than Node.js which is great. If they are able to continue to make progress, get more people interested in it, and show that it is easier and faster to write web apps then who knows? Maybe in a few years we can have a discussion on what is going to threaten Vert.x's future.

我认为Vert.x很有趣,并且有一种不同于Node.js的方式来看待它。这很棒。如果他们能够继续取得进步,让更多人对它感兴趣,并表明编写Web应用程序更容易,更快,那么谁知道呢?也许在几年内我们可以讨论什么会威胁到Vert.x的未来。

#2


3  

There are some interesting things brought up by this micro-benchmark that may be worth addressing in Node, but it's very important to remember that nobody doing 100's of millions of hits per day (which these benchmarks show) does so on one machine. They do it on many machines.

这个微基准所带来的一些有趣的东西可能值得在Node中解决,但重要的是要记住,没有人每天进行100万次点击(这些基准测试显示)在一台机器上完成。他们在许多机器上做到了。

There are certain levels where faster languages make a difference (see for example Twitter migrating their backend from Ruby to Java), but it's VERY rare to get to that position.

在某些级别,更快的语言会产生影响(例如,参见Twitter将他们的后端从Ruby迁移到Java),但是很难达到这个位置。

Most people need a language that is clean and easy to program in, and a good ecosystem.

大多数人需要一种干净,易于编程的语言,以及一个良好的生态系统。

Vert.x has no ecosystem to speak of. If you want a JVM based system you can get plenty of options there. If you want a Javascript based system the best option right now is Node.js. It's that simple.

Vert.x没有生态系统可言。如果你想要一个基于JVM的系统,你可以在那里获得很多选择。如果你想要一个基于Javascript的系统,现在最好的选择是Node.js.就这么简单。