Recent

Author Topic: Can the Brook Framework beat Japronto Framework in performance?  (Read 1102 times)

DecayAssault

  • New Member
  • *
  • Posts: 13
Can the Brook Framework beat Japronto Framework in performance?
« on: January 31, 2023, 12:10:15 pm »
Hi all!
Help me make right choice for the website between these two. In what areas Brook will be more usable than Japronto?
Thank you.

PierceNg

  • Sr. Member
  • ****
  • Posts: 369
    • SamadhiWeb
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #1 on: January 31, 2023, 12:55:30 pm »
Weren't you just asking about C# in the other thread?

As for Japronto, it hasn't been updated in a few years and this is what the repo says:

Quote
This is an early preview with alpha quality implementation.

Joanna

  • Hero Member
  • *****
  • Posts: 724
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #2 on: January 31, 2023, 02:55:50 pm »
Hi all!
Help me make right choice for the website between these two. In what areas Brook will be more usable than Japronto?
Thank you.
Definitely forum sliding...  :(
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

DecayAssault

  • New Member
  • *
  • Posts: 13
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #3 on: January 31, 2023, 03:57:23 pm »
Please give more additional information about the Brook. Does it support let's encrypt certificate and http/2?

sketch

  • New Member
  • *
  • Posts: 32
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #4 on: January 31, 2023, 04:42:36 pm »
Isn't Japronto a Python micro framework?

Caddy for Go handles http/1, http/2, and http/3 and will automatically obtain TLS certs for your site. Cloudfare has had a million open sockets on Go which would fulfill your million requests Japronto has had.

If you know Python, then use Japronto which states on Github there is no new development happening and has been dormant since 2020. If you know Pascal, then use Brook which hasn't been updated in a year.

With your C# thread it seems like you're just starting and wondering what is best to use? But a lot depends on what you intend to do. Windows, Linux, Mac? Desktop apps or Web apps? Do you intend to do mobile apps?
« Last Edit: January 31, 2023, 04:51:50 pm by sketch »

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #5 on: January 31, 2023, 05:29:46 pm »
Please give more additional information about the Brook. Does it support let's encrypt certificate and http/2?
You don't know your network layers? Really?
Specialize a type, not a var.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #6 on: February 02, 2023, 09:38:13 pm »
Please give more additional information about the Brook. Does it support let's encrypt certificate and http/2?
HTTPS termination is not the job of any web application framework, it's better put on either the load balancer or web server. You can, but honestly that would be silly if not stupid as you make it do something other layer can do better and save its resources for actual computation instead.

DecayAssault

  • New Member
  • *
  • Posts: 13
Re: Can the Brook Framework beat Japronto Framework in performance?
« Reply #7 on: February 03, 2023, 10:47:49 am »
Isn't Japronto a Python micro framework?

Caddy for Go handles http/1, http/2, and http/3 and will automatically obtain TLS certs for your site. Cloudfare has had a million open sockets on Go which would fulfill your million requests Japronto has had.

If you know Python, then use Japronto which states on Github there is no new development happening and has been dormant since 2020. If you know Pascal, then use Brook which hasn't been updated in a year.

With your C# thread it seems like you're just starting and wondering what is best to use? But a lot depends on what you intend to do. Windows, Linux, Mac? Desktop apps or Web apps? Do you intend to do mobile apps?
I am experienced developer in asp.net. Now, I would like to create own extremely rapid web apps. I would like to prefer slitaz+lighttpd+fastcgi. Is there any more optimal way than write for this stack in C and GNU as with proper algorithms? Asp.net is too slow even I wrote in-ram app (about 10-15 ms per request).

 

TinyPortal © 2005-2018