# Extremely long time to create/delete alias

**URL:** <https://discuss.elastic.co/t/extremely-long-time-to-create-delete-alias/17543>\
**Category:** Elasticsearch\
**Created:** [May 15, 2014, 7:32pm UTC](https://discuss.elastic.co/t/extremely-long-time-to-create-delete-alias/17543 "2014-05-15T19:32:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![E\_A\_Graham\_Jr](https://avatars.discourse-cdn.com/v4/letter/e/a587f6/32.png) [@E\_A\_Graham\_Jr](https://discuss.elastic.co/u/E_A_Graham_Jr)\
**Post date:** [May 15, 2014, 7:32pm UTC](https://discuss.elastic.co/t/extremely-long-time-to-create-delete-alias/17543/1 "2014-05-15T19:32:26Z")

</div>

Currently using ES 1.0.1 with 3 masters, 4 data nodes, and 2 "query" (REST  
endpoints) nodes.

1. We are using aliases to apply routing to our queries
2. We have multiple "ingesting applications", each supporting a  
different index (currently 10)
  - Each uses NodeClient to connect to the ES cluster

  1. Each index has the same number of aliases (prefix matches index,  
suffix is identifier) - around 2000

3. Our environment ends up triggering large numbers (\>20) of alias  
creation/deletions
  - Each "ingesting application" creates/deletes the aliases linearly

  1. Observed by logging and profiling, it takes up to _15 seconds_ for  
an alias to be created

Is this expected? Are we expecting too much from this particular operation?  
Is there some thread/queue somewhere that can be tweaked?

Thanks...

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/44a30d46-d86e-4615-91ef-767e8d6036a8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/44a30d46-d86e-4615-91ef-767e8d6036a8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:29am UTC](https://discuss.elastic.co/t/extremely-long-time-to-create-delete-alias/17543/2 "2017-07-06T01:29:04Z")

</div>


