Can i be more performant with my implementation?

Posted by admin

Yes you can, You can register an access type or stream and create your own query, joining node and/or user instead of wanting to load them afterwards. You can even extends the HeartbeatActivity object (MyActivityObject) and thus add member properties to it. In fact you extend every class in heartbeat and let everything go your way. Check organic groups implementation on how to totally alter the query and activity result sets.