Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Very slow response in eCommerce V12

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
performanceoptimizationslowv12
4 Respuestas
12289 Vistas
Avatar
Magen

In order to load a page with 20 products in category view in Website->Shop odoo takes 4 seconds to respond.

Firefox shows that all images and css are cached but what takes long is waiting for the main html which is between 5K and 8K in size.

I set timer in the controller at 

@http.route([        '''/shop''',        '''/shop/page/<int:page>''',        '''/shop/category ...

and the function is executed in a few milliseconds. but then it takes a while until it's being loaded in the browser. Maybe the rendering of the template or I don't know what...

I already realized that Odoo is pretty heavy and slow responding but I wish there will be a way to improve that.

My server is 8 Core, 16GB Ram, SSD drive, optimized postgresql using pgtune

I am testing from the local network.

Any suggestions?

0
Avatar
Descartar
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Mejor respuesta

Hi Magen,

While the answer from Xavier is good he misses one important thing.
There are currently some known performance and speed problems with the /shop in Odoo. This has been confirmed by Odoo and Odoo is  working on various fixes for this. You can follow the progress and changes at https://github.com/odoo/odoo/pull/30274 
If I look at your server specifications and the duration you say the page takes it looks like you didn't configure workers though. As Xavier already mentioned, configure workers and restart - this should also improve performance a lot.


Regards,
Yenthe


1
Avatar
Descartar
Xavier Brochard

Oh yes, I totally missed that. Thanks !

Mohamed Hal

I have workers enabled on a 16 core, 64GB RAM and RAID mirrored SSD and still time to first byte is really slow. what do you think ?

Avatar
Roland Lee
Mejor respuesta

You may want to implement query caching. The Heimdall Proxy automates SQL results caching for Odoo, offloading SQL from Postgres. This improves Postgres scale and response times. NGINX does basic TCP load balancing. The Heimdall Proxy was specifically designed for the Odoo application to accommodate for transactions and strong consistency requirements. https://www.heimdalldata.com/odoo

0
Avatar
Descartar
Avatar
Xavier Brochard
Mejor respuesta

Odoo is slow when it just started. Either because you just started the server and this is your first request, either because it's the fist time you call the web page (that will be in the Odoo cache later).

Other reasons are the odoo.conf isn't tweaked (you need to set workers) and you are not using a web proxy frontend (typically nginx) but the latter is not a problem for one user only.

See these docs

Oliver Dony (Odoo sysadmin) Performance Tips & Tricks conference's slides
https://www.odoo.com/fr_FR/slides/slide/performance-tips-tricks-399 (also available on YouTube)

Odoo odoo.conf doc http://www.odoo.com/documentation/10.0/setup/deploy.html

This Github thread https://github.com/DocCyblade/tkl-odoo/issues/49

PS : I'm interested to talk about web server setup, my server looks quite the same as yours.

0
Avatar
Descartar
Avatar
Magen
Autor Mejor respuesta

Thank you for your answers.

I have read the docs about deployment of Odoo and set workers = 17 (2*8cores +1) I have tried with 9 as well. The CPU is hardly working though.

Actually I am proxying it through NGINX based on the example in the docs and it seems to me that there is no problem on that side.

And as I mentioned most of the resources are cached already (because of refreshing and going back and forth through the pages in hopes of getting a faster response :) ) The server has been running for hours or freshly started as well - same difference!

I will read the links you provided Xavier,

And thank you Yenthe this was enlightening...

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Is Odoo slow by nature? (what is your experience in optimizing and speed-up) Resuelto
performance speed optimization slow 12.0
Avatar
Avatar
Avatar
Avatar
Avatar
4
oct 25
48529
odoo 10 slow performance
performance slow
Avatar
1
mar 20
6185
Poor performance-LARGE "Waiting for server response"
performance server optimization
Avatar
1
feb 25
5389
Improving Website Core Web Vitals ... Any Tips ?
performance optimization Website SEO
Avatar
Avatar
1
abr 25
3253
Do Database Workers affect the Odoo SH platform performance?
performance slow workers OdooSH
Avatar
Avatar
1
ago 23
4082
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now