# Question on scalability

**URL:** <https://www.ruby-forum.com/t/question-on-scalability/53127>\
**Category:** Ferret\
**Created:** [January 26, 2006, 1:15am UTC](https://www.ruby-forum.com/t/question-on-scalability/53127 "2006-01-26T01:15:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Chan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@Joseph\_Chan](https://www.ruby-forum.com/u/Joseph_Chan)\
**Post date:** [January 26, 2006, 1:15am UTC](https://www.ruby-forum.com/t/question-on-scalability/53127/1 "2006-01-26T01:15:52Z")

</div>

Hi all,

I’ve had a lot of fun over the last couple of days integrating Ferret  
with  
my Rails app. Many thanks to Dave Balmain for writing this.  
Everything  
seems to work well and my site now has full search capabilities. But  
I’m  
wondering how I can scale my site now?

What would be the recommended approach in terms of sharing indexes  
across  
multiple servers? Is the solution to use a shared filesystem? Is  
it ok  
for multiple applications to update the indexes concurrently?

Thanks,

Joe

---

<div class="post-metadata">

**Author:** ![Joseph\_Chan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@Joseph\_Chan](https://www.ruby-forum.com/u/Joseph_Chan)\
**Post date:** [January 26, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/question-on-scalability/53127/2 "2006-01-26T14:42:17Z")

</div>

Joseph Chan wrote:

> What would be the recommended approach in terms of sharing indexes  
> across  
> multiple servers?

I’d try using a DRb server for the index. It’s very easy to implement  
and should avoid locking problems.

> Is the solution to use a shared filesystem? Is  
> it ok  
> for multiple applications to update the indexes concurrently?

In my experience, no. I often had problems with stale lockfiles and  
other weird behaviour, and I found it much more reliable to use only one  
writing process.
