Announcing Memgraph 1.6 - It's Time for Data Streaming!

Antonio Andelic
Announcing Memgraph 1.6 - It's Time for Data Streaming!

Hello, it hasn’t been long since our last release post, but we’re happy to announce that Memgraph 1.6 is ready to be used and tested out!

A new version of Memgraph isn’t the only thing we’re proud of. With it comes our refreshed and improved documentation page. There, you should find answers to any questions you have about Memgraph, including the features from this release!

We set sails in a new direction, right into the streaming world. But getting there is not easy, so a lot of work is still ahead of us.

In the last release, we introduced triggers. In short, when something changes in the data Memgraph has stored, a certain query can be executed. Now, we need to allow you to continuously and easily update your graphs!

Connect to Kafka

For sure, the biggest name in the streaming world is Kafka. With the newest Memgraph, you can connect to a Kafka cluster and run any kind of openCypher queries based on the Kafka messages Memgraph receives. Using similar techniques as for defining the Query Modules, you can easily define a transformation procedure that will be called for each Kafka message. The same rules apply as for the Query Modules, you can do anything (as long as you return a query in the end…). Creating a streaming connection isn’t the only thing you can do. You can stop it, start it, drop it, and of course, check if it works as intended. Just tell Memgraph how to connect to your existing Kafka cluster and let it do the rest!

If you’re wondering how it all looks in practice, check out our nice example.

New Isolation Levels

For some time, the word isolation isn’t something you like to see a lot. Nevertheless, we had to expand our isolation levels. Until now, SNAPSHOT ISOLATION was your only option, but now you can use READ COMMITTED and READ UNCOMMITTED. Some of the isolation levels are hard to explain, but I think it’s not the case here. You can set a default level using a config or through a query. When using a query multiple possibilities show up. You can set the isolation level for every transaction, for the current session, or just for the next transaction.

I didn’t give you too many details, but you can find everything explained here.

There’s still more

If connecting to Kafka and using a different isolation level is still not enough, here’s a rundown of some other things we introduced with this version:

  • disabling the LOAD CSV clause using a configuration flag
  • generating a snapshot with a query
  • fixed random query timeouts on machines with AMD Ryzen 7 and M1 chips
  • introduced global allocators for our Query Modules C-API

For more details, check out our Change Log.

So go and try it out! You can download the 1.6 version here. If you catch any bugs or generally weird behavior, please drop us a line on our forum. And remember, if you need any kind of information about Memgraph, the documentation site will always be by your side.

Happy hacking!

Table of Contents

Get a personalized Memgraph demo
and get your questions answered.

Continue Reading

New Memgraph Platform for Another Year of High Performance Graph Analysis

Start next year with a whole new range of features and graph algorithms to gain insights that will make it a happy year indeed! Developed features include improved security, benchmark tests, projected graph visualization, better code suggestion support, C++ API, node classification and link prediction, to name just a few.

Marko Budiselic
December 13, 2022
Machine Learning
Memgraph MAGE
Run Link Prediction or Node Classification Algorithms and Write Custom Procedures in C++ With Mage 1.4

The new version of Memgraph’s open-source graph extension library, MAGE, now supports node classification and link prediction algorithms. Install the new version of MAGE if you would like to write custom algorithms faster by using the C++ API, need the igraph algorithms or k-means clustering.

Antonio Filipovic
December 6, 2022
Graph Databases and PHP & Vaccine Distribution With Graphs

Join a number of graph enthusiasts on the last Graph Data Zagreb meetup in 2022.!

Petra Marusic
November 24, 2022