# Relevancy of Old article

**URL:** <https://discuss.elastic.co/t/relevancy-of-old-article/274622>\
**Category:** Elasticsearch\
**Created:** [June 1, 2021, 11:20am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622 "2021-06-01T11:20:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sj123](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sj123](https://discuss.elastic.co/u/sj123)\
**Post date:** [June 1, 2021, 11:20am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/1 "2021-06-01T11:20:40Z")

</div>

Hi, I am quite new to elasticsearch. I have been reading this article [Elasticsearch as a NoSQL Database | Elastic Blog](https://www.elastic.co/blog/found-elasticsearch-as-nosql)[Elasticsearch as a NoSQL Database]([https://Elasticsearch](https://Elasticsearch) as a NoSQL Database). This was posted in 2013. Do the concepts explained in this article still hold?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 1, 2021, 12:02pm UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/2 "2021-06-01T12:02:20Z")

</div>

I think most high-level concepts still are valid, although a lot of work has gone into improving resiliency since then. Are there any particular concepts you are wondering about?

---

<div class="post-metadata">

**Author:** ![sj123](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sj123](https://discuss.elastic.co/u/sj123)\
**Post date:** [June 3, 2021, 7:12am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/4 "2021-06-03T07:12:08Z")

</div>

Thank you for the response.  
One concept is the Robustness section. Specifically this part: " _Unfortunately, Elasticsearch (and the components it's made of) does not currently handle `OutOfMemory` -errors very well. We cover this in more depth in [Elasticsearch in Production, OutOfMemory-Caused Crashes](https://www.elastic.co/blog/found-elasticsearch-in-production/#outofmemory-caused-crashes). It is very important to provide Elasticsearch with enough memory and be careful before running searches with unknown memory requirements on a production cluster._ "  
I initially tried setting up elasticsearch in a machine with 8gb ram and found that it is not possible. I had to to take 16 gb ram but I am still left with 4gb free memory. How does one determine how much memory do you need for elasticsearch?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 3, 2021, 7:49am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/5 "2021-06-03T07:49:38Z")

</div>

Memory management and protection against Running out of heap space has improved a LOT since that was written. Elasticsearch now behaves a lot better and uses less heap than it used to.

---

<div class="post-metadata">

**Author:** ![sj123](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sj123](https://discuss.elastic.co/u/sj123)\
**Post date:** [June 4, 2021, 6:41am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/7 "2021-06-04T06:41:21Z")

</div>

Suppose there is an api where I store against the user , a count of the total api consumption. This would be useful as we can apply restrictions on maximum api calls to be made by the user. Does it make sense to store the count in elasticsearch?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 4, 2021, 6:43am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/8 "2021-06-04T06:43:24Z")

</div>

I am not sure I understand the question. How is this related to the initial topic?

If this is an unrelated question I would recommend creating a new thread and provide more details about the use case.

---

<div class="post-metadata">

**Author:** ![sj123](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sj123](https://discuss.elastic.co/u/sj123)\
**Post date:** [June 4, 2021, 7:13am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/10 "2021-06-04T07:13:36Z")

</div>

I asked that question as it is a use case where the operation is not a "write once read many workload". In the above article [Elasticsearch as a NoSQL Database | Elastic Blog](https://www.elastic.co/blog/found-elasticsearch-as-nosql), it is mentioned that elasticsearch is useful for write once read many workload.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 4, 2021, 7:14am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/11 "2021-06-04T07:14:26Z")

</div>

If you have a use case with very frequent updates to documents I am not sure Elasticsearch is a natural choice. That is not what it has been optimised for.

---

<div class="post-metadata">

**Author:** ![sj123](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sj123](https://discuss.elastic.co/u/sj123)\
**Post date:** [June 4, 2021, 7:16am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/13 "2021-06-04T07:16:07Z")

</div>

Is there any useful metric that quantifies this frequency? What is the numerical upper limit that says that elasticsearch is not useful in this case?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 4, 2021, 7:35am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/14 "2021-06-04T07:35:19Z")

</div>

No, not that I am aware of. You will likely need to test/benchmark as it likely depends on a number of factors.

If you need to manage counters with a high update rate I would expect something like e.g. Redis to be a good option.

---

<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 2, 2021, 7:35am UTC](https://discuss.elastic.co/t/relevancy-of-old-article/274622/15 "2021-07-02T07:35:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
