22g baskets are used either to make thick espresso with darker roasts, or to make ristrettos from lighter roasts that otherwise would be too sour or have taste defects. This will tend to make a shot with 22g of beans and 20g to 30g of espresso in the cup. If you are using a 9 bar espresso machine with very light beans and tend to get sour espressos or unpleasant flavors, you should consider a 22g basket and making this style of ristretto shot. Such a large dose will also help you avoid channeling, especially in fast paced cafe environments.
This large basket size generally only fits in a bottomless portafilter, though spouted portafilters from La Marzocco, Synesso, and Nuova Simonelli usually work.