Loading Video...
Development of Odoo's serious gaming: the technical challenges encountered
Demo Functional Community Talk
Địa điểm: Foyer 500 - 16:30, 12/10/2022 - 17:00, 12/10/2022 (Europe/Brussels) (30 phút)

Development of Odoo's serious gaming: the technical challenges encountered
Bernard Letourmy & Nicolas Rosset
IT Consultant & IT Engineer
IT Consultant & IT Engineer

Nicolas Rosset is an IT engineer at the University of Applied Sciences Western Switzerland (HES-SO), and Bernard Letourmy is an independent IT consultant. Together, they co-developed Odoo-based Aroolla games at the University of Applied Sciences Western Switzerland (HES-SO) and managed the production infrastructure on AWS.


One of the best ways to learn is to practice, but learning how to use Odoo in a real environment is overwhelming at best and risky at worst. So why not turn it into a safe game?

The Aroolla line of serious games lets teams of students run a company on a simulated competitive market where time is compressed so that one day in the game lasts only 1 minute in real life. 

The behavior of customers, suppliers, and internal functions of the company are simulated, and players are fully immersed in the game.

Turning Odoo into a fast-paced competitive game brings numerous technical issues as we simulate an entire day of business transactions into a single minute to keep it responsive for players. 

  • Not only do we have to fake the timestamp of events to ensure that every date written by Odoo matches the game’s compressed timeline. Our simulator also has to create, read and update hundreds of sales, purchases, and manufacturing orders per minute for up to 12 companies in parallel. This allows us to create a convincing and engaging simulation for up to 60 users per game. 
  • To reach this level of speed, we use horizontal scaling and increase the number of hosts when the processing time for a simulated day exceeds 60 seconds. This level of processing speed requirements brings performance issues, mainly because of the many concurrent database accesses by the simulator and the players. 
  • Other sources of problems when using a multi-host infrastructure with Odoo are the filestore and the module initialization. By their very nature, our Odoo instances are short-lived, and so are their databases. However, we want to keep the data somewhere as players and instructors may wish to study them for academic purposes. To do so, we use a data warehouse with which our simulator synchronizes Odoo’s internal database. Nevertheless, this leads to another performance issue as each transaction needed to feed the data warehouse must be managed correctly.
  • Each new game must start with a fresh new state (company initial inventory, assets, etc.), as deleting all records without a trace is not a standard feature in ERP. Also, we need to be able to restart a new game in seconds.

During this talk, we will present how we have solved all these issues to develop our serious games, and we will discuss the various tradeoffs we had to make to reach this performance level. 

We will also discuss how this situation differs from using Odoo in a production environment to run a company. Our solutions could be interesting for stress testing Odoo or creating simulations aimed at training.

