AlgoViz

Synchronous communication

easy 24 min

In synchronous communication the caller sends a request and needs the response before that piece of work can go on.

What each level should show

The same question is judged differently for mid, senior and staff.

  • Mid

    Must show

    • Defines synchronous and gives examples
    • Adds up a chain's delay
    • Sets timeouts

    Will be probed on

    • Parallel calls
    • When to queue instead

    Stands out

    Separates waiting for a result from blocking a thread.

  • Senior

    Must show

    • Uses Little's law for pools
    • Bulkheads and breakers
    • Knows percentiles do not add

    Will be probed on

    • Cascading failure
    • Partial results

    Stands out

    Draws the dependency graph and shortens its longest path.

  • Staff

    Must show

    • Decides which edges are synchronous across a system
    • Availability budgets over chains
    • Migration from chain to events

    Will be probed on

    • Team ownership
    • Operating cost of messaging

    Stands out

    Removes a synchronous dependency by moving data, not by tuning.