On 06/10/2013 10:37 PM, Fred&Dani&Pandora&Aquiles wrote:
If you do this as an academic exercise, then I'd recommend thinking in "messages" only.
Separate out the message delivery entirely from your core design.
This makes the whole concept much simpler and more generic.
Message delivery can be made almost instantaneous in case of threads
or to take a few tens of microseconds to several seconds
between different physical nodes
Which speed is "fast enough" depends entirely on your query - for a query
running 5 hours on single CPU and 5 minutes on a cluster, message
delay of 50 ms is entirely acceptable
--
Hannu Krosing
PostgreSQL Consultant
Performance, Scalability and High Availability
2ndQuadrant Nordic OÜ