[ANN] gemini-php: A Gemini server written in PHP
Kevin Sangeelee
kevin at susa.net
Mon Sep 28 11:06:43 BST 2020
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.
Thanks for sharing!
Kevin
On Mon, 28 Sep 2020 at 04:39, Neil McKillop <neil at mckillop.org> wrote:
> I wrote a simple implementation of a Gemini server in PHP. It's very easy
> to get up and running.
>
> It was intended as one of the examples to help me teach socket programming
> at a local open source workshop I run but I've enjoyed learning about the
> protocol so I'm working on making it more featureful.
>
> Full instructions at gemini://glasgow.social/gemini-php (or
> https://opensource.glasgow.social/gemini-php)
>
> Neil.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200928/e074e40f/attachment.htm>
More information about the Gemini
mailing list