Logan Capaldo wrote:
···
On Aug 4, 2006, at 3:24 AM, Philippe Lang wrote:
Hi,
I intend to start a new project with the following architecture:
Server:
-------
- Postgresql database
- ActiveRecord
- Distributed Ruby ServerClient:
-------
- Distributed Ruby Client
- Qt/Ruby GUIDrb is not really an "Application Server". Normally, you expect
features like "Connection Pooling" from such a server, and much more.Is it safe and robust, anyway, on an intranet composed of a hundred
of client computers, to marshall all ActiveRecord objects through a
simple drb server?Has anyone done this already?
Your reactions are more than welcome!
Thanks
If you are just gonna marshal the AR objects and send them
across the network, why even have a server / client
architecture? Just stick the AR code in the "Client" and let
PostgreSQL worry about concurrency.
I prefer a 3-tier approach, with all the buisness logic on the server, just like you would do with J2EE. Centralisation of code is a good thing I think.
---------------
Philippe Lang
Attik System