Serdar Yegulalp
Senior Writer

Neo4j 4.0 targets scalability, security, and performance

news
Feb 4, 20202 mins
AnalyticsDatabasesGraph Databases

Leading native graph database adds long-awaited horizontal sharding, granular security, and reactive processing

target bullseyes
Credit: Thinkstock

Neo4j, one of the leading graph databases on the market, is available in a major new version today. Neo4j 4.0 introduces new scalability and security features aimed at enterprise deployments.

Graph databases are optimized to deal with relationships between elements, rather than lists of them in tables. Relationships can be expressed in conventional tabular databases, but become unwieldy when dealing with, say, millions of connections.

Neo4j, introduced 12 years ago and reviewed by InfoWorld’s Martin Heller in 2018, was engineered from the ground up as a native graph database, rather than a reworking of an existing tabular database to support graph storage and processing.

One of biggest changes in Neo4j 4.0, available in both the community and enterprise editions, is the concept of “reactive” sessions, or reactive query processing. Reactive sessions allow data streamed from Neo4j to be managed dynamically by applications that receive it, so that clients aren’t flooded with data they can’t handle in a timely way. Other reactive components, like Reactive Streams, can in turn make use of Neo4j’s reactive behaviors.

Another major change, although limited to the enterprise edition, is a form of horizontal scaling called Neo4j Fabric. Previously, Neo4j supported data replication across a cluster of machines to provide read scaling and high availability. Fabric now allows graph data to be sharded and federated across multiple instances.

Also new in Neo4j 4.0, although limited to enterprise users:

  • The ability to deploy multiple, distinct databases in the same Neo4j server cluster.
  • Fine-grained security and access controls with roles and user management.
  • Memory constraints for transactions to keep queries from overloading nodes.
Serdar Yegulalp

Serdar Yegulalp is a senior writer at InfoWorld. A veteran technology journalist, Serdar has been writing about computers, operating systems, databases, programming, and other information technology topics for 30 years. Before joining InfoWorld in 2013, Serdar wrote for Windows Magazine, InformationWeek, Byte, and a slew of other publications. At InfoWorld, Serdar has covered software development, devops, containerization, machine learning, and artificial intelligence, winning several B2B journalism awards including a 2024 Neal Award and a 2025 Azbee Award for best instructional content and best how-to article, respectively. He currently focuses on software development tools and technologies and major programming languages including Python, Rust, Go, Zig, and Wasm. Tune into his weekly Dev with Serdar videos for programming tips and techniques and close looks at programming libraries and tools.

More from this author