# Turning off gateway

**URL:** <https://discuss.elastic.co/t/turning-off-gateway/9894>\
**Category:** Elasticsearch\
**Created:** [November 29, 2012, 6:28pm UTC](https://discuss.elastic.co/t/turning-off-gateway/9894 "2012-11-29T18:28:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jae/32/791_2.png) [@Jae](https://discuss.elastic.co/u/Jae)\
**Post date:** [November 29, 2012, 6:28pm UTC](https://discuss.elastic.co/t/turning-off-gateway/9894/1 "2012-11-29T18:28:32Z")

</div>

Is there anyone who experimented how much turning off gateway increased  
indexing performance?

I tried to analyze source code shortly. If I use FS storage type, what  
exactly does gateway do? All indices are being stored already in the disk.

Thank you  
Best, Jae

--

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [November 30, 2012, 4:02pm UTC](https://discuss.elastic.co/t/turning-off-gateway/9894/2 "2012-11-30T16:02:16Z")

</div>

Hello Jae,

The gateway makes sure your data persists across full cluster restart. So  
if you use a shared gateway (like FS), you can store your indices in memory  
safely, and you'll still be able to recover your data if the whole cluster  
goes down.

That said, the recommended way to go is local gateway, since you only store  
the data in once place - the file system of each node.

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Thu, Nov 29, 2012 at 8:28 PM, Jae [metacret@gmail.com](mailto:metacret@gmail.com) wrote:

> Is there anyone who experimented how much turning off gateway increased  
> indexing performance?
> 
> I tried to analyze source code shortly. If I use FS storage type, what  
> exactly does gateway do? All indices are being stored already in the disk.
> 
> Thank you  
> Best, Jae
> 
> --

--

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:01am UTC](https://discuss.elastic.co/t/turning-off-gateway/9894/3 "2017-07-06T03:01:58Z")

</div>


