Implement the share placement algorithm
Tahoe-LAFS uses relatively stable stateless ordering algorithm for server preference when placing or retrieving shares. This lets it distribute shares uniformly (over a large enough number of uploads) and find them again when it needs to download them.
For efficiency it is preferable for all implementations to use the same algorithm. This means that shares will be where each implementation expects to find them, reducing discovery round-trips.