From: | "Fred&Dani&Pandora&Aquiles" <fred(at)nti(dot)ufop(dot)br> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Parallell Optimizer |
Date: | 2013-06-10 20:37:11 |
Message-ID: | CACcJavBYROct5SU=W6iFWK+tW7xDWfoWDGuGMyG2JDJRN0coSw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
> >> I asked a while ago in this group about the possibility to implement a
> >> parallel planner in a multithread way, and the replies were that the
> >> proposed approach couldn't be implemented, because the postgres is not
> >> thread-safe. With the new feature Background Worker Processes, such
> >> implementation would be possible?
>
>
Well, there are versions of genetic algorithms that use the concept of
islands in which the populations evolve in parallel in the different
islands and allows interaction between the islands and so on. I'm working
in an algorithm based on multiagent systems. At the present moment, I mean
in H2, the agents are threads, there are a few locks related to agents
solutions, and a few locks for the best current solution in the environment
where the agents are 'running'. The agents can exchange messages with a
purpose. The environment is shared by the all agents and they use the
environment to get informations from another agents (current solution for
example), tries to update the best current solution and so on.
According with the answers, I think the feature Background Worker Processes
still doesn't meets my needs. So, I'll keep monitoring the progress of this
functionality to implement the planner in future.
Thanks,
Fred
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2013-06-10 20:48:27 | Re: Freezing without write I/O |
Previous Message | Stephen Frost | 2013-06-10 20:34:12 | Re: DO ... RETURNING |