Hi,
I am currently developing a backend using dominodb. I expect some loss of performance since the Domino server I am connecting to is based at our head office and I am connecting my backend via VPN, however, under macOS Catalina a handful of queries is taking around 30 seconds to a minute to get an answer.
Firing up the same project under Windows (not WSL) the performance is significantly faster for the same set of queries. This takes just under 3 seconds.
I am not sure if dominodb is even supported on the Mac, but is this a known issue and is there a fix for it?
I am using AppDev pack 1.0.5 with Domino 11.0.1 (Clean server just for dev with just my one DB on it with about 10 documents in it, no attachments etc)
Kind Regards
Heidi
I had smiliar issues with 1.0.5 on MacOS. 1.0.5 uses a depricated gRPC library that caused some issues for me. 1.0.6 uses a new pure JS ibrary which solved my performance issues. Maybe give it a try.
Thanks Heiko, I will give it a whirl. You may have saved this mac fangirl a few months of windows purgatory :D
Hi Heiko,
unfortunately it did not help. It is only proton calls that I am having an isssue with. Reading documents, or calling an agent take about 10 seconds each before they return.
If I call a calendar rest endpoint on the same Domino server (also with accessToken) it returns in less than a second.
As my windows machine was running node 10 I thought I would try the same version on the mac, but it didn't help :(
I added the newer versions of iamclient and domino db to my package.json and tried completely deleting my node_modules before npm install. Also didn't help...
Any other ideas? :D
Please make sure to use Node V12 for 1.0.6 at least. I will check with my implementation to see if I have done something special. Not that I remember though. So you're server is using proton from 1.0.6 or from 1.0.5 ? How is your setup, is the Domino Server on VM on the same machine or completely remote ?
I was using the latest v12 version for macos, but tried v10 just because that is what I had on Windows.
I upgraded proton on Domino to 1.0.6 this morning. The domino server is in the office, so yes, completely remote. The office is only about 20km from me though, so no absurd latency. Server pings are about 10-20ms, but as I say, only proton is affected, also dominodb works fine under windows, so I'm at a bit of a loss...
Hmm. Any personal firewall on your mac involved ? Can you try to call the proton task using:
openssl s_client -connect appsdb1.jumbocloudservices.com:3003 -CAfile c:\certs\internalca.crt
And see if you get any errors ? So appsdb1... is your proton host name and you have to use your internal ca crt file... .
very weird stuff going on! Nope, no firewall enabled. I was beginning to think my office network just didn't like Macs.
I resolved the issue with a reformat. I have been meaning to do this for a while anyway, so this seemed like as good a time as any.
I figured if I have to use Windows for the next few months then it doesn't matter if I format now and there is always good old time machine backup if it didn't resolve it.
Heiko, thanks for your help! and at least it got my lazy butt to finally install 1.0.6 on the server :-)
Have a good day!
Heidi
Wow, that's a lot of work - so it was indeed OS related ? You learn something every day. Have fun with 1.0.6 it's the best version (for me) so far.
Cheers,
Heiko.
Hello Heidi!
Could you provide additional information on user's side? I mean, MacOS specific version (10.15.?), Notes Client version, Java version, etc?
Regarding "dominodb", are you talking about the module that provides a promise based JavaScript interface for accessing data in a Domino database?
Thanks in advance!
Please mark this question as answered and helpful if your issue is resolved.
Regards!
Rodrigo de San Vicente
Staff Software Engineer
Collaborative Workflow Platform