Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Large AddressSpaces with Custom Nodemanager - References to ns=0
May 4, 2014
19:06, EEST
Avatar
hbrackel
Member
Members
Forum Posts: 135
Member Since:
February 21, 2014
sp_UserOfflineSmall Offline

Hi,

I developed a server which exposes a huge number of nodes over multiple nameSpaces. I use a set of custom nodemanagers and the performance is excellent. Almost.
While the nodemanagers work very efficient, it is very slow to initially setup the references to ns=0, for instance the “typeDefinitionOf” references. With > 700k nodes and even more references, this virtually takes “forever”.
Is there any way to intercept the browse service calls of the rootNodeManager in order to “add” the references on demand – similar to what can be done with the custom nodemanager?

Thanks, Hans-Uwe

May 6, 2014
7:03, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1009
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes, you can use the NodeManagerListener or override NodeManagerUaNode the same way.

There’s also been a task to optimise the initialisation of the reference initialisation in respect to SDK 2.0. If you contact the support, we will provide you a beta version, if we get such improvements available – we will check this right now.

May 6, 2014
13:15, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1009
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Taking another look, it seems that it’s not currently possible to add references on the fly, as you would need in the NodeManagerListener, which you would need to be able to modify NodeManagerRoot. But we will consider a new method in the listener, getReferences(), which would enable you to add custom references when requested.

What I talked about optimising the reference initialisation obviously will not help you.

May 6, 2014
18:14, EEST
Avatar
hbrackel
Member
Members
Forum Posts: 135
Member Since:
February 21, 2014
sp_UserOfflineSmall Offline

Thanks for considering a respective method/callback in the future. Would it be possible to subclass NodeManagerRoot and use a custom type instead and overwrite the getReferences() method? Technically, it looks as if it might work but I’m uncertain about any potential side effects.

May 7, 2014
8:10, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1009
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

NodeManagerListener.onGetReferences() is now added to the latest internal beta version. Just send an email to get it for a test…

June 25, 2014
20:38, EEST
Avatar
hbrackel
Member
Members
Forum Posts: 135
Member Since:
February 21, 2014
sp_UserOfflineSmall Offline

Jouni Aro said

NodeManagerListener.onGetReferences() is now added to the latest internal beta version. Just send an email to get it for a test…

The #onGetReferences() callback did unfortunately not make it into the recent 1.5.0 release. Would it be possible to get a patch which adds this back again?

Thanks, Hans-Uwe

June 26, 2014
9:05, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1009
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

That was probably a misunderstanding: it was not going to be applied to the 1.x versions, but to the upcoming 2.0, which is in beta. I will send you information about that by email.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 682

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick, ellenmoss

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1