[hibernate-issues] [Hibernate-JIRA] Updated: (OGM-167) Consider reading/writing directly from BSON stream to Tuple to limit unnecessary object creation (like HashMap) by the MongoDB driver

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu May 3 05:23:51 EDT 2012


     [ https://hibernate.onjira.com/browse/OGM-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated OGM-167:
----------------------------------

    Summary: Consider reading/writing directly from BSON stream to Tuple to limit unnecessary object creation (like HashMap) by the MongoDB driver  (was: Consider reading/writing directly from BSON straem to Tuple to limit unnecessary object creation (like HashMap) by the MongoDB driver)

> Consider reading/writing directly from BSON stream to Tuple to limit unnecessary object creation (like HashMap) by the MongoDB driver
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OGM-167
>                 URL: https://hibernate.onjira.com/browse/OGM-167
>             Project: Hibernate OGM
>          Issue Type: New Feature
>          Components: datastore
>            Reporter: Emmanuel Bernard
>            Priority: Minor
>
> GC can slow down reads esp for collections. Many HashMap are created and we suspec the MongoDB driver for Java is the creator (DBObject is a subclass of LinkedHashMap).
> We could imagine not create these BObject but directly talk to the BSON stream. That would of course be a lot of work to do that right and the MongoDB driver needs to expose BSON without parsing it first.
> It more a prospective idea.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list