A complex example
#################
# Need to get # ############################## ###############
# things done # # Ventilator # # Worker #
#---------------# #----------------------------# #-------------#
# .----------. # # .---------. .---------. # .->#.----..-----.#---.
# | control | # # | control | | fan | # | #| in || out |# |
# |----------| # # |---------| |---------| # | #'----''-----'# |
# | REQ | #--.--->| ROUTER | | PUSH |----.-. ############### |
# | connect | # | # | bind | | bind | # | | |
# '----------' # | # '---------' '---------' # | | ############### |
# # | # # | | # Worker # |
# # | # # | | #-------------# |
################# | # # | '->#.----..-----.#--.|
| # .---------. # | #| in || out |# ||
################# | # | sink | # | #'----''-----'# ||
# Need to get # | # |---------| # | ############### ||
# things done # | # | SUB | # | ||
#---------------# | # | bind | # | ############### ||
# .----------. # | # '---------' # | # Worker # ||
# | control | # | # ^ # | #-------------# ||
# |----------| # | ###############|############## '--->#.----..-----.# -.|
# | REQ | #--' | #| in || out |# ||
# | connect | # | #'----''-----'# ||
# '----------' # | ############### ||
# # '--------------------------------------'|
# # '--------------------------------------'|
################# '---------------------------------------'