Is there a limit on the number of objects in a container ?

asked 2019-07-04 09:20:00 -0600

Hiryu gravatar image


I would like to know whether there is a limit on the number of objects in a container. I've seen this post ( but it is a bit old. It seems that the performance issue mentioned was due to the use of sqlite.

On a performance perspective is it an issue to store 1M, 10M objects in a single container ?

If so what are the API calls that are affected (get an object, put an object, listing objects) ?


edit retag flag offensive close merge delete


At Queens or Rocky, Swift introduced container sharding, which allows spreading the load. See documentation and this blog entry.

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-04 19:31:22 -0600 )edit

Thanks! It is exactly what I was looking for.

Hiryu gravatar imageHiryu ( 2019-07-05 00:01:04 -0600 )edit