Posts: 19
Threads: 8
Joined: Jan 2015
Reputation:
1
Hi Guys,
I am almost ready to deploy my CI application and I wanted some tips regarding hardware. I will probably use digitalOcean or amazon AWS.
I've heard nginx + php_fpm is faster than apache2. Does it have any impact in CI application ?
My application is not too complex, doesn't have a lot of tables and most of the queries are only inserts and select, I don't have complex sql queries. However there's a possibility that my web application be access to many people so I will have a lot of concurrent connections.
I am using mysql also....
So, what do you guys says ? Should I work with nginx or apache ?
Thanks
Posts: 360
Threads: 13
Joined: Nov 2014
Reputation:
17
related speed tips: if you can use codeigniter caching that will speed up your application especially for concurrent. also be sure and index the important columns in your database table, makes a huge difference in db response time.
Posts: 70
Threads: 2
Joined: Oct 2014
Reputation:
8
Yeah, that's really helping a lot. So a guy can't write down his experience..?
I know it's a lot of letters, but if you really read peoples posts instead pissing vinegar all over the forum, you knew that I wasn't comparing speeds between Apache and Nginx. And I never said that Nginx wasn't superb. Reading your post across the forum indicates that you're the person only points out other peoples problems and try to push the people behind CI to release new versions. Instead of giving people some constructive feedback you waiting to provoke people to start the next flame war. Always the negativity...
With your 5 years of experience and implementations with millions of requests a day your help could be of use and help some of us wanting to try new things like Nginx. The questions about Nginx on this forum are almost all unsolved, so you could have been making a difference there. Some people here are just developers, and not Linux gurus so configuring something like Nginx maybe not so easy. You can understand that in my case after a couple of months trying to fix things and waiting for someone to reply my question, I just started my new project on an Apache server so I could move on. IF you were honest, you know that configuring Apache for CI is much easier. There is absolutely no knowledge needed, just 5 lines of code in .htaccess to get it to work.
I'm guessing you can care less, but maybe next time you are going to post something you could think about if it's not negative and really helpful to others.Otherwise people aren't interested. I know I'm not!
Posts: 512
Threads: 7
Joined: Oct 2014
Reputation:
35
Short answer: all servers are fine for CI ;o)