A story of a memory leak in GO: How to properly use time.After()

00GeneralTags: ,

Recently, we decided to investigate why our application ARANGOSYNC for synchronizing two ArangoDB clusters across data centers used up a lot of memory – around 2GB in certain cases. The environment contained ~1500 shards with 5000 GOroutines. Thanks to tools like pprof (to profile CPU and memory usage) it was very easy to identify the issue. The GO profiler showed us that memory was allocated in the function time.After() and it accumulated up to nearly 1GB. The memory was not released so it was clear that we had a memory leak. We will explain how memory leaks can occur using the time.After() function through three examples.

More info

A Deep And Fuzzy Dive Into Search

00General

Together with my team, I took a deep dive into the available fuzzy search approaches and algorithms for quite a while, in order to find a performant solution for the various projects ArangoSearch gets used for. 

Since the introduction of ArangoSearch back in 2018, many of our users have asked for fuzzy search support. We worked hard on getting this done, and the whole team is now excited to finally make fuzzy search available with the upcoming ArangoDB 3.7.

In the following, we will share our learnings and hope they are useful for you.

More info

Do Graph Databases Scale? Yes? No? Let’s see!

00cluster, General, Graphs, Performance

Graph Databases are a great solution for many modern use cases: Fraud Detection, Knowledge Graphs, Asset Management, Recommendation Engines, IoT, Permission Management … you name it. 

All such projects benefit from a database technology capable of analyzing highly connected data points and their relations fast – Graph databases are designed for these tasks.

But the nature of graph data poses challenges when it comes to *buzzword alert* scalability. So why is this, and are graph databases capable of scaling? Let’s see…

More info

ArangoDB 3.7 BETA – Graph & Search Engine Upgrades

00General

After many weeks of designing, implementing, and testing we are happy to announce that all the exciting features are now in place for ArangoDB 3.7. We are proud to share a 3.7 Beta 1 preview release, which provides an opportunity for you to try out all upcoming features before the final release. On the ArangoDB technical preview page you’ll find the Beta 1 packages for the Community and Enterprise Editions, so you can install, play and test locally. 

More info

Red Hat Certifies ArangoDB Kubernetes Operator

10Graphs, Kubernetes

Hi all!

I think this year has thrown us for quite a loop, full of unexpected occurrences, both joyous and difficult. With everything going on in the world at the moment, we feel it’s more important than ever to celebrate what you can .

So with that, just a quick note from us that our Kubernetes Operator has achieved Red Hat OpenShift Operator Certification. And as far as we can tell, this means we are the first graph database to reach full certification for Red Hat OpenShift. Huzzah!

More info

ArangoDB is Open Source

We code transparently on GitHub.
Support & join us there.
Become a Stargazer
close-link