In the PayPal Developer Zone, John Wheeler explains how to create an MLM Engine using Neo4j. He explains different MLM models, introduces basic graph concepts, then demonstrates how to map an MLM onto a graph to power the compensation engine.

A Multi-level Marketing (MLM) Engine allows compensation to be easily calculated despite the complex hierarchy of a sales network.

In John Weeler’s firs
t part of Build[ing] an MLM Engine with Neo4j and MassPay, he covers multi-level marketing and how the structure best fits within a graph.

He dives into building an MLM engine, then explains traversing the graph within the engine.

He concludes by giving us a sneak peaks as to what to e
xpect from the second part of the blog series:

“In the next part of this article, we [will] pay downline commissions with MassPay using the builder pattern to make it easier.”

. We love posts like these that show how graphs solve our complex and connected challenges.

Want to learn more about graph databases? Click below to get your free copy of O’Reilly’s Graph Databases ebook and discover how to use graph technologies for your application today.

Download My Ebook



Interesting, I'm sure this comes in handy for some of the more complex plans and deep organizations. I tend to think more binary and forced matrix comp plans are emerging, but there are still a lot of distributors who have to run a lot of numbers. Thanks.

Aiden Huxham says:

Great post! Very interesting. I will bookmark this and share it to all my friends. 🙂

We carry name brand ground effects and body kits for all sport compact cars and trucks. Browse our large selection of Ground Effects, we carry thousands of ground effects / body kits for hundreds of vehicles. Clean urethane lip kits to aggressive full replacement poly urethane bumpers. Select your car and take a look at our exclusive selection. Ground Effects is your source for your ground

Ravi says:

I’m unable to open the link to Read the full article. Does any one see issues with it ?

Leave a Reply

Your email address will not be published. Required fields are marked *