http://www.bistasolutions.com/ </div> ">
Bista Solutions Inc.
https://www.braintec.com </a> </div> ">
braintec
https://www.ever-bs.com </div> ">
Ever Business Solutions S.a.l
https://www.idealisconsulting.com </div> ">
Idealis Consulting
https://www.nalios.be </div> ">
Nalios
https://www.odoo-bs.com </div> ">
OBS Solutions
https://www.plennix.com </div> ">
Plennix Technologies
https://www.rapsodoo.com/ </div> ">
Rapsodoo
https://www.acsone.eu </div> ">
Acsone
http://www.altanmya.net </div> ">
Altanmya - Technology Solutions
https://www.atharvasystem.com </div> ">
Atharva System
https://www.camptocamp.com/ </div> ">
Camptocamp
http://www.dfakto.com </div> ">
Dfakto
https://www.ecoservice.de/page/homepage </div> ">
Ecoservice
http://www.eezee-it.com/ </div> ">
Eezee-it
https://www.fiscalteam.be/ </div> ">
Fiscal Team
https://www.intero-technologies.de/ </div> ">
Intero Technologies GmbH
https://www.al-jawad.ae/ </div> ">
Al Jawad Software house
https://karizma-conseil.com/en/ </div> ">
KARIZMA
https://www.konfoo.com </div> ">
Konfoo
https://www.logicasoft.eu/odoo </div> ">
Logicasoft
http://www.niboo.com </div> ">
Niboo
http://www.noviat.com </div> ">
Noviat
http://www.setuconsulting.com </div> ">
SETU Consulting Services Private Limited
https://www.squareflow.be/ </div> ">
Squareflow
http://www.subteno.com </div> ">
Subteno
https://www.zero.com.al </div> ">
Zero Group
https://www.accomodata.be </div> ">
ACCOMODATA BV
https://agicap.com/en/ </div> ">
Agicap
https://akretion.com/fr </div> ">
Akretion
http://alphasystems.com </div> ">
alphasystems software solutions gmbh
https://www.arkeup.com/erp-odoo </div> ">
ARKEUP
http://www.axxelia.com </div> ">
Axxelia GmbH
https://www.bhc.be </div> ">
BHC
https://binhex.es/ </div> ">
BINHEX
http://www.birtum.com/ </div> ">
Birtum
https://www.bloopark.de </div> ">
bloopark systems GmbH & Co. KG
https://www.bop-alliance.com </div> ">
BOP Alliance
https://www.brainvire.com/ </div> ">
Brainvire Infotech Inc
https://www.captivea.com </div> ">
Captivea USA
http://www.cube48.de </div> ">
cube48 AG
https://www.cybrosys.com </div> ">
Cybrosys Techno Solutions Pvt.Ltd
https://www2.deloitte.com/lu/en.html .html </div> ">
Deloitte Luxembourg
http://www.dgtera.com </div> ">
DGTERA
https://www.digimedio.be/ </div> ">
Digimedio
https://www.dkgroup.fr/solution-odoo-dkgroup </div> ">
DK Digital
https://www.dphi.be/ </div> ">
DPHI
http://www.dynapps.be </div> ">
DynApps NV
http://www.dynapps.be </div> ">
DynApps NV
https://www.emasphere.com/en/?utm_source=odoo_experience&amp;utm_medium=referral&amp;utm_campaign=Odoo-experience_Corpo_Leads-en-be_22_10_12%2F14 </div> ">
EMAsphere
https://estpos.ee/ </div> ">
EST-POS
https://www.ife.de/ </div> ">
IFE GmbH
http://www.eficent.com </div> ">
FORGEFLOW, S.L.
https://hibou.io/ </div> ">
Hibou Corp.
https://www.isabelgroup.eu/ </div> ">
Isabel Group
https://www.itbrasil.com.br/odoo </div> ">
IT Brasil
https://kickandrush.com/ </div> ">
Kick and Rush
http://www.koleos.eu </div> ">
KOLEOS
https://home.kpmg/be/en/home.html </div> ">
KPMG Tax, Legal & Accountancy
http://www.metrum.lu </div> ">
METRUM SA
https://www.mixvoip.com/ </div> ">
Mixvoip srl
http://www.muchconsulting.de </div> ">
much. GmbH
http://www.novobi.com </div> ">
Novobi
https://odoo-community.org </div> ">
Odoo Community Association (OCA)
http://www.odootec.com </div> ">
OdooTec
http://www.omniasolutions.website/ </div> ">
OMNIA SOLUTIONS
https://ovhcloud.com </div> ">
OVH
https://www.packtpub.com/ </div> ">
Packt Publishing
https://www.ps-sa.net </div> ">
Pioneer Solutions
https://plementus.com/ </div> ">
Plementus
https://www.portcities.net/ </div> ">
Port Cities International Limited
http://www.samsa-it.de </div> ">
SAMSA-IT GmbH
https://www.slnee.com </div> ">
SLNEE
https://smart-ltd.co.uk/ </div> ">
Smart Information Technologies Ltd
http://www.sodexis.com </div> ">
Sodexis
http://www.somko.be </div> ">
Somko BV
http://spectrumgroupe.fr </div> ">
Spectrum Groupe
https://www.surekhatech.com/ </div> ">
Surekha Technologies
https://www.targetintegration.com </div> ">
Target Integration
https://www.teamflow.com/ </div> ">
TeamFlow
https://www.vanmoof.com/ </div> ">
VanMoof
https://ventor.tech/ </div> ">
VentorTech
https://weboffice.at </div> ">
Weboffice IT-Service und Marketing GmbH & Co KG
http://www.yds-int.com </div> ">
YDS
http://www.26house.com </div> ">
26HOUSE s.r.o.
http://3rdwave.be </div> ">
3Rd Wave