Monday, 14 December 2015

Week 5 [14-20.12.2015] Why Graph Databases Are Becoming Part of Everyday Life


Why Graph Databases Are Becoming Part of Everyday Life

By definition, a graph-oriented database corresponds to a storage system capable of providing an adjacency between neighboring elements: each neighbor of an entity is accessed through a physical pointer.

It is an object-oriented database suitable for the operation of graph data type or derived structures such as trees.

Graphs oriented databases provide significant advantages:

Increased performance:
Treat highly connected data by avoiding multiple expensive joints that should be implemented in traditional relational databases and allow updates very powerful day, even for a very large data set.
Deliver outstanding performance in terms of speed of response time for local readings graph by path.

Simple developments:
The use of query languages such as Cypher or Gremlin dedicated to connected data processing facilitates developments. For example searching for friends of friends take a single line of code in Cypher.

Easy modeling:

Easily manage a complex model since the database is not based on a rigid scheme.
Sometimes allow more natural and readable by modeling use cases.
Discovery of new use cases by a natural representation of data.

Privacy and information ownership issues are at the heart of the social graph, explains Alex Iskold. There is a conflict of interest between users and organizations that develop social networks. "The more the network grows, the less its designers have an incentive to share information with other networks to keep their captive users and continue the development of their network. While users themselves, only care about the ease of use and privacy. "

My question:
- Can you imagine your life without  social media ?
- Do you think that the social graph  helps to raise the issue of interoperability of social networks?


