Thankfully sharding works great for a large number of applications (or in other cases you can accept eventual consistency).