Re: Protocol Message Graph

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Agent M <agentm(at)themactionfaction(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Protocol Message Graph
Date: 2006-04-23 22:43:30
Message-ID: 20060423224330.GI4775@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Agent M wrote:
> I have created a directed graph using graphviz that shows the message
> flow/event stream. Perhaps this will be helpful to someone. Of course,
> corrections are also welcome.

Interesting. I'm not sure how to read the graph however -- for example
what does it mean to have ReadyForQuery in both a rectangle and an
ellipse? What do the standalone boxes mean? (e.g. the SSLRequest and
CancelRequest? and why are they wrapped in two boxes? why
Close/CloseComplete appear from nowhere and they don't lead anywhere?)

Maybe it would make more sense to have a graph of states, and the edges
would indicate what messages are sent to change from one state to
another.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-04-23 23:09:46 Re: Please advice TODO Item pg_hba.conf
Previous Message Alvaro Herrera 2006-04-23 22:39:41 Re: Question about dependency functions in the backend