Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Datasnap TCP vs HTTP


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0 Threads: [ Previous | Next ]
Dan Palley

Posts: 43
Registered: 2/14/00
Datasnap TCP vs HTTP  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 14, 2016 10:50 AM
Hi, we have an application using Datasnap that connects to a remote Datasnap server using Deiphi XE 10.1. Performance using straight TCP using a TDSTCPServerTransport is great, even over slow connections.

I tried implementing the HTTP component (TDSHTTPService) as an alternative and performance is 2-3 times slower over the same connection. I understand there's some overhead in converting the client calls to HTTP and then back to Datasnap native calls on the server, but I didn't expect to see such a big difference.

As a result, I'm considering just using TCP over an SSH connection of some sort.

Has anyone else built a Datasnap server over HTTP with good success?

Thanks,

Dan Palley
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02