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

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

Hiryu gravatar image

Hi,

I would like to know whether there is a limit on the number of objects in a container. I've seen this post https://stackoverflow.com/questions/17610660/in-swift-how-many-objects-can-a-container-hold (https://stackoverflow.com/questions/1...) 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) ?

Regards,

edit retag flag offensive close merge delete

Comments

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 -0500 )edit

Thanks! It is exactly what I was looking for.

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