Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Odoo performance issues in Amazon Web Services (EC2+RDS)

By
Carlos DuAl
on 3/16/16, 12:13 PM 1,182 views

Hello all, 

I'm currently testing odoo deployment in amazon web services. I have odoo installed in a ec2 instance and the database (Postgres) in a rds instance.

I'm starting the tests with the free-tier instances

ec2 - 1 CPU - 1GB Ram
rds - 1 CPU- 1GB Ram
Launching a test that confirms 800 invoices takes me around 8-9 minutes to complete

I'm assuming that the bottleneck is caused by the database, since the ec2 instance only has odoo which doesn't do the actual heavy-lifting in the requests.

When I upgrade the rds instance to 2 CPUs and 8 GB of Ram I can see a slight increase in performance, the same test now takes around 6 minutes to complete.

However, when I upgrade the rds instance to 16 CPUs and 122 GB of Ram the increase is almost unnoticeable compared with the previous setting, it takes around 5 minutes 30 seconds. 

Is the internal structure of Postgres not taking advantage of the extra CPU and Ram?

We are planning to implement our intranet with Odoo and we're looking at at least 50 concurrent conections at any given time, would the ec2 instance with 1CPU and 1GB of ram , with the rds instance of 2CPUs and 8GB of RAM be enough for that? 


Is there any way to increase Odoo's performance? Replicating databases might help with concurrent access but I'm not sure it's possible with Odoo+Postgres, should we use other databases?


1
Motez
On 3/17/16, 6:56 AM

The hardware you used is far beyond the recommended one so it should be more than sufficient. If you add CPUs you need to enable multi processing mode in order for odoo to make benefice of extra ones. Try running your server with the option --workers=12 and let's see how it goes for performance. 

1

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 3/17/16, 8:33 AM

Hi,

which versions ? V9 and 9.5 PG ?

IMHO, it is a PG issue, kindly check this question also check this thread 

For performance tips:

Link1,  Link2 

Hope this could helps

0
August Doo
On 3/30/16, 5:39 PM

Thanks Carlos for your great trial since I'm looking from something similar with this. Although I didn't test it, I can feel it is much slower when installing Odoo 9 onto T2.micro than T2.small with database on the same server. 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/16/16, 12:13 PM
Seen: 1182 times
Last updated: 3/30/16, 5:39 PM