<-- back to the mailing list

[ANN] gemini-php: A Gemini server written in PHP

Jason McBrayer jmcbray at carcosa.net

Mon Sep 28 13:41:27 BST 2020

- - - - - - - - - - - - - - - - - - - 

Kevin Sangeelee <kevin at susa.net> writes:

Great stuff - it's hard not to have a soft spot for such a pragmatic language as PHP!
I measured performance at around 35 requests per second for the index
page vs 105 for gemserv (Rust, native binary). Resident RAM use was
~25MB vs ~7MB for gemserv.
I'd say that's pretty respectable for an interpreted language with a
runtime, that's forking connections. My own Java server weighs in at
~100MB RAM, I must measure throughput, for fun.

What did you use to measure requests per second? Is there someequivalent to ab(1) for Gemini? I'm curious about the performance of myown server – it's a pretty naive implementation.

-- +-----------------------------------------------------------+| Jason F. McBrayer jmcbray at carcosa.net || A flower falls, even though we love it; and a weed grows, || even though we do not love it. -- Dogen |