Skip to Content
Menu
This question has been flagged
2866 Views

Using Odoo 14 hosted by odoo.sh.


I would like to know if there are any methods or strategies to speed up search when queried by the XML-RPC API. For instance, if I want use and order of 'write_date ASC' or 'id ASC', this will cause several models to timeout when attempting to return even a single record. Do I need to set indexes on all models that I want to set an order for to make the queries more efficient? Any help is appreciated.  Thanks.

Avatar
Discard
Author

I don't have the karma to reply to the answer (weird system, but ok), so I'll just reply here. Is there anything that can be done in addition to just allocating more resources? If I was making SQL queries right to the DB, I'd ensure I had proper indexes. What if anything can be done with only access to the XML-RPC API? Thanks for your help.

Odoo.sh is a SharedHosting for Odoo it has it's own configuration that is limited to the resources you have so if you want your quries to be faster you have to increase your resources and increase the timeout limit.

If you have worked with a VPS server before all the configuration will be in odoo.config file and you can specify the time out and the db connections limit and you can customize what you want.

But in Odoo.sh that is all taken care of for you so just increase the resources and workers and the timeout limit if you have access rights to do so. if you don't Odoo.sh has a dedicated server plan and if you don't you can work with a VPS but it will take you more time to do it and monitor your server's security, Memory etc.



Happy to help :) an upvote will be awesome

Related Posts Replies Views Activity
1
Jan 24
2341
1
Jul 23
2621
0
Apr 22
2830
0
Mar 22
2002
2
May 21
9155