Best practices for remote solutions

Hello gurus.

I have a little doubt that maybe you can solve.

I´m writting an application for a gym. It has to work with SmartClient because the application must communicate to serial ports in each client.

Now I wonder what is the best solution for remotes branches and SmartClient. Should I use just one Servoy Server and remote clients connect to it or one server in each branch and the remote one connects to the remote database?

My doubt is what will give me the best performance, having the Servoy server locally in each branch and the database be remote or having having just one Servoy server that always connect to a local database? of course the remote branch connects thru ADSL to the remote Servoy server.

Thanks in advance

I would believe that what is more important in terms of performance is for Servoy to get fast access to the database.

Servoy is optimizing communication with the clients, using gzipped compression over RMI, so the real bottleneck would be between Servoy and the db, which should be as fast as possible. Meaning Servoy and DB should be either on the same server (localhost) or on the same LAN.

Hope this helps,