Giter Site home page Giter Site logo

netflix-graph's Introduction

NetflixGraph

NetflixGraph is a compact in-memory data structure used to represent directed graph data. You can use NetflixGraph to vastly reduce the size of your application’s memory footprint, potentially by an order of magnitude or more. If your application is I/O bound, you may be able to remove that bottleneck by holding your entire dataset in RAM. This may be possible with NetflixGraph; you’ll likely be very surprised by how little memory is actually required to represent your data.

NetflixGraph provides an API to translate your data into a graph format, compress that data in memory, then serialize the compressed in-memory representation of the data so that it may be easily transported across your infrastructure.

Artifacts

The NetflixGraph binaries are published to Maven Central.

GroupID/Org ArtifactID/Name Latest Version
com.netflix.nfgraph netflix-graph 1.5
    ...	
    <dependency>
    	<groupId>com.netflix.nfgraph</groupId>
    	<artifactId>netflix-graph</artifactId>
    	<version>1.01</version>
    </dependency>
    ...

Features

A quick overview can be found either on the wiki or on the Netflix Tech Blog.

Since the blog article was published, a number of improvements have been made:

  • contains() operations on connection sets are no longer necessarily O(n). Some memory-efficiency can be sacrificed to obtain O(1) performance.
  • The library will automatically switch from the default encoding to bit set encoding if it is more memory efficient.
  • Interfaces have been added to efficiently map Objects to ordinals.

Documentation

Detailed documentation of NetflixGraph's features and usage can be found on the wiki.

Javadocs are available here.

Build

NetflixGraph is built via Gradle (www.gradle.org). To build from the command line:

./gradlew build

Support

Support can be obtained through the NetflixGraph google group

netflix-graph's People

Contributors

dkoszewnik avatar rspieldenner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.