ElkArte Community

Project Support => International Support => Indonesian (Bahasa Indonesia) => Topic started by: siprof on April 30, 2017, 04:18:48 pm

Title: [Ask] nginx vs Apache+nginx?
Post by: siprof on April 30, 2017, 04:18:48 pm
Halo,

Saya penasaran, lebih oke mana untuk Elkarte: nginx murni atau Apache+nginx?

Untuk forum yang pasif (lebih banyak dibaca) performa Apache+nginx mungkin hampir setara dengan performa nginx murni.

Namun untuk forum yang sangat aktif saya rasa kok berbeda hasilnya. nginx tampaknya hanya membantu untuk visitor yg membaca pasif, sedangkan untuk member-member yang aktif menulis akan ditangani oleh Apache. Jika benar demikian, maka mending pakai nginx murni dong?

nginx murni diwakili oleh easyengine
Apache + nginx diwakili oleh serverpilot
Keduanya menggunakan PHP 7.0
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: Spuds on April 30, 2017, 08:35:56 pm
IMO there is no need to run Nginx + Apache ... Just pick the one you are most comfortable with.  Most of the information on the web about using one as a front end or about memory usage etc is dated information.  Use the most recent version of either web server and you will be fine and hard pressed to notice a difference.  Again IMO
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: kucing on April 30, 2017, 08:53:05 pm
biasanya yang pertimbangan pakai apache+nginx itu karena kompatibilitas dengan rewrite rule (htaccess) mas. dan ingin tetap merasakan manfaatnya performa Nginx. kalau saya milih murni nginx saja, apalagi ga pakai rewrite rule. :D

PS: I really thought @Spuds understands Indonesian language. :P
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: Spuds on April 30, 2017, 09:36:38 pm
LOL, you know now that you mention it, it was hard to read  O:-)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: ahrasis on April 30, 2017, 10:05:13 pm
You can use either or both. It doesn't matter much, really. As mentioned by @Spuds elsewhere, he is using nginx and never look back. After using apache for 3 years, I tested that as well and nginx seems good standing on its own, a little better than apache I'd say. But that just me, as different person will have different experiences based on the way they use their server. So choose wise.
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: badmonkey on April 30, 2017, 10:16:13 pm
If your site handles php intensive processes such as image resizing or even a lot of image uploading, you will see a significant performance gain with standalone nginx.  Nginx can load image files without involving php.  Apache not so much.  So much lighter on memory too.  I see no advantage to backending either.  It simply adds another unnecessary process.
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: siprof on May 01, 2017, 04:41:59 am
Woah, I did'nt know it would attract international users   :D

Yeah I also prefer to use standalone nginx by the way. I asked this question merely because of convenience matters, since ServerPilot does not support standalone nginx yet
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: ahrasis on May 01, 2017, 04:51:57 am
We are just neighbours bro. ;)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: kucing on May 01, 2017, 10:04:54 am
Quote from: siprof – Yeah I also prefer to use standalone nginx by the way. I asked this question merely because of convenience matters, since ServerPilot does not support standalone nginx yet
serverpilot target market is different IMO, the users that migrated from shared hosting to VPS but doesn't want to dabble much in the management side.
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: radu81 on May 01, 2017, 07:03:36 pm
agree with @kucing‍, I also use ServerPilot and does a great job ;)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: bea on May 03, 2017, 08:31:53 am
I am running various applications on nginx and "never look back". Among them was Drupal in various (older) versions, and at present i still an old version of SMF. Mostly well doing except for a few glitches - but that seems most probably to be a problem of PHP backward compatibility.

I am going to migrate this to ElkArte as soon there is a German translation (which does not necessarily need to be complete, the old SMF translation isn't complete either.)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: radu81 on May 03, 2017, 08:40:38 am
Quote from: bea –
I am going to migrate this to ElkArte as soon there is a German translation (which does not necessarily need to be complete, the old SMF translation isn't complete either.)
as far as I know @Jorin‍ made most of german translations, and last time I looked to Transifex was almost complete.
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: emanuele on May 03, 2017, 06:38:51 pm
/me is still working on the 1.1 repo at transifex, I think I did a mistake when I set it up and now I have to fix the mistake as well. :'(
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: Jorin on May 04, 2017, 02:52:48 am
Quote from: radu81 – as far as I know @Jorin‍ made most of german translations, and last time I looked to Transifex was almost complete.

Right, but I do not use Transifex. I don't like it and it doesn't like me.  ;)  I offer the translations on my support site (http://support.elkarte-hilfe.de/index.php/topic,110.0.html) and inform @emanuele then.

Next week I plan to install a fresh board and start to work on the translation.  O:-)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: bea on June 06, 2017, 08:48:57 pm
Having just read the latest announcement in Jorin's support forum: how will this affect the language support for 1.1 and forthcoming releases?
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: Jorin on June 07, 2017, 12:54:46 am
Not at all, Bea. I am happy to translate future releases of ElkArte and offer the language files here. But I don't have time to work on it before end of june.  O:-)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: bea on June 08, 2017, 06:53:33 am
Just of curiosity: are there any incompatibilities between new and old language packs or are the latter just incomplete?
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: Jorin on June 08, 2017, 07:13:41 am
As some strings have changed there should be error messages using the old language pack with Elk 1.1 in your error log. You can ignore them though, they are not crashing any functionality. If a string is missing in the german language files, Elk should be so clever to use it from the original english 1.1 language file instead. Therefor your users may see some english texts in their german board.

But if you can wait a few weeks longer, the german language pack for 1.1 should be ready.  O:-)
Title: Re: [Ask] nginx vs Apache+nginx?
Post by: ahrasis on June 09, 2017, 09:30:29 am
That's a great work. I haven't started on 1.1 yet. 1.0 also is not 100% ready though is usable.