Drogon

Languages and libraries

web framework

SHOW HN2019

Drogon

A C++14/17 based high performance HTTP application framework

github.com

#c++ web framework#http server#high performance http#non-blocking io

189points
105comments
#209of 2,195 in 2019
Top 10%of 2019 by points

How HN took it

MixedNo clear lean

3 positive, 11 neutral or asking, 2 mixed, 9 critical, out of 25 comments about the project. Thread score -0.15.

Design: 0 for, 3 againstIdea: 0 for, 3 againstDocs: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Fast and high performance design

    From 2 comments
    • 2 small things. a) Show me the code to start with, don't send me digging for it. A SimpleController example as the very first thing would help give a feel for the project, and…
      shakna on HN
    • It's really awesome
      hawkingrip on HN

Objections

  • Endpoint registration API uses macros and feels messy compared to Flask or Express

    From 1 comment
    • I like it, but the API for defining HTTP endpoints seems messy compared to, say, Flask or ExpressJS. Is there any particular reason it is done this way vs something syntactically…
      umvi on HN
  • Does not support HTTP/2

    From 1 comment
    • This is cool, and I like it. Very Haskell like, which is a compliment in my book. But one thing that surprises me is that folks are essentially sleeping on HTTP/2. HTTP/2 is just…
      KirinDave on HN
  • Name means stoner in Spanish

    From 1 comment
    • Just wanted you to know "Drogon" means "Stoner" in spanish.
      rlopezcc on HN

Requests

  • Show a simple controller example first in docs

    From 1 comment
    • 2 small things. a) Show me the code to start with, don't send me digging for it. A SimpleController example as the very first thing would help give a feel for the project, and…
      shakna on HN
  • Submit to TechEmpower benchmarks

    From 1 comment
    • It should be submitted to Techempower benchmarks. https://www.techempower.com/benchmarks/
      StreamBright on HN
  • Add a simpler endpoint syntax like app.get

    From 1 comment
    • I like it, but the API for defining HTTP endpoints seems messy compared to, say, Flask or ExpressJS. Is there any particular reason it is done this way vs something syntactically…
      umvi on HN

Questions

  • What is the security story

    From 1 comment
  • Why not HTTP/2 first

    From 1 comment
    • This is cool, and I like it. Very Haskell like, which is a compliment in my book. But one thing that surprises me is that folks are essentially sleeping on HTTP/2. HTTP/2 is just…
      KirinDave on HN
  • How big is the hello-world binary

    From 1 comment
    • How big does this hello-world server binary compile down to?
      gitgud on HN

Alternatives named

  • Crow C++ micro framework

    From 1 comment
    • I've used Crow [1], a C++ web micro framework, in the past and it was delightful. Glad to see more competition in this space. [1] https://github.com/ipkn/crow
      utopcell on HN
  • libmicrohttpd

    From 1 comment
    • 2 small things. a) Show me the code to start with, don't send me digging for it. A SimpleController example as the very first thing would help give a feel for the project, and…
      shakna on HN
  • Nginx and HAProxy as reverse proxies

    From 2 comments
    • One way to get around this is to use HAProxy as a middleman where it can handle HTTP2 concurrent connections on the frontend and then connect to the HTTP1.1 webservers on…
      blackflame7000 on HN
    • the HTTP/2 part could probably be handled via a reverse proxy
      dvhh on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/19427332)