#1 2014-10-16 00:03:44

Roberiopraciano
Member
Registered: 2013-01-25
Posts: 8

Datasnap Performance xe7 Vs Mormot

I'm doing some tests with datasnap performance , not yet translated into English but if you can take a look, I'll be happy

http://datasnapperformance.wordpress.com/

Offline

#2 2014-10-16 04:55:19

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

Re: Datasnap Performance xe7 Vs Mormot

No problem, Google Translate did the job!

DataSnap for XE7 did see huge improvements, but indeed not so good performance when running on heavy load.
It is good to have Brook and Sparkle in the comparison.
And no surprise that Sparkle is very close to mORMot: both uses http.sys for serving the web content!

For "1 thread e 100000 requisições", of course what you are measuring here is tied to the network latency, so would vary.
IMHO "100 thread e 100000 requisições" are the most interesting numbers. Even if this is not a "real world" test.
But what I can't understand is why XE7 is slower for both Sparkle and mORMot than older versions of Delphi. Sounds due to some change (regression?) done at the Delphi RTL level, not at framework level.

Here we only test "Hello World", over a network. The fact that it is over a network is pretty much better than on localhost.
I guess we may benefit from testing the whole chain, i.e. client request -> http server -> server orm/db access -> server json computation -> client json unserialization chain.
You may be surprised!

Thanks for sharing your results!
And congrats to Embarcadero, they are going in the right direction!

Offline

Board footer

Powered by FluxBB