Giter Club home page Giter Club logo

Comments (5)

essenciary avatar essenciary commented on May 22, 2024 3
  1. You can't really compare Genie, which is a web framework, with Nginx or Apache, which are web servers.

Genie does bundle HTTP.jl. So I guess if you want to compare servers, you can just ask the developers of HTTP.jl.

However, the servers are not exclusive. For instance, my approach in production is to use Nginx as a reverse proxy and cache layer for Genie apps running on HTTP.jl.

Regarding performance in general, at this point, I'm more concerned about features, stability, and documentation. Julia should provide a good enough performance foundation - any bottlenecks can be fixed later on by refactoring the problematic functions.

from genie.jl.

fargolo avatar fargolo commented on May 22, 2024 2

This is a C10k benchmark comparing Nodejs, Apache and HTTP.jl:
https://github.com/aj-monk/C10k.jl

from genie.jl.

c42f avatar c42f commented on May 22, 2024
  1. Julia 1.0 uses libuv in the runtime to handle async tasks so the performance profile should currently be similar to node. However, when the parallel task runtime arrives (JuliaLang/julia#22631) tasks will be able to run on multiple threads. The concurrent performance profile will then improve to be more similar to go.

  2. No idea yet, I'm just starting to think about using Genie!

from genie.jl.

introspection3 avatar introspection3 commented on May 22, 2024

thanks !

from genie.jl.

essenciary avatar essenciary commented on May 22, 2024

@fargolo Interesting benchmark, thanks for sharing. A few comments:

  • HTTP.jl is at 0.8.x now and I understood that performance has improved - it would be interesting to recheck
  • although Julia is really good at file IO, I don't think a file server is the best use case for Julia. Ngnix is much-much-much better at serving static files than most anything else so in a real production environment that's what we'd use. Outputting a JSON string would be a more realistic and relevant test.

from genie.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.