BCHS stack – BSD, C, httpd, SQLite
learnbchs.org
BCHS stack – BSD, C, httpd, SQLite
1–10 of 59 posts
Re: BCHS stack – BSD, C, httpd, SQLite
#2> Wasn't this site once funnier?
> Yes. But some folks confused humour with levity.
Time to fire up the Wayback machine ;)
Re: BCHS stack – BSD, C, httpd, SQLite
#3I guess forking a cgi-bin program for every request keeps memory leaks down.
Re: BCHS stack – BSD, C, httpd, SQLite
#4We write backend in C++ with http server builtin, so there is 1 forever running thread for all the requests and zero initialization time: http://fintank.ru:8080/s/test
Re: BCHS stack – BSD, C, httpd, SQLite
#5Enjoyed doing FastCGI with this framework, but simple examples don't present realistic complexity. Struggled with ways to create a small web app while maintaining simplicity similar to the examples provided (such as here - https://learnbchs.org/easy.html ) even though semantics wasn't that different (present a form, after accepting data make a request, present a transformed result).
Re: BCHS stack – BSD, C, httpd, SQLite
#6I've been ``statically'' compiling my php scripts to HTML. It's marvelous.
My build system is a makefile, and it feels like I'm parodying myself and the entire industry.
Is this the same?
Re: BCHS stack – BSD, C, httpd, SQLite
#7Does anyone actually use this?
Re: BCHS stack – BSD, C, httpd, SQLite
#8I guess forking a cgi-bin program for every request keeps memory leaks down.
Not an expert, but I think kcgi uses fastcgi under the hood.
Re: BCHS stack – BSD, C, httpd, SQLite
#9Any one use open BSD to host servers?
Last time I checked httpd didn't support http/2.
Re: BCHS stack – BSD, C, httpd, SQLite
#10Replace C/httpd with golang and you get a stack that's fairly decent.