# seeking entity (quantity) limit guidelines?

**URL:** <https://community.cesium.com/t/seeking-entity-quantity-limit-guidelines/3560>\
**Category:** CesiumJS\
**Created:** [January 13, 2016, 8:09pm UTC](https://community.cesium.com/t/seeking-entity-quantity-limit-guidelines/3560 "2016-01-13T20:09:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirk\_A](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kirk\_A](https://community.cesium.com/u/Kirk_A)\
**Post date:** [January 13, 2016, 8:09pm UTC](https://community.cesium.com/t/seeking-entity-quantity-limit-guidelines/3560/1 "2016-01-13T20:09:36Z")

</div>

Are there any guidelines (published or working) for the population limits or entities? We are working to establish some boundaries that will influence design choices for the distillation and presentation of data within Cesium.

I have experimentally allocated entity points until [browser] failure [using chrome]. Ditto polyline segments, and polygon rectangles. These experimental results help, but we would welcome further feedback for these limits from Cesium’s design perspective…

Thank you,

-Kirk

---

<div class="post-metadata">

**Author:** ![Yonatan\_Kra](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/yonatan_kra/32/2298_2.png) [@Yonatan\_Kra](https://community.cesium.com/u/Yonatan_Kra)\
**Post date:** [January 14, 2016, 12:24pm UTC](https://community.cesium.com/t/seeking-entity-quantity-limit-guidelines/3560/2 "2016-01-14T12:24:36Z")

</div>

Hi Kirk,  
We’ve managed a few thousands (up to around 20,000) - depending on the machine running cesium on.

According to Patrick here: [https://groups.google.com/forum/embed/?place=forum%2Fcesium-dev&showsearch=true&showpopout=true&hideforumtitle=true&fragments=true&parenturl=http%3A%2F%2Fcesiumjs.org%2Fforum.html#!topic/cesium-dev/PHUVh0p3NlU](https://groups.google.com/forum/embed/?place=forum%2Fcesium-dev&showsearch=true&showpopout=true&hideforumtitle=true&fragments=true&parenturl=http%3A%2F%2Fcesiumjs.org%2Fforum.html#!topic/cesium-dev/PHUVh0p3NlU), 5000 entities is a lot.

I’m surprised myself I got to 20,000 with minor optimization, but then again, that was on a very strong machine. Older machines (i.e. i5 with only 2GB of vCard memory) had a real hard time handling 5000 and more. Most older machines crashed before that.

Would be happy to know your numbers as well (as well as machine spec) so we could gather community experience on that issue.

---

<div class="post-metadata">

**Author:** ![Kirk\_A](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kirk\_A](https://community.cesium.com/u/Kirk_A)\
**Post date:** [January 14, 2016, 4:12pm UTC](https://community.cesium.com/t/seeking-entity-quantity-limit-guidelines/3560/3 "2016-01-14T16:12:19Z")

</div>

First, the answers. Then, the rationale.

Using a healthy desktop with 16GB memory, and an nVidia GT720 card, I was able to map over 40,000 point entities. As expected, they drew as they were created within a tick callback. My experience with more complicated structures was quite the opposite. Polyline segments and polygon rectangles both failed between 2000 and 3000 entities.

Why is this a concern? “Big data”. Some folks want to plot oodles of stuff. But it appears that a distillation process may be required in order to keep the entity quantity manageable.

---

<div class="post-metadata">

**Author:** ![Yonatan\_Kra](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/yonatan_kra/32/2298_2.png) [@Yonatan\_Kra](https://community.cesium.com/u/Yonatan_Kra)\
**Post date:** [January 14, 2016, 4:54pm UTC](https://community.cesium.com/t/seeking-entity-quantity-limit-guidelines/3560/4 "2016-01-14T16:54:02Z")

</div>

Yea, my entities are a bit complex. Each has a label, billboard and some  
geometry (or geometries).  
We're showing big data as well. I do have a clustering algorithm that might  
help you. It's hard for me to get things out of the work computer since it  
is not connected to the internet, but I could try and enhance it when I  
have the time (or if you want, you can share your ideas).  
Here's the explanation, code and examples for the clustering algorithm.  
With it, you should be able to show more data.  
The next step would actually be to use web workers to do the clustering.  
Shouldn't be much of an issue, since the clustering algorithm already  
exists, just need to the time to actually do it.

> **[Cesium Clustering](https://blog.webiks.com/cesium-clustering/)**
>
> Clustering is the task of grouping a set of objects in such a way that objects in the same group (called a cluster) are more similar (in some sense or another) to each other than to those in other …
