Hi folks,
I am looking for solution to quick returns backend data. I am calling remote.reqiure('....node file path') in react component . This data returns take too much time. How can i handle this issue? Do you have any idea?
Thanks,
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (7)
what's the file size?
If it's a large file I would recommend using a CDN
Hi Hanan,
My backend file size 1.3MB this file has a just calculation method. I get that method and apply to my data. I checked Performance screen on Dev-Tools, It takes time this backend connection part. I am using like this remote.require('./backend/backend-native.node').
I think that's just electron then. look at this thread
github.com/electron/electron/issue...
Thanks Hanan,
I will look this.
Can you share your code?
Hi James,
I checked Performance screen on Dev-Tools, It takes time this backend connection part. I am using like this remote.require('./backend/backend-native.node'). This part almost takes extra 20ms.
I believe you but without seeing the code, I can't help you debug.