> Le 23 mai 2015 à 02:30, Dr. Hawkins <doch...@gmail.com> a écrit :
> 
> On Thu, May 21, 2015 at 7:58 PM, Pierre Sahores <s...@sahores-conseil.com> 
> wrote:
>>> I'm not sure what you're saying here--I'm assuming a central server being 
>>> hit by
>>> clients around the country, wo how can locahost handle that?
>> 
>> The remote client -> HTTPS -> Apache -> (LC-Server -> PostgreSQL, both those 
>> two last
>> components connected trough port 5432 on the 127.0.0.1 localhost IP address)
> 
> Oh, I see what you mean.  At the moment, I'm taking the approach of
> using a persistent server app, as the time to open a postgres database
> is significant, and could happen every couple or few seconds for each
> client.

Should’t be at all. PostgreSQL works in a stateless mode. As long as each 
connection to PostgreSQL is :

1.- opened (by the client, the LC server or the persistant server)
2.- processed (the request)
3.- closed as soon as the expected data are returned

PostgreSQL will be able to respond very smoothly to thousands of différent 
client requests peer second (lost more than Apache can provide it…).

On the other hand, if each connection is not closed as soon as the job is done, 
the main PostgreSQL controller will become less and less responsive because the 
unneeded still opened connections in its RAM array.
> 
> However, postgres itself supports SSL, and can enforce SSL only--but
> livecode doesn't support this.
> 
> 
> 
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to