• Synchronet Webserver performance

    From Deepend@VERT/RDBBS to All on Thursday, January 29, 2015 13:20:41
    Hello everyone!

    I would like to find the best way to run php on the Synchronets built in webserver. Is there anything that I can do to make it perform better, say running something like Wordpress? I have it functioning with php but is
    very slow. Either that or best practices to possibly grab the information using a website using Apache (Apache running on seperate server)


    Thanks in advance!

    Mike

    ---
    þ Synchronet þ RetroDigital BBS - rdnetbbs.com
  • From Noisome@VERT/DIGI52 to Deepend on Wednesday, January 28, 2015 17:25:55
    I would like to find the best way to run php on the Synchronets built in webserver. Is there anything that I can do to make it perform better, say running something like Wordpress? I have it functioning with php but is very slow. Either that or best practices to possibly grab the information using a website using Apache (Apache running on seperate server)


    Hey Mike.

    What way do you have it setup now and what is your CPU/MEM specs? I followed the wiki entry for it and it seems to be responsive when I use it. I get near instant results on an uncached page.

    ---
    þ Synchronet þ Digital 52 BBS
  • From Digital Man@VERT to Deepend on Wednesday, January 28, 2015 17:15:16
    Re: Synchronet Webserver performance
    By: Deepend to All on Thu Jan 29 2015 01:20 pm

    Hello everyone!

    I would like to find the best way to run php on the Synchronets built in webserver. Is there anything that I can do to make it perform better, say running something like Wordpress? I have it functioning with php but is very slow. Either that or best practices to possibly grab the information using a website using Apache (Apache running on seperate server)


    Thanks in advance!

    PHP via CGI is slower than native PHP (say, in Apache). We have it on the todo-list to look into things like FastCGI to improve the performance of external dynamic-web generation tools (like PHP), but there's really no solution (to the slowness of CGI) in Synchronet today.

    digital man

    Synchronet "Real Fact" #7:
    Synchronet was originally intended as a replacement for WWIV BBS software. Norco, CA WX: 67.6øF, 47.0% humidity, 13 mph SW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Deepend@VERT/RDBBS to Noisome on Thursday, January 29, 2015 18:34:05
    I would like to find the best way to run php on the Synchronets built in webserver. Is there anything that I can do to make it perform better,
    say running something like Wordpress? I have it functioning with php but is very slow. Either that or best practices to possibly grab the information using a website using Apache (Apache running on seperate server)


    Hey Mike.

    What way do you have it setup now and what is your CPU/MEM specs? I followed the wiki entry for it and it seems to be responsive when I use it. I get near instant results on an uncached page.

    ---
    þ Synchronet þ Digital 52 BBS

    Hello, Specs are a quad-core Xeon 2.66Ghz. 4GB memory. It sure is fast for a static PHP page.. even the phpinfo comes up quickly. Basically what I'd like
    to do is run a copy of WordPress on it so I could figure out an easy way to integrate the web portion of the BBS completely into my existing website. But as far as wordpress goes its its basically unusable unfortunately.


    Thanks,
    Mike

    ---
    þ Synchronet þ RetroDigital BBS - rdnetbbs.com
  • From Deepend@VERT/RDBBS to Digital Man on Thursday, January 29, 2015 19:19:57
    PHP via CGI is slower than native PHP (say, in Apache). We have it on the todo-list to look into things like FastCGI to improve the performance of external dynamic-web generation tools (like PHP), but there's really no solution (to the slowness of CGI) in Synchronet today.


    Thanks for the reply..

    Is there any good way to show content from the BBS on a normal web page on another web server?

    Or am I better to just do some "<iframe src=" type stuff to show the content
    on the other webpage?

    Thanks
    Mike

    ---
    þ Synchronet þ RetroDigital BBS - rdnetbbs.com
  • From Ragnarok@VERT/DOCKSUD to Deepend on Wednesday, January 28, 2015 23:34:00
    El 29/01/15 a las 17:20, Deepend escibió:
    Hello everyone!

    I would like to find the best way to run php on the Synchronets built in webserver. Is there anything that I can do to make it perform better, say running something like Wordpress? I have it functioning with php but is very slow. Either that or best practices to possibly grab the information using a website using Apache (Apache running on seperate server)

    I see too that Synchronet web server is not optimized for serving things
    such php

    my actual setup are running lighttpd or nginx and proxy the .ssjs files
    to synchronet web server running on non standard port like 8888

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Deepend@VERT/RDBBS to Ragnarok on Thursday, January 29, 2015 23:25:16
    my actual setup are running lighttpd or nginx and proxy the .ssjs files
    to synchronet web server running on non standard port like 8888

    Is it possible to go that route when my BBS is not on the same server as the web server.

    Thanks
    Mike

    ---
    þ Synchronet þ RetroDigital BBS - rdnetbbs.com
  • From Digital Man@VERT to Deepend on Thursday, January 29, 2015 14:38:47
    Re: Re: Synchronet Webserver performance
    By: Deepend to Digital Man on Thu Jan 29 2015 07:19 pm

    PHP via CGI is slower than native PHP (say, in Apache). We have it on
    the todo-list to look into things like FastCGI to improve the
    performance of external dynamic-web generation tools (like PHP), but there's really no solution (to the slowness of CGI) in Synchronet today.


    Thanks for the reply..

    Is there any good way to show content from the BBS on a normal web page on another web server?

    You can use jsexec as a CGI program and get any dynamic BBS data (content) that's available via the JavaScript object model in Synchronet.

    That topic is covered on this wiki page: http://wiki.synchro.net/howto:apache

    Or am I better to just do some "<iframe src=" type stuff to show the
    content on the other webpage?

    That would work too (and likely be faster than CGI).

    digital man

    Synchronet "Real Fact" #5:
    Synchronet version 3 for Linux and FreeBSD development began in 2001.
    Norco, CA WX: 70.5øF, 36.0% humidity, 4 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Noisome@VERT/DIGI52 to Deepend on Thursday, January 29, 2015 18:59:46

    Hello, Specs are a quad-core Xeon 2.66Ghz. 4GB memory. It sure is fast
    for a static PHP page.. even the phpinfo comes up quickly. Basically what I'd like to do is run a copy of WordPress on it so I could figure out an easy way to integrate the web portion of the BBS completely into my
    existing website. But as far as wordpress goes its its basically unusable unfortunately.


    I guess I'll run tests against that. I have dynamically run pages with a database, using something other than wordpress, for work and I haven't had a problem with speed. Then again, wordpress is a beast of php scripting. I wonder if these two things may speed it up for you, if desired.

    1. Using the "preload" program for php.
    2. Caching of the semi-static pages (for a blog, that's every article unless there's a change recent change that'll then re-cache the update).

    Not sure if that'll help any though. I'll run some tests myself and see.

    ---
    þ Synchronet þ Digital 52 BBS
  • From Deepend@VERT/RDBBS to Noisome on Saturday, January 31, 2015 17:07:27

    Not sure if that'll help any though. I'll run some tests myself and see.



    Ok I will also see what I can figure as well..

    Thanks everyone for your help.

    ---
    þ Synchronet þ RetroDigital BBS - rdnetbbs.com
  • From Deepend@VERT/RDBBS to all on Wednesday, February 04, 2015 11:40:06
    Got it all working. Ended up installing Apache (win32) and doing a reverse proxy through Apache. So all works good that way,

    Thanks again everyone for your suggestions.

    Mike

    ---
    þ Synchronet þ RetroDigital BBS - rdnetbbs.com