a friend asked me this question:
"will a vps handle my phpbb3 forum? i get ~100 users online coinstantaneously every single minute of the day-time".
so what would your answer be?
what specs he needs?
a friend asked me this question:
"will a vps handle my phpbb3 forum? i get ~100 users online coinstantaneously every single minute of the day-time".
so what would your answer be?
what specs he needs?
A low-low-low-end box definitely isn't for him, that's for sure.
1GB of RAM at least, I'd say... To keep everything quick... But you probably could settle for less.
My seems to handle my blog pretty well with 50 viewers all at the same time ona 256MB VPS with 384MB Burst - The ram doesn't rise above 50MB but the CPU maxes out. I tested the same with a MyBB frum installation - It handles them OK with less load than the blog CPU wise.
Jack xD
your blog has 50 viewers on the same time? :/ or web bench?
With more memory, you can
- Add more PHP FastCGI processes to use multiple CPU cores (if your provider allows you to burst to more than 1 core).
- Add PHP op-code cache like Xcache to lighten the load (at the expense of memory)
- Give MySQL more key buffers + some query cache (at the expense of memory again)
- Add memcached to specific part of your application. Not trivial, and at the expense of memory again.
Depending on how complicated the phpBB3 forum is, it might be doable provided good optimization.
@a2787382 - No - I was using LoadImpact to test my blog's performance on the VPS.
@admin how much memory would you suggest?
My recommendation would be this.
Depending on your Forum Installation, I would go with at least 128mB RAM and have the FASTCGI Procs at 3. Tune the database (http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/), and use nginx as the default web server (http://nginx.org/en/download.html).
Also, use APC or XCache as an opcache.
http://blog.lighttpd.net/articles/2006/04/04/one-more-opcache-for-php-preview
Memcached can cost a lot of RAM, it maybe useful if you cache session and some data. http://memcached.org/
Ask your friend if he really needs phpbb.
In case its not crucial, he could look at Phorum, MyBB or PunBB.
I have used them, and they all have a much lower resource consumption. Unfortunately they dont have all the plugins that phpbb has.
MyBB has the merge system if you don't want to stick with PHPBB3, http://www.mybb.com/downloads/merge-system
Also might want to pick a theme that's not heavy in graphics or embedding data. What does a software like wordpress in is the number of database queries each time a page is created. Less data being displayed means a lower number of queries.
512MB is much more than enough, if you are only running forums.
You must log in to post.