Subject | Re: [Firebird-Architect] Re: Vulcan services engine info. was (engine information (nr. of attachments, da |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2006-05-10T11:35:22Z |
On 10 May 2006 at 8:13, Roman Rokytskyy wrote:
thinking, receive the answer (whatever it is) and return it to
dispatcher.
misconfiguration problems. What if some providers mentioned in config
are missed?..
idea is the same as with connections: Dispatcher either handle the
request itself (for version, config or log request for example) or
call every provider until one of them agree to fulfil the request
(backup, gfix so on).
--
SY, Dimitry Sibiryakov.
>> Who can answer about list of active databases I don't know.Right, and it'll send the request through the wire without further
>> Probable, all active providers and dispatchers in stack.
>
>Remote provider handles only wire protocol.
thinking, receive the answer (whatever it is) and return it to
dispatcher.
>I have no problem about looping through the active providers only. ButI'm afraid this way Vulcan can become vulnerable to
>I see no problem about looping through all providers too - inactive
>providers will provide empty reply that will not influence the overall
>result.
misconfiguration problems. What if some providers mentioned in config
are missed?..
>But now I have another question - why don't we move processing of theSecond it. We don't need separate provider for service calls. The
>Services API completely to the dispatcher and extend the subsystem
>interface to execute database related service calls (like
>backup/restore, gfix things, db properties, etc.)?
idea is the same as with connections: Dispatcher either handle the
request itself (for version, config or log request for example) or
call every provider until one of them agree to fulfil the request
(backup, gfix so on).
>In this case all what we talk here will get its logic and beauty - allRight layering. Jim should like it.
>database specific calls are handled by the engine providers, calls
>that span multiple databases/providers - by the dispatcher.
--
SY, Dimitry Sibiryakov.