An integrated efficient solution for computing frequent and top- k elements in data streams | Synapse