Varnish State Machine — конечный автомат, описывающий процесс обработки каждого приходящего
запроса.
В упрощенном варианте обработка запроса проходит как показано на диаграмме, приведенной ниже:
Сама стейт-машина Varnish выглядит примерно следующим образом (постепенно дорабатывается):
3V1Zj6M6Fv41Jd15qBaE/bGru2bmZaSRaqSZeWoRMAlqEtKEVFfdX39tOIfFNmSzCUlekhjHwFm/s5g8Wd82H/8owt36X3lMsqeFEX88Wd+fFgvTtmz6xkY+6xF/4dQDqyKNYVI78Jb+SWDQgNFDGpN9b2KZ51mZ7vqDUb7dkqjsjSV5BqeAxXbhCpdvB96iMBNH/5vG5RpGTTdoD/yTpKs1nMdfuPWBffmJa8QkCQ9Z+VwN0WPs8CZs1qoHPgz4Gnj1wGczgGfa9n7wZ55vegMF2be0gttN+7e/Dd97d7/Mi5gUvaEs3f7s0tF6pbws8pwuxD5tPr6RjPETWeUmVpx4gRWSJPKWhvVcr/P3U6c3BC7IFi722iWBxO9hdgByvEfZj4JE708LN6MneYlT9nHFPv5RkF9/w3F6ks4hgZH0vFTI6JeX3+u0JG+7MGJHflM5p2PrcpPRb2bzy3dSlATF/oTbbOlNdYfkG1IWn0wy6unOwgLBqL8HoDW/W7H0gYfrrkDCWAhMXTULtySlH4CqJ1IYroSj8C7dkXnRzDPnQzM0XxzR1uF+/UhiuXBuSWO4H47Gm3S/nxfVXG9OVJMbTEqVeYuadVN1hnPzNjCcm6hZrj8jUQN0xFFt/7mllzJrstnuLckGmJAjG0XWKb1rmftYEgoHd3fhQXhKOwGQ8BaURhjcofQItTqU2a9Din6s7/syLMq3MizZ8STNsm95ltcQ2zKqF5tcFvlP0jmSJHBEi7NZcBZApK8loS+OqaWv6KFF+sY0BIOveVGu81W+DbPXdrRLd0aqlMZrX7N0xQKkZV6WLDB6Idv4a1Hkv9kiO0IPsRGIJn0ZDxruUDoXn/+D9asv/6dfqiMfackOGF8c+MaOsGlFftjGhN11qybsPs7kIaVDfigq5RuTTipjKzK0UEVQURgKkoUlNRe9K5LxFn767zyl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oZcFXVfr+8XuVfK02AdVqaOtRA595piatm+sXKrVGmcZBAZ9YrjvR5YfuejeH/E5HqcUFad6AIFAdy2P8ZzH1jdJKKD8gRsXQRPTQCWXZ7iP/wA3e14ITujX9i9k6untfwNZr38B
Полезные ссылки:
UPD
Последнее время сайт http://www.emanuelis.eu бывает переодически не доступен,
так что прикрепил схему.