This repo contains an example of Inline Map function that has issues with payload limit. And Distributed Map example as a remedy for that payload limit.
It is just and example of use-case for Distributed Map, and it supports much more feature you can leverage of.
Medium article: Next level performance with Distributed Map!