# Which performance is better if discourse or phpbb hosts on a same vps?

**URL:** https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556
**Category:** Self-hosting
**Tags:** hosting
**Created:** [Mars 20, 2015, 12:25 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556 "2015-03-20T00:25:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![doudou](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@doudou](https://meta.discourse.org/u/doudou)
#### Post date: [Mars 20, 2015, 12:25 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556/1 "2015-03-20T00:25:56Z")

</div>

Which performance is better if discourse or phpbb hosts on a same vps?

For example: VPS: 1G memory

Anyone have idea?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Mars 20, 2015, 4:52 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556/2 "2015-03-20T04:52:19Z")

</div>

Hard to say, since we are comparing apples and oranges here. As an older project, phpBB will be less resource intensive than Discourse so it might fit in 512mb or even 256mb of RAM. That’s all I can think of as a practical point of comparison.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [Mars 20, 2015, 5:36 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556/3 "2015-03-20T05:36:53Z")

</div>

Look also at this topic:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

You’ll probably want `php-fpm` hooked up to the front nginx

---

<div class="post-metadata">

### Author: ![doudou](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@doudou](https://meta.discourse.org/u/doudou)
#### Post date: [Mars 20, 2015, 2:46 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556/4 "2015-03-20T14:46:46Z")

</div>

If phpbb, redis, mysql and nginx were packed in a docker, maybe they have same performance and less configure task.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [Mars 20, 2015, 2:59 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556/5 "2015-03-20T14:59:16Z")

</div>

PhpBB doesn’t use Redis, MySQL has a smaller footprint than PostgreSQL and the overhead incurred by running a docker container is negligible.

Configuring phpBB on a VPS is probably a bit harder than installing a single Discourse instance. A tool à la Discourse’s docker launcher doesn’t exist, so at best you could get an Apache-MySQL-PHP (or Nginx-MySQL-PHP) stack as a Docker container which leaves you with the usual task of uploading phpBB’s files to your server by FTP, creating a database user and managing passwords and copying all that info into phpBB’s setup script…

---

<div class="post-metadata">

### Author: ![doudou](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@doudou](https://meta.discourse.org/u/doudou)
#### Post date: [Mars 20, 2015, 3:08 UTC](https://meta.discourse.org/t/which-performance-is-better-if-discourse-or-phpbb-hosts-on-a-same-vps/26556/6 "2015-03-20T15:08:22Z")

</div>

I had installed phpbb before. Discourse seems better except email setting. In phpbb, you just need fill in smtp, username and passwd, then it works. In the beginning, I can’t receive confirm email from discourse, bother me some. Then I got a broken site.