31 comments:

  1. To be honest, I can easily imagine my life without social media, as I'm already avoiding most of social media services.
    These days people tend to have hundreds of friends they barely know. I do see social media as a serious threat to human relations - significantly flattening them.. and even the best modeled graph based database will not help here.
    It may be considered the old-school way, but I truly appreciate a real-time conversation instead hanging on all the messengers..

    Regarding interoperability, it is rarely an issue of data model (of course I can imagine many opposing to this statement), but a technology integration issue.
    Btw do you observe any interoperability isssues between social networks?
    I would even state.. there is none. The only problem with not allowing other networks to access/merge its data is related to money, or monetization of social networks.

    ReplyDelete
  2. I agree with you, me too I don't like all the social media.but the problem I like or not, I am forced to use it, to see the news or to communicate with my family. so the social media are becoming Part of Everyday Life. I am with all new technology for social media, but not good to make the people like a robot, without facebook or Tweeter they will be without soul.
    frankly speaking,we need to think more about the future, we do not want more technology

    ReplyDelete
  3. I think that some social media are useful. Some people demonize and blame social media for ruining our lives. I think they are simply tools and how they are user depends on the user. Personally I could live without social media. I suppose I'd use some news aggregator and subscribed to some pages that interested me.

    I think most social media functionalities can be implemented using standard relational database engine. Interoperability between networks can be achieved only by common public API agreed between networks' designers/developers. In my opinion integrating enterprise applications via DB whether it's relational, nosql or graph, is really a bad idea.

    ReplyDelete
    Replies
    1. There is no denying that each phenomenon, including social media, has its advantages and disadvantages. One of its strong points is undoubtedly usefulness. However it is indispensable to make a good use of social media, as you have pointed out. We should also take into account potential risks of this new technology.
      As for RDB, we always find troubles with a large number of its users, mainly with joining tables and indexing.

      Delete
  4. This article was a little difficult for me but I found it very interesting. Firstly I must say I prefer to see new issues during my work than to read about it. Secondly I know a little about the databases like MS Access or MySQL and I think this is a little difficult to understand the software. I teach how to create and use databases and I know that for the beginners traditional databases are magic. Typical Kowalski does not perceive databases around us and they are necessary. Our life is one big database. I cannot imagine how graph databases can help us to use them more easily and effectively? I must see this issue during some technical presentation and next I can think negatively or positively about it.
    Moreover I am a little old ;-) and I remember life before the social media. I don’t think it was a fantastic time as sometimes the elderly say. The past was great because I was young and I had time for everything I think this time without the Internet with its advantages and disadvantages was a little boring and colourless. I like the social media but I can live without them. I recon that apart from everything they enable us to meet people from all over the world but a life based only on social media is boring for me.

    ReplyDelete
    Replies
    1. The development of new technologies always brings us new solutions. What proves to be a good solution for social media is the invention of graph databases. Let's take for example Facebook. Without the use graph databases, we would find so many problems to find a friend or make comments on articles because of the ACID protocol in RDB.
      It is true that now we have new devices that make our life more attractive. But I don't think our life before social media was boring or colourless. I believe that social media have changed human relations which were simply more direct in the past.

      Delete
  5. Hi,
    Can you imagine your life without social media ?
    I can imagine my life without social media, I use social media to contact with my family or friends sometimes I use social media for get informations. In my opinion such of information is advert. A few company use this for advert his company.
    Sometimes I prefer make a call to friend or talk with friend in social media.

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?

    I never think about it, but in my opinion the social graphs won't help to raise the issue of interoperability of social networks. I agrre with Mikołaj Szypke who wrote:
    "In my opinion integrating enterprise applications via DB whether it's relational, nosql or graph, is really a bad idea"

    ReplyDelete
    Replies
    1. It is true that the first association with social media that comes to our mind is effective communication with our friends and family. It is also an informative tool, used especially to promote business activities. This device has replaced other means of communication used in the past.
      To reply to the second question, we can now see that all big companies try to migrate their RDB to graph database or Nosql technology.

      Delete
  6. I can imagine life without social media since I removed my facebook profile a few years ago. It took a while to "rediscover" how to communicate with friends without tools like chat or group pages but at the same time I've recovered much time that I used to spend watching videos and brilliant thoughts uploaded by my friends. On the other hand, there are many businesses dependent on advertisement opportunities offered by social media which couldn't exist without it.
    Social graphs are something designed for purposes related to social networks. Therefore, they can help to raise the mentioned issue.

    ReplyDelete
    Replies
    1. Congratulations! You did something almost impossible in our modern society and your example shows that we can survive without social media.

      Delete
  7. - Can you imagine your life without social media ?

    Sure, I live long enough to remember world without social media :)

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?

    Actually, I see no connection between those two :)
    I prefer this networks not to talk to each other too much. Otherwise advertisement agencies like Google will know much more than they should.

    ReplyDelete
    Replies
    1. I can also recall perfectly our world without social media. It seemed to work quite well.
      The development of new technologies for communication purposes (e.g. smartphones) led to the use of social media via network. This is how they are linked.

      Delete
  8. - Can you imagine your life without social media ?
    My life would be hard without social media. I'm using for example, facebook to professional communication and also to study. Without social media my life would be more complicated. It's because a lot of people are visiting every day social networking websites. That's the only reason for me to use them also.

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    Maybe that's true, if social graph will be more common and popular. Today it's hard to say. People, that I know are not using it at all.

    ReplyDelete
    Replies
    1. I agree that we depend on the environment we live in. Social media are useful and make our life easier.
      The article mentions the sector of social graph having grown by 500% in the last two years alone! And the fastest-growing category in database management systems will reach more than 25 percent of enterprises by 2017.

      Delete
  9. - Can you imagine your life without social media ?
    I must answer to this question yes and no.
    Yes I can imagine life without social media, I was living without them for most of my life.
    And also No because I use them (especially Linkedin) to get some side projects. For example my wife runs small company and she use facebook as advertising tool. I am using it also but I treat it as source of information (similar to RSS channels).

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    This is offtopic but I must say that I don't agree with Iwo and Mikołaj in their opinion about integrating NoSQL and RDBMS databases. Most of todays companies can't afford to migrate their databases to NoSql technologies so they are trying to integrate those two systems into one.
    Nice example is with Allegro they don't have money to move all their Exadatas to NoSql so their are trying to integrate with them. New recommendation system is built upon Cassandra database and this database live side by side with Oracle and they are sharing data for each other.
    Same situation is with P4 (Play) they mainly using Oracles but in some cases they are integrating with MongoDB and Solr. And yes integration between those technologies always depends on integration software. And it will be very hard to implement social functionalities in relational database (it will be very slow) and in some cases almost impossible.
    I think that today's graph databases are incompatible with each other. Every company (Facebook, Linkedin) made their own graph databases to handle their own use cases.

    ReplyDelete
    Replies
    1. I agree with you that social media present some new solutions that were unknown before. We use them for business, advertising and information purposes.

      Tomasz ,thank you so much for the good idea.
      The NoSQL Databases and the RDBMS Database complement each other. Each solves a different type of requirement.
      The NoSQL Database is designed to cost-effectively manage large volumes of simple, structured and unstructured data. However, it is often the case that important subsets of that data need to be loaded into the RDBMS Database in order to access more advanced capabilities like complex queries, data security, data lifecycle management and Advanced Analytics. Typically the same ETL-class tools that support loading Hadoop data into RBDMS systems are also used for loading NoSQL data into an RDBMS. The Oracle NoSQL Database supports the Oracle Big Data Connectors (ODI and OLH), as well as direct access to its data via Oracle Database External Tables, allowing customers to combine relational and NoSQL data in the same query.but customers may choose to replace their RDBMS Database with Oracle NoSQL Database, but for only the subset of data and functionality that are best suited for the NoSQL technology approach. Most customers will use a combination of an RDBMS and Oracle NoSQL Database to address their overall data management requirements.

      Delete
  10. - Can you imagine your life without social media ?
    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    Yes I can. Actually, I was born in a word without social media. When I graduated for University there was still no social media around. Now I use it for a while and I think that I nothing fascinating in that except new database technology.
    For new “tools”, as social media are called time to time, a new solution is required. A Graph database for example.
    What is so special about that:
    “The secret is in the data structure – the localized nature of graphs makes it very fast for this type of traversals. Imagine yourself cheering your team on the a football stadium. If someone asks you how many people is sitting five meters around you, you will get up and count them. If the stadium is half empty, you will count people around you as fast as you can count. If the stadium is packed, you will still do it in a similar time! Yes, it may be slightly slower, but only because you have to count more people because of the higher density. We can say that, irrespective of how many people are on the stadium, you will be able to count the people around you t predictable speed – as you’re only interested in people near you, you won’t be worried about packed seats on the other end of the
    stadium for example.
    This is exactly how graph database works – it counts nodes connected to the starting node, at the predictable speed. Even when the number of nodes in the whole graph increases (given similar node density), the performance can remain predictably fast. If you apply same football analogy to the relational database queries, we would count all people in the stadium and then remove those that not around us – not the most efficient strategy given the interconnectivity of the data.”

    ReplyDelete
  11. - Can you imagine your life without social media ?
    Certainly, I lived most of my life with no access to social media of any type. By the way I often observe Facebook individual (not business) users using it not for maintaining relationships with their 300 friends, but to advertise themselves or to expose their (political or other) frustrations. Interest groups are quite useful, but to be honest I can live without it.

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    I do not see a reason why to raise such an issue. Many people would see it as threatening their privacy. Would it be legal? Stronger and updated laws are definitely needed here as well as the laws execution.

    ReplyDelete
  12. Hi,

    Graph databases aren't the answer to every case. They usually are slower when operating on huge number of records since each record has to be examined individually to obtain the relationships and the structure of the data. Also they tend to use more storage space. However as you already mentioned for operations like friends of friends they are a much better choice. Now to answer your questions:
    I am not really addicted to social media so I don't think it would bother me to live without them. However they became so prevalent in the modern society that it would definitely feel weird when one day they ceased to exist for some reason.
    As our colleagues already mentioned the data model is only one of the issues (and not the most dominant) that hinder interoperability. I would firstly focus on construction of shared protocols.

    ReplyDelete
  13. I can imagine life without social media. But I think wisely used, can help reduce world. I reminded myself right now, a picture from a book of history, unless of primary school. there was still photo of a flying Concorde. and signature preached the planes they reduce world. I did not think the decrease world may well computer with a computer room - then big and white.
    I think that the Social Graph can help to raise the issue of interoperability of social networks. Social Graph contains links between people and depending on not only personal.

    ReplyDelete
  14. Yes, I can imagine my life without social media. In fact nowadays I don’t use or use very rarely social media like Facebook, twitter, Instagram ect. I think that basically SM which I have mentioned are based on the graph. Analysis of user preferences and building a relative links comprises the main goal of such Web sites. They increase the connectivity and what follows, popularity.

    ReplyDelete
  15. I am not going to imagine life without social media because I think they are part of reality now and we have to learn to deal with it. I agree with Mikołaj that people blame social media for much too many things. Do not get me wrong I see all the dangers – like Joanna said people use them to brag about their life, get addicted to it etc but It depends on the user what he/she does with it. I have close friends that do not use social media at all claiming that it is a waste of time. But I prefer to concentrate on the other side of it. I think social media give us amazing possibilities to do useful and needed things – like communication , modulating desired behavior (key phrase from my presentation from phd workshop if any of you recall : ) ), recognizing and supporting vulnerable groups or improving accuracy of diagnosis (of course keeping in mind issue of privacy).
    I do not think social graph raise the issue of interoperability of social networks, I think they were created to collect data in more efficient way for very business orientated goals etc.

    ReplyDelete
  16. I agree with my colleagues, In certain scenarios good old RDBMS are as fast as graph databases. They are easier to understand and probably have easier to use queries.
    - Can you imagine your life without social media ?
    Of course I can, I'm not active on facebook or twitter. Most of the time I'm using readonly mode :)
    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    It's like in Facebook graph api and other similar api's. Why do you need interoperability? I don't want to share my data with marketing corporations and so on. You can abuse interoperability to easily in my opinion.

    ReplyDelete
  17. - Can you imagine your life without social media ?
    Sure, I've lived a half of my life without that and I don't feel I missed anything.

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?

    I think that data is the core of the social-platform business and nobody wants to share those resources without the profit. So first you must overcome human's greed, then you can think about integrated social networks.

    ReplyDelete
  18. Can you imagine your life without social media?

    I can imagine my life without social media. Actually, I use social media from only several years, so for the most of my life there were no such entertainment. I don't often post my thoughts on facebook or upload my photos on Instagram, but I mostly use them to communicate with my friends. Actually thanks to facebook I have contact with some of my primary school colleagues.
    I think that many of young people and teenagers cannot live without social media. My younger cousins share almost every moment on their life in social media.

    Do you think that the social graph helps to raise the issue of interoperability of social networks?

    In my opinion it could help. As it was mentioned in an article graph databases are perfect for social media and connections search. I am not sure if I want the interoperability of these networks, but I think I will have no influence on this.

    ReplyDelete
  19. - Can you imagine your life without social media ?
    my personal life ? of course with out any problem.
    my business life ? no way. Not now. it is too important tool. If my competition would use it and I didn't than I would be on last place

    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    I think that it would have to big impact on people privacy and this is never a good thing

    ReplyDelete
  20. - Can you imagine your life without social media ?
    In the 80" there were no social media and people were able to live and have fun. Now everything needs to be posted, tweeted or shared
    with anyone in the range o 100km. Social media are a great way of communication but they are overused. I have heard that Denmark survey shows that people who were not using social media for 2 weeks felt less stress and envy. Social media force us to "be cool" and make intresting
    activities to get likes from our followers. We care too much about others' opinion and no longer focus on our intrests and hobbies.
    - Do you think that the social graph helps to raise the issue of interoperability of social networks?
    It does but do we need this? This what happens in the topic is enough. I do not want any system to have a control over my life and privacy.

    ReplyDelete
  21. Of course I can imagine my life without social media. I believe in point-to-point communication and use good old-fashioned email to keep in touch with people I want to stay in touch with. I also share the details of my private life only with those who care about it.

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete
  23. 1) I have accounts on several social media but most do not use of them,
    2) In my opinion the use of the interoperability of these networks will be at once more, this is for certain will create new opportunities for other new threats.

    ReplyDelete
  24. > - Can you imagine your life without social media ?

    Yes I can. I guess I'm a little bit old school.

    > - Do you think that the social graph helps to raise the issue of interoperability of social networks?

    Might be. Don't have a clue.

    ReplyDelete