- **status**: unassigned --> assigned
- **assigned_to**: Neelakanta Reddy
- **Part**: - --> nd
- **Milestone**: future --> 5.0.FC
---
** [tickets:#571] IMM: Internally represents NO_DANGLING reference attribute
values as pointers**
**Status:** assigned
**Milestone:** 5.0.FC
**Created:** Fri Sep 20, 2013 06:54 AM UTC by Anders Bjornerstedt
**Last Updated:** Wed Nov 13, 2013 07:21 AM UTC
**Owner:** Neelakanta Reddy
This is related to the attribute reference NO_DANGLING enhancement.
https://sourceforge.net/p/opensaf/tickets/49/
The use of NO_DANGLING will (all else equal) increase the general memory
overhead for storing imm models. This is due to the need for internal
back-pointers to make the upholding of the constraint reasonably efficient.
But the NO_DANGLING can also be exploited in the internal management of
references to save memory. Making the total internal memory cost lower
for NO_DANGLING references than regular potentially dangling references.
References between IMM objects are defined and managed using the SaNameT type.
The value stored in such reference attributes is the DN of the destination
object that is pointed at by attribute in the source object.
DNs can be quite large and are likely to get larger when we support DNs
longer than 255 bytes.
The imm server can save a lot of memory by internally representing such
reference attributes as direct pointers to the target object. Conversion back
to DN is only needed when an object is exported via a searchNext or accessorGet.
This only works for NO_DANGLING references because only such references are
guaranteed to be .. not dangling, i.e. to actually point to an existing object.
The conversion back to the regular DN can only be done for objects that exist.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets