The new Mutual Following feature was written in less than 100 LoC total for both the backend and mobile app.
Here's how we did it:
1) API invokes a new FollowerService method which is a redis zinterstore set of account ids that are hydrated on the controller and returned as an array of Account objects (max 24)
2) The mobile app uses the simple Fisher-Yates algorithm to shuffle and return 3 accounts which are displayed on profiles
Less than 1 hour of work for an exceptional feature, not bad 😎





