New graph database features eschew need for DBAs

Python's stranglehold in data science makes Neo4j rethink language strategy

Graph database specialist Neo4j has launched a graph analytics workspace as a fully managed cloud service.

Called AuraDS, it is aimed directly at data scientists hoping to use the features of Neo4j's graph database and its machine learning library, promising to liberate data scientists from the dreary tasks of setting up databases and broadening the appeal of the graph databases, according to Carl Olofson, IDC research vice president.

Neo4j launched a native graph analytics workspace, graph database, scalable graph algorithms, machine learning libraries and graph visualization all in one environment in April 2020.

Later that year, it added graph embeddings to its suite of tools.

With the latest release, the data science toolkit comes as a fully managed cloud service with a native client for Python, which is popular among data scientists.

Alicia Frame, director of graph data science at Neo4j, told The Register: "Data scientists really love Python. Unlike developer projects, there's no variety. Everyone is using Python."

Although it technically supports Python, Neo4j built its data science workspace with Cypher — the SQL-like query language — as the main interface.

Frame said while data scientists liked the graph capabilities, they really struggled. "They said: 'You want me to learn a new language? I don't understand your drivers. This is hard.'

"We learned just how strong Python is, and how almost any friction will discourage a new user."

As well as native support for Python, Neo4j AuraDS includes access to over 65 graph algorithms in a single workspace as well as in-graph ML models to reduce the data science burden.

Frame said Neo4j had built guardrails into the product so users don't inadvertently break the back-end. "If you now try to run an algorithm that you don't have enough memory for, instead of letting you do that, you get a message that says, 'Hey, you're trying to run graph, and it requires this much memory.'"

I have no doubt that there will be resistance initially from DIY-ers

Users are given the option of either killing a process, resizing the server instance, or running their own risk, she said.

Graph databases are suited to high-dimensional problems, and as such were applied in their early days to understanding social networks. Financial risk management and fraud-detection have become other popular use cases while the concept is gaining traction in chemistry, biology and drug research.

"The most important thing to think about is connected data – by definition it is super high dimensional. There's a lot of information encoded in those relationships.

"So, typical data science workflow: I have a data frame; god forbid, I have a spreadsheet; I've got a matrix; and I don't really care how things are connected to each other. I treat everything as individual uniquely distributed.

"With graph you go from a table to a massive adjacency matrix, where all of a sudden I have to consider for every data point. What other data points is it connected to? And then what are its connections connected to? And so you get really high dimensional really fast," said Frame, who worked using graph databases in microbiology and genetics before joining the tech industry.

IDC's Olofson said Neo4j graph DBMS was designed to handle complex problems and is implemented mainly in a scale-up manner, which means the user must anticipate the most demanding query and scale its system to support it.

"The AuraDS service enables dynamic scaling, so the problem is out of the user's hands. This is the most natural way to deploy Neo4j," he said.

Users are set to be impressed by its ease of use, and the ability to allocate resources dynamically, Olofson said. "Configuring a graph database can be tricky business, especially where data science is involved, so the AuraDS service frees users from that effort so they can focus on analytics."

The advantages meant most users would err towards the managed cloud service, he said.

"I have no doubt that there will be resistance initially from do-it-yourselfers, but the overall benefits so clearly outweigh what minute advantages may be gained by explicit physical deployment, that most will surely move to the cloud service, except in rare special cases where very particular system requirements demand manual setup," he said.

AuraDS is available in Google Cloud. It is set to launch on AWS later this year, and Azure soon after. ®

Similar topics

Broader topics

Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022