Hash strings into numbers and then mod them into buckets