Are there any best practices around the size of an...
# community-help
j
Are there any best practices around the size of an indexed array? Is an array of size 100 considered "too big"? 1000, 10000, 100000? Very curious if anyone has done any work profiling the costs (memory, $$$, latency) of an array as it scales in size.
a
Hey Jeff, It really depends on the operation you're planning to perform on this array. For example, filtering would require traversing the entire array, and depending on the size, it could become quite resource-intensive. However, if you're working with this array for visualization purposes, the main consideration would be ensuring it fits within your available RAM limits (10.000 items in an array per document will consume quite the amount of memory). Bottomline, i'd recommend benchmarking it for your specific use-case
j
Thanks!