Inquire Now
case_study_img
TruePal

TruePal

TruePal is network of friends where friends can Buy/Sell or Ask questions. Join TruePal. TruePal brings you all friends together so you are always there when your friend needs you most.

client_profile

Client Profile

Client is based in California, USA and has made couple of successful startups. He was looking for social networking application which help user to buy, sell items as well as question and Answer from their own network.

business_icon

Business Need

One of our eminent client from USA wanted to develop kind of networking where anyone can sell or buy items for they can ask question in his own friend’s network or in friend’s friends network or so own. In Application it should show level of friend in listing like what LinkdIn does. So, they can make trust and would be more chances for make the deal.

suppose there are 3 person A, B, C such that A has B's contact and B has Both A and C 's contact and C has B's contact

So when they register A will be B's friend (direct friend (level 1)) and B will be A and C's (direct friend (level 1)) and A will be C's friend (through B So level 2).

  • As this is social networking application, there would be millions of the users the systems should be robust and scalable and should handle more traffic.
  • Also, these users can chat with each other.
solution_icon

Solution

As the complexity of showing level and maintaining the level for friend’s network up to 5 levels. It was nearly impossible to maintain this in traditional MySQL or MsSQL database. So, we have used Neo4J graph database to store friends relationship.

We considered all the users as the nodes of the tree and we created a relationship "FRIENDS" between them if they are a direct friend of each other. In tree, we can traverse to any depth and hence can find how we are linked to a person and at what level.

  • All the contacts we stored using cryptographic hash function algorithm.
  • We implemented openfire for the chat.
  • For load balancing, robust and reliable solution, we used amazon EC2 cloud solution.

Technology & Frameworks used

ios_sdk

Xcode

ios_sdk

Neo4J

ios_sdk

XMPP

ios_sdk

PHP

benifits_icon

Major Challenges

  • Graph database (Neo4j)
  • Openfire Setup with Https
  • Aws Ec2
Conclusion_icon

Conclusion

Tristate delivered the solution to the client with satisfying all the clients need.

If you are looking to develop such application, our expert team is always ready to help you. Please contact us if you have such requirement.

Our Achievement

What we bring to the table:

  • Software Engineers
    0
    Software Engineers
  • Software Projects Developed
    0
    Software Projects Developed
  • Years of Experience
    0
    years of Experience
  • Happy Customers
    0
    Happy Customers