cheveguerra Member Licensed User Longtime User Aug 14, 2024 #1 Hi everybody, I have an app that has to connect to 3 different database servers, and was wondering what is the best way to do it: Create 3 different instances of DBRequestManager and use each one depending on what database I have to access. Create a single global instance of DBRequestManager and initialize it with a different server depending on which server I need to access. Or it is all the same and I don't need to worry about those little details!! ? Best regards
Hi everybody, I have an app that has to connect to 3 different database servers, and was wondering what is the best way to do it: Create 3 different instances of DBRequestManager and use each one depending on what database I have to access. Create a single global instance of DBRequestManager and initialize it with a different server depending on which server I need to access. Or it is all the same and I don't need to worry about those little details!! ? Best regards
Erel B4X founder Staff member Licensed User Longtime User Aug 14, 2024 #2 3. Is the correct answer from performance perspective. I recommend you to choose option #1. Upvote 0
cheveguerra Member Licensed User Longtime User Aug 14, 2024 #3 Erel said: 3. Is the correct answer from performance perspective. I recommend you to choose option #1. Click to expand... Soooo .. there's not real difference ?, but, #1 is recommended! Thank you @Erel Best regards Upvote 0
Erel said: 3. Is the correct answer from performance perspective. I recommend you to choose option #1. Click to expand... Soooo .. there's not real difference ?, but, #1 is recommended! Thank you @Erel Best regards