[Bre17] P.Brémaud. Discrete Probability Models and Methods. Springer (2017).
[FS09] P.Flajolet, R.Sedgewick. Analytic Combinatorics. Cambridge University Press (2009).
[MU95] M.Mitzenmacher, E.Upfal. Probability and computing: randomized algorithms and probabilistic analysis . Cambridge University Press (1995).
Ref: Chap.6 in [MU95].
The general model: we put $n$ balls uniformly at random into $r$ bins.
Reference for this lecture: [FS09] p.111-118.
Ref: Sec.5.4.[MU95]
A short introduction do streaming algorithms: Chap.6 (Filtering and Streaming) in Jeff Erickson.