#1 2015-03-27 17:30:22

jmarty
Member
Registered: 2015-03-26
Posts: 2

Cliente / Server HTTP

Hello,

I'm converting a program to your framework, using a server based on Sample 04 - http cliente-server, in one machine and various clients (1 to 8) over a local network.

The readings are very fast, and after cached almost instantanious, ( about 60 to 70000 registers), but the writings are very slow, a tipycal document save takes about 5 to 20 writes or updates, using metods .add or .update.

Sometimes the client doesn't receive answer from  the server, but if we close the application and open again it works again.

I'm using a global TSQLRestClientURI (THttpclientwinhttp) for all forms.

I'm using Delphi 7, and mormot 1.17.

Today, I change for the NightBuild of 2015-03-25, and the verify that, if the client stays some time without communication without the the server, I have to close the server and open it again to restore communication, have to revert to the previous version.

Can you help me fine tunning the both sides, so it runs more smooth ?

Thanks,

Martins

Offline

#2 2015-03-27 20:44:44

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Re: Cliente / Server HTTP

Ensure you read about the SQLite3 low level write settings.
See http://synopse.info/files/html/Synopse% … ml#TITL_60

About disconnection, we did not observe this behavior.
What is the error, and the logs on both sides?

Offline

#3 2015-04-12 11:44:33

jmarty
Member
Registered: 2015-03-26
Posts: 2

Re: Cliente / Server HTTP

Sorry for take so long, but, due to work assignement I can't came here.

I already test that and changed the routines to use batch commands, and now it's much more stable and quick.

Thanks, great framework.

Offline

#4 2015-04-12 12:20:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Re: Cliente / Server HTTP

Thanks for your Sunday feedback!
smile

Offline

Board footer

Powered by FluxBB