VOOZH about

URL: https://thenewstack.io/linkedins-real-time-graph-database-is-liquid/

⇱ LinkedIn's Real-Time Graph Database Is LIquid - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-05-02 08:00:25
LinkedIn's Real-Time Graph Database Is LIquid
sponsor-kinetica,sponsored-topic,
Data / Operations

LinkedIn’s Real-Time Graph Database Is LIquid

"We needed it to be on the Daytona 500 side of the graph databases," LinkedIn Chief Architect for LIquid tells The New Stack.
May 2nd, 2023 8:00am by Joab Jackson
👁 Featued image for: LinkedIn’s Real-Time Graph Database Is LIquid

Everything that LinkedIn knows about the global economy is kept in a single graph database, all on working memory.

“The Economic Graph, is our digital representation of the global economy that we use to answer questions about and provide insights into the dynamics of the global workforce and job market,” wrote LinkedIn’s Director of Engineering Dr. Bogdan Arsintescu in a blog item posted Tuesday.

Arsintescu is the chief architect of LIquid, the real-time graph database system powering the Economic Graph. His post discusses this latest — the fourth generation — of LinkedIn’s graph database system.

LinkedIn has always had a unique set of requirements for a graph system, based on its unique requirements of scale and throughput, he explained, in a follow-up interview with TNS.

This Graph is massive, with over 270 billion connected entities, and it expands every time someone joins the service and adds their own info: forever joining their schools, skills, companies, positions, jobs, events, groups, to others with the same background. This allows users keep up with peers (how you learn about, say, an esteemed colleague starting his own media company).

More importantly, though, the Graph is also geared towards the “second-degree connections,” vital for networking opportunities of all sorts. “The magic of LinkedIn is in the second degree,” Arsintescu explained.

In addition to hosting the enormity of this entangled glob of interconnectedness, this database system must field 2 million queries a second. And Arsintescu expects that number to double in the next 18 months.

At that speed, the entire graph needed to be in memory, as a single homogenous set. It couldn’t be parsed off to analytics. “We needed it to be on the Daytona 500 side of the graph databases, to be extremely fast and able to scale to the size of LinkedIn,”  Arsintescu explained to TNS.

Kinetica is the real-time database platform that leverages generative AI and vectorized processing to let you ask anything of your sensor and machine data. Kinetica offers native vectorized analytics in generative AI, spatial, time-series, and graph.
Learn More
The latest from Kinetica

Running a Giant Graph

Like many social networking concerns, LinkedIn has found the graph database to be a necessary component to connect users with their interests across the globe. Unlike most organizations, however, LinkedIn keeps its entire graph in working memory, thanks to a unique design.

LIquid is the database system delivering this real-time graph, one that can easily scale to ten times its existing size, while maintaining 99.99% availability. It boasts of “new database indexing techniques that made online querying of the data possible,” including connections only a few seconds old. One technique: Triples, the fundamental connective tissue of the graph, get indexed.

To provide the much-need memory, the system both scales up and scales out, sharing memory across servers, but also packing as much memory in per server as possible.

The Graph is held in a Replica, built on a cluster that can be 20-40 or so servers, each with a TB or more of RAM. Each Replica is capable of serving a number of queries per second (QPS). Thus the system’s throughput of QPS can be increased by adding more Replicas.

While confident of the Economic Graph footprint’s scalability, Arsintescu is nonetheless looking at ways to break apart what is now one gigantic homogeneous set of data, he revealed in the blog post. Not all data is equally important; it doesn’t get consulted as much. Nor does all data need to be accessed in real-time. So, to cut costs, research here is going on around tiered storage and workload optimization.

👁 Image

Graph For Developers

“Our primary client for this graph database inside LinkedIn is the developer,” Arsintescu explained.

For developers, the system provides a declarative query language based on Datalog, a deductive database programming language. It is composable; developers can build modules to better find their preferred data.

Also, A/B testing should be a breeze: A new experiment could be started just by changing the query parameters. “This system only generates the necessary data, minimizing the required compute resources,” Arsintescu reports.

Work is also ongoing in add more nuance and built-in sophistication into the querying process, such as creating algorithmically or ML-based derived data, as well as with “improved reasoning.”

Currently, LinkedIn has no plans to release LIquid as open source in any form. Nor does it have immediate plans to commercialize the technology, though is looking into ways it could be used elsewhere at Microsoft.

Kinetica is the real-time database platform that leverages generative AI and vectorized processing to let you ask anything of your sensor and machine data. Kinetica offers native vectorized analytics in generative AI, spatial, time-series, and graph.
Learn More
The latest from Kinetica
TRENDING STORIES
Joab Jackson is a senior editor for The New Stack, covering cloud native computing and system operations. He has reported on IT infrastructure and development for over 30 years, including stints at IDG and Government Computer News. Before that, he...
Read more from Joab Jackson
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.