I am developing social networking website now a days. for that I am using MySql as my primary database and neo4j as in-memory database. I am using node.js and (for neo4j) too.
Now I have a some doubt regarding data modelling for neo4j. I want to give some feathers to my users like friends suggession, mutual contacts and searching. This all stuff I have implimented with My-Sql. But due to some performance issue, I would like to store friends and it's relations related data in to neo4j. For that I have stored my User's nessessory information into neo4j as node. I have already primary key in mysql database. and here neo4j also have it's own id system. So how can I bind this both ids togather. I have read this blog (https://github.com/aseemk/node-neo4j-template/blob/master/models/user.js) and trying to do as he mentioned in his blog.
Second thing is How to give suggession list to my user from neo4j database. Right now I am giving UserName with his/her Image and mutual friends count (with login user) and city in suggession list. I don't understand How I do this with neo4j within node.js?
I have read many blogs and watched many videos over internet. but still I am not getting any idea to do this work.
Can some one help me or can suggest me to where can I get proper information regarding this? I am very much confused and frustrated, and not getting any clue to achive my task.
Sorry for my bed English.