Lazarus

Free Pascal => Beginners => Topic started by: DecayAssault on January 31, 2023, 12:10:15 pm

Title: Can the Brook Framework beat Japronto Framework in performance?
Post by: DecayAssault 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.
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: PierceNg 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.
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: Joanna 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...  :(
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: DecayAssault 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?
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: sketch 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?
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: Thaddy 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?
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: Leledumbo 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.
Title: Re: Can the Brook Framework beat Japronto Framework in performance?
Post by: DecayAssault 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