- Mailing Lists
- Contributors
- 30 Checkout Operations per Minute A job for Odoo or not ?
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
30 Checkout Operations per Minute A job for Odoo or not ?
Hi Folks,
i have a project proposal on my desk that will ultimately end up in
approx. 30 checkout transactions per minute. Has anybody got a project
with that order volume done with a relatively recent version of Odoo
and provide a good reference. Please bear in mind that the project
ahead involves a similarly high volume of stock moves.
Any suggestion / comment like (but not limited to)
Odoo is the wrong technology for that, forget it, because....
over
You can do it but, a), b), c) ....
to
If you really want that beast flying involve us over here because we
are among the few ones that already did soemthing similar
would be appreciated.
From our load intensive projects at initOS i know that 10000 orders a
day can be handled but almost 50000 is a different story and thats why
i am asking the most experienced resource out there ;-)
Thanks in advance for your replay
Cheers Frederik
--
Dr.-Ing. Frederik Kramer
Geschäftsführer
initOS GmbH
An der Eisenbahn 1
21224 Rosengarten
Phone: +49 4105 56156-12
Fax: +49 4105 56156-10
Mobil: +49 179 3901819
Email: frederik.kramer@initos.com
Web: www.initos.com
Geschäftsführung:
Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht Tostedt, HRB 205226
Steuer-Nr: 15/200/53247
USt-IdNr.: DE815580155
by Frederik Kramer - 10:16 - 28 Apr 2021
Follow-Ups
-
Re: 30 Checkout Operations per Minute A job for Odoo or not ?
El jue, 6 may 2021 a las 5:02, Frederik Kramer (<frederik.kramer@initos.com>) escribió:Hi Moises, Am Freitag, den 30.04.2021, 16:02 +0000 schrieb Moises Lopez: > Hi Frederik > > A customer requested to support 5k concurrent sale.order (1 or 2 > lines of products) in Odoo. > The process that we followed were: test, measure, fix, test... haha, yes thats what works well if you have a customer that well endorses this "agile" and "pivoting" style of work. Apart from all economic considerations this is probably also something that isolated leads to quite solid solutions
Well, we are talking about 5k concurrent VUs in this special case.The cost vs benefit demands this.> > The first time that we tested the checkout process supported 15 > concurrent virtual users (VUs) > The measure said that it had heavy custom functions in the same > transaction of checkout but it could be executed in background (cron, > queue) > and there were slow queries because of indexes issues or too many > queries executed because of python code did you use any specific profiling tools here? Or the ones that rcollet often proposes in his talks about the matter ?
Watch my talk in SFOI used the same tools> > Note: Be careful with the base_automation if you can migrate them to > code it is better. Thanks for the hint, i think we experienced that also quite some times in the past and learned that lesson already ;-) > > After fix them the next iteration supported 400 VUs > So good but so far from the focus. > > The next iteration we found that there were methods that could be > using LRU-cache (e.g. prices, website that don't change) > Now we needed to check where the cache was clearing too frequently > and fix it. How did you measure LRU cache hit rates vs. code parts in a good way. Any tooling suggestion here ?
For the case of the price in the website our reasoning was:- The value don't change in a long time for this customer (each 6 months)- It couldn't be a stored field in the database because it depends on:- date- quantity- currency rate (if your have multi-currency)- partner- Supplier price (if your price depends on it)- product category- Adding LRU-Cache with these keys will work fine and fasterEven the website the most of request came from public userI share you the output of the following command in production:- kill -SIGUSR1 WORKER-PIDIt shows the hit rates:- 19715 hit 91.5% ratio for website._get_cached_values- 3507 hit 75.8% ratio for website.get_pricelist_available_cached> > We implemented CDN > e.g. The sentence "/web/image/company.logo" runs 10 queries > (prefetching fields, translating fields...) for each user opening the > page > After using CDN 0 queries are executed. But you just used Odoos standard CDN function or any specific measure here ?
> > We removed soft process that running with many users it is heavy > e.g. the random image that odoo assign when you create a res.partner > e.g. computed fields moved to cron Also here which analysis tools do you prefer to do so ? > > After that we detected concurrent update issues > It is hell for performance matter. > e.g. updating the same record at the same time from many users, > e.g. allowing pressing the same button too many times > e.g. sequences using no-gap in the main process, and so on > > After finishing all the hints of performance issues in the code and > database the next steps were to improve the hardware. > > Now, It supports 5k concurrent VUs doing checkout process (choose 2 > products, type address, payment card info and confirm) In what time frame ? > > So, Odoo will support those users but you will need to test, measure, > fix, test... > Stress testing tools helps us a lot here > python profilers and query analyzers too > > Maybe you are interest to watch our talk in SFO about: > - https://youtu.be/kiREZqg3JQg I will definitely have a look at this Thanks a lot for your extensive insight. Cheers from rainy Germany to sunny Mexico ;-) Frederik > > El mié, 28 abr 2021 a las 15:35, Frederik Kramer (< > frederik.kramer@initos.com>) escribió: > > Hi Folks, > > > > i have a project proposal on my desk that will ultimately end up in > > approx. 30 checkout transactions per minute. Has anybody got a > > project > > with that order volume done with a relatively recent version of > > Odoo > > and provide a good reference. Please bear in mind that the project > > ahead involves a similarly high volume of stock moves. > > > > Any suggestion / comment like (but not limited to) > > > > Odoo is the wrong technology for that, forget it, because.... > > > > over > > > > You can do it but, a), b), c) .... > > > > to > > > > If you really want that beast flying involve us over here because > > we > > are among the few ones that already did soemthing similar > > > > would be appreciated. > > > > From our load intensive projects at initOS i know that 10000 orders > > a > > day can be handled but almost 50000 is a different story and thats > > why > > i am asking the most experienced resource out there ;-) > > > > Thanks in advance for your replay > > > > Cheers Frederik > > > > > > -- > > Dr.-Ing. Frederik Kramer > > Geschäftsführer > > > > initOS GmbH > > An der Eisenbahn 1 > > 21224 Rosengarten > > > > Phone: +49 4105 56156-12 > > Fax: +49 4105 56156-10 > > Mobil: +49 179 3901819 > > > > Email: frederik.kramer@initos.com > > Web: www.initos.com > > > > Geschäftsführung: > > Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke > > > > Sitz der Gesellschaft: Rosengarten – Klecken > > Amtsgericht Tostedt, HRB 205226 > > Steuer-Nr: 15/200/53247 > > USt-IdNr.: DE815580155 > > > > _______________________________________________ > > Mailing-List: https://odoo-community.org/groups/contributors-15 > > Post to: mailto:contributors@odoo-community.org > > Unsubscribe: https://odoo-community.org/groups?unsubscribe > > -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 05:21 - 14 May 2021 -
Re: 30 Checkout Operations per Minute A job for Odoo or not ?
El jue, 6 de may. de 2021 a la(s) 05:02, Frederik Kramer (frederik.kramer@initos.com) escribió:Hi Moises, Am Freitag, den 30.04.2021, 16:02 +0000 schrieb Moises Lopez: > Hi Frederik > > A customer requested to support 5k concurrent sale.order (1 or 2 > lines of products) in Odoo. > The process that we followed were: test, measure, fix, test... haha, yes thats what works well if you have a customer that well endorses this "agile" and "pivoting" style of work. Apart from all economic considerations this is probably also something that isolated leads to quite solid solutions
That was our biggest measured customer (a recovered project) they know their KPI very well, on simpler customers, we try from a commercial perspective to explain exactly what Moises does (in a more extensive/commercial way) to try to teach them how to buy technology.At the end if you try let's say Shopify (the king of marketed e-commerce) with those numbers you mentioned or this ones they will offer you more **Enterprise** services (note the services not the software) because almost everybody works on this way even the order on which your usual customers make click on the website can change the outcome and bring performance/consistency problems, i.e: click twice a button in an slow process that by mistake land an specific day on your code).Then what's important IMHO is to clarify to the customer that set technically solid e-commerce is 30% software product 50% the right team.If this was not the case, we would have millions of amazon stores, Don't you think?> > The first time that we tested the checkout process supported 15 > concurrent virtual users (VUs) > The measure said that it had heavy custom functions in the same > transaction of checkout but it could be executed in background (cron, > queue) > and there were slow queries because of indexes issues or too many > queries executed because of python code did you use any specific profiling tools here? Or the ones that rcollet often proposes in his talks about the matter ?
Be careful here, they are a lot, and in my honest experience that's more the person using the tool than the tool itself.> > Note: Be careful with the base_automation if you can migrate them to > code it is better. Thanks for the hint, i think we experienced that also quite some times in the past and learned that lesson already ;-) > > After fix them the next iteration supported 400 VUs > So good but so far from the focus. > > The next iteration we found that there were methods that could be > using LRU-cache (e.g. prices, website that don't change) > Now we needed to check where the cache was clearing too frequently > and fix it. How did you measure LRU cache hit rates vs. code parts in a good way. Any tooling suggestion here ?
1. log-sql and a strong test setup that emulates the production environment is required.2. We use some SQL analyzer tools as well.But again, it is a matter of having the right team doing the job because it is not theoretical work, it is practice, test, read, practice, learn, fix, start again. and a little bit of good luck on some cases and being stubborn to solve the issues ;-)> > We implemented CDN > e.g. The sentence "/web/image/company.logo" runs 10 queries > (prefetching fields, translating fields...) for each user opening the > page > After using CDN 0 queries are executed. But you just used Odoos standard CDN function or any specific measure here ?
Standard! we simply use Odoo's CDN functionality.> > We removed soft process that running with many users it is heavy > e.g. the random image that odoo assign when you create a res.partner > e.g. computed fields moved to cron Also here which analysis tools do you prefer to do so ? > > After that we detected concurrent update issues > It is hell for performance matter. > e.g. updating the same record at the same time from many users, > e.g. allowing pressing the same button too many times > e.g. sequences using no-gap in the main process, and so on > > After finishing all the hints of performance issues in the code and > database the next steps were to improve the hardware. > > Now, It supports 5k concurrent VUs doing checkout process (choose 2 > products, type address, payment card info and confirm) In what time frame ?
With the real use case and in a production environment giving the problems more or less 60 days between First work and release into production ready for the action.> > So, Odoo will support those users but you will need to test, measure, > fix, test... > Stress testing tools helps us a lot here > python profilers and query analyzers too > > Maybe you are interest to watch our talk in SFO about: > - https://youtu.be/kiREZqg3JQg I will definitely have a look at this Thanks a lot for your extensive insight.
I summarize with:The team is the key to success here, every single piece in any e-commerce on this use case was given by different persons and led by Moisés because problems are in all layers: BD, Server, Sizing, Odoo, JS, OCA....It is not just one single pill!Cheers from rainy Germany to sunny Mexico ;-) Frederik > > El mié, 28 abr 2021 a las 15:35, Frederik Kramer (< > frederik.kramer@initos.com>) escribió: > > Hi Folks, > > > > i have a project proposal on my desk that will ultimately end up in > > approx. 30 checkout transactions per minute. Has anybody got a > > project > > with that order volume done with a relatively recent version of > > Odoo > > and provide a good reference. Please bear in mind that the project > > ahead involves a similarly high volume of stock moves. > > > > Any suggestion / comment like (but not limited to) > > > > Odoo is the wrong technology for that, forget it, because.... > > > > over > > > > You can do it but, a), b), c) .... > > > > to > > > > If you really want that beast flying involve us over here because > > we > > are among the few ones that already did soemthing similar > > > > would be appreciated. > > > > From our load intensive projects at initOS i know that 10000 orders > > a > > day can be handled but almost 50000 is a different story and thats > > why > > i am asking the most experienced resource out there ;-) > > > > Thanks in advance for your replay > > > > Cheers Frederik > > > > > > -- > > Dr.-Ing. Frederik Kramer > > Geschäftsführer > > > > initOS GmbH > > An der Eisenbahn 1 > > 21224 Rosengarten > > > > Phone: +49 4105 56156-12 > > Fax: +49 4105 56156-10 > > Mobil: +49 179 3901819 > > > > Email: frederik.kramer@initos.com > > Web: www.initos.com > > > > Geschäftsführung: > > Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke > > > > Sitz der Gesellschaft: Rosengarten – Klecken > > Amtsgericht Tostedt, HRB 205226 > > Steuer-Nr: 15/200/53247 > > USt-IdNr.: DE815580155 > > > > _______________________________________________ > > Mailing-List: https://odoo-community.org/groups/contributors-15 > > Post to: mailto:contributors@odoo-community.org > > Unsubscribe: https://odoo-community.org/groups?unsubscribe > > -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Nhomar G Hernández
Vauxoo | CEO
¡Construyamos algo genial!
Cel: +52 (477) 393.3942 | Telegram: nhomar | Twitter: @nhomarMéxico · Venezuela · Costa Rica · Perú
by Nhomar Hernández - 08:01 - 10 May 2021 -
Re: 30 Checkout Operations per Minute A job for Odoo or not ?
Hi Moises, Am Freitag, den 30.04.2021, 16:02 +0000 schrieb Moises Lopez: > Hi Frederik > > A customer requested to support 5k concurrent sale.order (1 or 2 > lines of products) in Odoo. > The process that we followed were: test, measure, fix, test... haha, yes thats what works well if you have a customer that well endorses this "agile" and "pivoting" style of work. Apart from all economic considerations this is probably also something that isolated leads to quite solid solutions > > The first time that we tested the checkout process supported 15 > concurrent virtual users (VUs) > The measure said that it had heavy custom functions in the same > transaction of checkout but it could be executed in background (cron, > queue) > and there were slow queries because of indexes issues or too many > queries executed because of python code did you use any specific profiling tools here? Or the ones that rcollet often proposes in his talks about the matter ? > > Note: Be careful with the base_automation if you can migrate them to > code it is better. Thanks for the hint, i think we experienced that also quite some times in the past and learned that lesson already ;-) > > After fix them the next iteration supported 400 VUs > So good but so far from the focus. > > The next iteration we found that there were methods that could be > using LRU-cache (e.g. prices, website that don't change) > Now we needed to check where the cache was clearing too frequently > and fix it. How did you measure LRU cache hit rates vs. code parts in a good way. Any tooling suggestion here ? > > We implemented CDN > e.g. The sentence "/web/image/company.logo" runs 10 queries > (prefetching fields, translating fields...) for each user opening the > page > After using CDN 0 queries are executed. But you just used Odoos standard CDN function or any specific measure here ? > > We removed soft process that running with many users it is heavy > e.g. the random image that odoo assign when you create a res.partner > e.g. computed fields moved to cron Also here which analysis tools do you prefer to do so ? > > After that we detected concurrent update issues > It is hell for performance matter. > e.g. updating the same record at the same time from many users, > e.g. allowing pressing the same button too many times > e.g. sequences using no-gap in the main process, and so on > > After finishing all the hints of performance issues in the code and > database the next steps were to improve the hardware. > > Now, It supports 5k concurrent VUs doing checkout process (choose 2 > products, type address, payment card info and confirm) In what time frame ? > > So, Odoo will support those users but you will need to test, measure, > fix, test... > Stress testing tools helps us a lot here > python profilers and query analyzers too > > Maybe you are interest to watch our talk in SFO about: > - https://youtu.be/kiREZqg3JQg I will definitely have a look at this Thanks a lot for your extensive insight. Cheers from rainy Germany to sunny Mexico ;-) Frederik > > El mié, 28 abr 2021 a las 15:35, Frederik Kramer (< > frederik.kramer@initos.com>) escribió: > > Hi Folks, > > > > i have a project proposal on my desk that will ultimately end up in > > approx. 30 checkout transactions per minute. Has anybody got a > > project > > with that order volume done with a relatively recent version of > > Odoo > > and provide a good reference. Please bear in mind that the project > > ahead involves a similarly high volume of stock moves. > > > > Any suggestion / comment like (but not limited to) > > > > Odoo is the wrong technology for that, forget it, because.... > > > > over > > > > You can do it but, a), b), c) .... > > > > to > > > > If you really want that beast flying involve us over here because > > we > > are among the few ones that already did soemthing similar > > > > would be appreciated. > > > > From our load intensive projects at initOS i know that 10000 orders > > a > > day can be handled but almost 50000 is a different story and thats > > why > > i am asking the most experienced resource out there ;-) > > > > Thanks in advance for your replay > > > > Cheers Frederik > > > > > > -- > > Dr.-Ing. Frederik Kramer > > Geschäftsführer > > > > initOS GmbH > > An der Eisenbahn 1 > > 21224 Rosengarten > > > > Phone: +49 4105 56156-12 > > Fax: +49 4105 56156-10 > > Mobil: +49 179 3901819 > > > > Email: frederik.kramer@initos.com > > Web: www.initos.com > > > > Geschäftsführung: > > Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke > > > > Sitz der Gesellschaft: Rosengarten – Klecken > > Amtsgericht Tostedt, HRB 205226 > > Steuer-Nr: 15/200/53247 > > USt-IdNr.: DE815580155 > > > > _______________________________________________ > > Mailing-List: https://odoo-community.org/groups/contributors-15 > > Post to: mailto:contributors@odoo-community.org > > Unsubscribe: https://odoo-community.org/groups?unsubscribe > > -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
by Frederik Kramer - 12:01 - 6 May 2021 -
Re: 30 Checkout Operations per Minute A job for Odoo or not ?
Hi FrederikA customer requested to support 5k concurrent sale.order (1 or 2 lines of products) in Odoo.The process that we followed were: test, measure, fix, test...The first time that we tested the checkout process supported 15 concurrent virtual users (VUs)The measure said that it had heavy custom functions in the same transaction of checkout but it could be executed in background (cron, queue)and there were slow queries because of indexes issues or too many queries executed because of python codeNote: Be careful with the base_automation if you can migrate them to code it is better.After fix them the next iteration supported 400 VUsSo good but so far from the focus.The next iteration we found that there were methods that could be using LRU-cache (e.g. prices, website that don't change)Now we needed to check where the cache was clearing too frequently and fix it.We implemented CDNe.g. The sentence "/web/image/company.logo" runs 10 queries (prefetching fields, translating fields...) for each user opening the pageAfter using CDN 0 queries are executed.We removed soft process that running with many users it is heavye.g. the random image that odoo assign when you create a res.partnere.g. computed fields moved to cronAfter that we detected concurrent update issuesIt is hell for performance matter.e.g. updating the same record at the same time from many users,e.g. allowing pressing the same button too many timese.g. sequences using no-gap in the main process, and so onAfter finishing all the hints of performance issues in the code and database the next steps were to improve the hardware.Now, It supports 5k concurrent VUs doing checkout process (choose 2 products, type address, payment card info and confirm)So, Odoo will support those users but you will need to test, measure, fix, test...Stress testing tools helps us a lot herepython profilers and query analyzers tooMaybe you are interest to watch our talk in SFO about:El mié, 28 abr 2021 a las 15:35, Frederik Kramer (<frederik.kramer@initos.com>) escribió:Hi Folks, i have a project proposal on my desk that will ultimately end up in approx. 30 checkout transactions per minute. Has anybody got a project with that order volume done with a relatively recent version of Odoo and provide a good reference. Please bear in mind that the project ahead involves a similarly high volume of stock moves. Any suggestion / comment like (but not limited to) Odoo is the wrong technology for that, forget it, because.... over You can do it but, a), b), c) .... to If you really want that beast flying involve us over here because we are among the few ones that already did soemthing similar would be appreciated. From our load intensive projects at initOS i know that 10000 orders a day can be handled but almost 50000 is a different story and thats why i am asking the most experienced resource out there ;-) Thanks in advance for your replay Cheers Frederik -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 06:00 - 30 Apr 2021 -
Re: 30 Checkout Operations per Minute A job for Odoo or not ?
Hello Frederik, may be you could consider this module from Akretion for a RESTFul asynchronous import bus:It is using the OCA/queue module.At the moment it is for sale orders but the same could be done with invoices directly.Good luck.On Thu, Apr 29, 2021, 7:47 AM Frederik Kramer <frederik.kramer@initos.com> wrote:Hi Joe, thanks for the valuable feedback. Indeed i wasn't too specific on the scenario but its quite unlikely that an order in that business case is more than 10 items (standard only 1-2 is guess). However all considerations with decoupling checkout from logisics and financial fail in our case (a least without further design changes) because the entire physical / financial transaction needs to be accomplished and book in less than 10min. But of course a solid message broker architektur would be something that would be really helpful for the Odoo ecosystem. Which Message bus do you prefer in your scenarios and for what reason, if i may ask Best Frederik Am Donnerstag, den 29.04.2021, 10:37 +0000 schrieb Joerg Lorenz: > Hi Fred: > > instead of looking into the amount of orders, I would rather look > into the amount of lines per order containing items (excluding the > one lines that are just informational), first. > This is the key performance measure. > If the order line volume is resonable (1-3 on average on an online > order), then die 30 to 50 a minute is a hands down job, because, > there is no posting involved, just stock reservation. Question still > is, what the response time shall be for each order? > > Also a question would be for your scenario, if those really need to > be put as ORDERs, instead of QUOTEs - which are even simpler to > consume. > > If you like we can talk more on your requirements by phone. > > N.B. > In very high volume sceanrios we did, like with some 20000 orders a > minute, we usually just consumed, the orders with an message broker > first, then preprocessed there, confirmed (if no error), queued and > batched in the the ERP for processing (we did this for DHL for all > barcode scanners of Deutsche Post service men in Germany, rond trip > was supposed to be less than 5 seconds to get confirmation to the > barcode scanner). > > Best Joe > > Von: "frederik kramer" <frederik.kramer@initos.com> > An: "Odoo Community Association, (OCA) Contributors" < > contributors@odoo-community.org> > Gesendet: Donnerstag, 29. April 2021 09:52:11 > Betreff: Re: 30 Checkout Operations per Minute A job for Odoo or not > ? > > Hi Joel, hi Jordi, > > thanks for your valuable answers. For the time being we don't really > know about the real scenarios as this is a bolt pitch claim of a VC > driven startup for now. But from the business model it seems > reasonably > realistic for me to ask before claiming something that doesn't hold > true if it materialized. > > I am pretty sure that - given the business model - there will be rush > hours. So yes, i could even conceive 50 instead of 30 orders a > minute. > > In similar use cases that you just explained, we have been applying > both of the strategies you mention > > 1.) Decoupling stock moves > 2.) Batch processing in off-peak times > > In the use case at stake both does not really work as the entire > transaction from Checkout to Delivery (incl. Picking) is supposed to > take less then 10 min incl. pyhsical transport. > > Nevertheless i think all of that may be doable but, i will certainly > not claim "without hassle and much invest". > > Thanks for your answers > > Am Donnerstag, den 29.04.2021, 07:32 +0000 schrieb Joël Grand- > Guillaume: > > > > Hi Frederik, > > > > > > > > > > > > Yes this is a big number ! Look, first before anything else, how > many > > > > lines on average for those orders ? According to my XP, this > matters > > > > a lot. > > > > > > > > Second question is: Are there rushing hours and more calm hours ? > > > > > > > > In our XP we could not record more than 10 orders per minute. Was > on > > > > V 12 though, so it might have improved a bit by now. In our case, > we > > > > had a rush and calm hour. So the jobs could be recorded during rush > > > > hours and processed during calm ones. It worked well, but that was > > > > for not that many numbers... > > > > > > > > An idea would be to decoule the order confirmation from the stock > > > > move generation and do this in two different times. You could > ensure > > > > the reservation using our stock allocation module. > > > > > > > > Cannot really help much at this stage, > > > > > > > > Joël > > > > > > > > > > > > On Thu, Apr 29, 2021 at 1:32 AM Jordi Ballester Alomar < > > > > jordi.ballester@forgeflow.com> wrote: > > > > > We have a use case with approx 5000/day. I can see how 50000/day > > > > > can become a hell. Imagine recomputing a field, or migrating > > > > > between versions. > > > > > > > > > > It's a challenge, I give you that. > > > > > > > > > > On Wed, Apr 28, 2021 at 10:35 PM Frederik Kramer < > > > > > frederik.kramer@initos.com> wrote: > > > > > > Hi Folks, > > > > > > > > > > > > i have a project proposal on my desk that will ultimately end > up > > > > > > in > > > > > > approx. 30 checkout transactions per minute. Has anybody got a > > > > > > project > > > > > > with that order volume done with a relatively recent version of > > > > > > Odoo > > > > > > and provide a good reference. Please bear in mind that the > > > > > > project > > > > > > ahead involves a similarly high volume of stock moves. > > > > > > > > > > > > Any suggestion / comment like (but not limited to) > > > > > > > > > > > > Odoo is the wrong technology for that, forget it, because.... > > > > > > > > > > > > over > > > > > > > > > > > > You can do it but, a), b), c) .... > > > > > > > > > > > > to > > > > > > > > > > > > If you really want that beast flying involve us over here > because > > > > > > we > > > > > > are among the few ones that already did soemthing similar > > > > > > > > > > > > would be appreciated. > > > > > > > > > > > > From our load intensive projects at initOS i know that 10000 > > > > > > orders a > > > > > > day can be handled but almost 50000 is a different story and > > > > > > thats why > > > > > > i am asking the most experienced resource out there ;-) > > > > > > > > > > > > Thanks in advance for your replay > > > > > > > > > > > > Cheers Frederik > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Dr.-Ing. Frederik Kramer > > > > > > Geschäftsführer > > > > > > > > > > > > initOS GmbH > > > > > > An der Eisenbahn 1 > > > > > > 21224 Rosengarten > > > > > > > > > > > > Phone: +49 4105 56156-12 > > > > > > Fax: +49 4105 56156-10 > > > > > > Mobil: +49 179 3901819 > > > > > > > > > > > > Email: frederik.kramer@initos.com > > > > > > Web: www.initos.com > > > > > > > > > > > > Geschäftsführung: > > > > > > Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke > > > > > > > > > > > > Sitz der Gesellschaft: Rosengarten – Klecken > > > > > > Amtsgericht Tostedt, HRB 205226 > > > > > > Steuer-Nr: 15/200/53247 > > > > > > USt-IdNr.: DE815580155 > > > > > > > > > > > > _______________________________________________ > > > > > > Mailing-List: https://odoo-community.org/groups/contributors-15 > > > > > > Post to: mailto:contributors@odoo-community.org > > > > > > Unsubscribe: https://odoo-community.org/groups?unsubscribe > > > > > > > > > > > > > > > -- > > > > > Jordi Ballester Alomar > > > > > CEO & Founder | ForgeFlow > > > > > (+34) 629530707 | jordi.ballester@forgeflow.com | > > > > > https://www.forgeflow.com > > > > > Twitter: https://twitter.com/jordibforgeflow | Linkedin: > > > > > https://www.linkedin.com/in/jordiballesteralomar > > > > > _______________________________________________ > > > > > Mailing-List: https://odoo-community.org/groups/contributors-15 > > > > > Post to: mailto:contributors@odoo-community.org > > > > > Unsubscribe: https://odoo-community.org/groups?unsubscribe > > > > > > > > > > > -- > Dr.-Ing. Frederik Kramer > Geschäftsführer > > initOS GmbH > An der Eisenbahn 1 > 21224 Rosengarten > > Phone: +49 4105 56156-12 > Fax: +49 4105 56156-10 > Mobil: +49 179 3901819 > > Email: frederik.kramer@initos.com > Web: www.initos.com > > Geschäftsführung: > Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke > > Sitz der Gesellschaft: Rosengarten – Klecken > Amtsgericht Tostedt, HRB 205226 > Steuer-Nr: 15/200/53247 > USt-IdNr.: DE815580155 > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by "Raphaël Valyi" <rvalyi@akretion.com> - 04:26 - 30 Apr 2021