Hi,

I'm using SDN 3.2.1 and a dedicated instance Neo4j 2.1.5 database hosted at 
GrapheneDB.

I have this use case in my app:

User can participate to a meeting. 

It works, but too slow... => 10375 ms exactly => 10 seconds !

Here's the code snippet I exactly use, associated with comments:

meetingRepository.save(meeting)           //as meeting has Participation 
collections, I have to save the meeting in order to save the current 
participation
meetingRepository.setActiveLabelToParticipation(participationId)  //set a label 
Active to the participation, so that I can use it for read queries: 
participation:Participation:Active
eventRepository.save(participatedToMeetingEvent)      //save the corresponding 
event 
eventRepository.flagAsNew(participatedToMeetingEvent.id)  //set the label new 
to the corresponding event so that my scheduler can read with:   
event:Event:New, to dequeue the new events


Is there a mechanism in the latest SDN version allowing to batch both the 
participation and it's label to one network step ?
Meaning a way to specify a label by default when the node is about to be 
insterted?  

How could I improve the whole, if any possibility exists. 

Thanks a lot :)

Michael









-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to