Get the latest tech news

How much memory does a graph take?


We need a fast way to query multiple potentially large sets of data on-demand at interactive speeds. Sometimes the easiest solution to a hard problem is to build the right tool for the job.

The system scales and handles millions of users without breaking a sweat, the ScyllaDB-backed Data Plane service sits at under 5% DB load in the most intense production workloads, and things are going great. Compared to a solution that depends on Redis sets, we’re able to utilize multiple CPU cores to handle requests since we leverage RWLocks that don’t force sequential access for reads. Under a realistic throughput (but worst-case query) production load we keep p99s of under 1ms and consume 0.5 CPU cores while memory utilization trends slowly upward with the growth of the follow graph (+16MiB over 5 hours).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Memory

Memory

Photo of graph take

graph take

Related news:

News photo

NASA tries to jog Voyager 1's memory from 15 billion miles away

News photo

New technique sheds light on memory and learning

News photo

Galaxy Z Flip 6 might grab a better cover display and more memory