# Distributed RGL for Multiple mongrels

**URL:** <https://www.ruby-forum.com/t/distributed-rgl-for-multiple-mongrels/138721>\
**Category:** Rails\
**Created:** [May 27, 2008, 8:23am UTC](https://www.ruby-forum.com/t/distributed-rgl-for-multiple-mongrels/138721 "2008-05-27T08:23:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgudibanda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Post date:** [May 27, 2008, 8:23am UTC](https://www.ruby-forum.com/t/distributed-rgl-for-multiple-mongrels/138721/1 "2008-05-27T08:23:14Z")

</div>

Hi

I am using RGL library to create a graph which i use in my app. Graph is  
built for once at startup and is updated at times based on actions that  
enforce add\_edge/remove edge. I need to traverse this graph for  
specific user actions and this traversal is unique for each user.

With mongrel cluster, i ran into issues. Only one of the mongrels had  
GRAPH initialized and rest have nil.

How do i avoid this situation? Few proposed memcached as the only way to  
share data across mongrels. Has anyone used memacached for RGL? how?

Please suggest.

Sandeep G
