spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nilmish <>
Subject Efficient implementation of getting top 10 hashtags in last 5 mins window
Date Thu, 15 May 2014 08:33:18 GMT
I wanted to know how can we efficiently get top 10 hashtags in last 5 mins
window. Currently I am using reduceByKeyAndWindow over 5 mins window and
then sorting to get top 10 hashtags. But it is taking a lot of time. How can
we do it efficiently ?

View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message