DEV Community

Discussion on: MoonZoon Dev News (1): CLI, Build pipeline, Live-reload, HTTPS

Collapse
 
martinkavik profile image
Martin Kavík

Hi Valeria and thanks for the questions!

  • "Did you run performance tests against nodejs?"

The project doesn't use Node.js.

But I see you like Node.js so maybe it's just a "typo" - do you mean Moon or Warp?
Moon hasn't been finished yet. Warp should be fast enough and there is a chance I'll replace it with another library later. So performance tests don't make sense in this phase of development.

Or is the question related to the tip below?

Tip: I recommend to test server performance through an IP address.."

  • "Is it possible to turn https off and use only http?"

I can imagine we can add to MoonZoon.toml something like:

[server]
https = false
Enter fullscreen mode Exit fullscreen mode

What do you think?

Collapse
 
valeriavg profile image
Valeria

No I didn't imply that server should use nodejs , I was wondering if you ran performance tests and compared them with the performance test of a similar implementation in nodejs (or any other language) for that matter.

I think http should be the default option to avoid localhost certificate problem for instance, otherwise yeah something like that.

Thread Thread
 
martinkavik profile image
Martin Kavík

There is only a couple of stable frameworks based on virtual actors and they are written in C#, Java or Go. I can't find any usable Node.js virtual actor frameworks and there are only a few actor frameworks - probably because Node.js wasn't designed for multi-threading or actors (like Elixir) from start. However I've escaped from the Node.js world a couple of years ago so maybe I overlook something.

So I plan to somehow compare MoonZoon with other frameworks once it's mature enough but it will be hard to write some reasonable performance tests.

Thread Thread
 
martinkavik profile image
Martin Kavík

@valeriavg An update for you:

  • It's now possible to switch between HTTPS and HTTP. HTTP is the default option as you suggested.
  • I plan to optimize frontend and then publish benchmark results. I'll try to do the same for backend, once ready.
  • You can find live demo and other news and links in the Dev News 2.