DataSnap
-
Upload
federico-russo -
Category
Documents
-
view
1.007 -
download
5
description
Transcript of DataSnap
DATASNAP
DATASNAP
• Formerly MIDAS.
• Rimossa la fondazione DCOM (sconsigliata da Microsoft)
• Sostituita con i Component Indy.
• Si basa su dbExpress.
LIMITI
• Autenticazione e autorizzazione in Delphi XE3, solo HTTP Basic.
• Indy crea un thread per connessione.
• Framework di remoting costruito sopra un framework SQL.
LIMITI
Remoting Framework
SQL Framework
LIMITI
Remoting Framework
SQL Framework
TEST
http://192.168.10.14:8090/datasnap/rest/ TServerMethods/EchoString/A%20B%20C
TEST - 1 THREAD
TEST - 1 THREAD
TEST - 10 THREAD
LATENZA
0
7,5
15
22,5
30
3
22
2
1414 DataSnap 1 threadDataSnap 10 threadBBox 1 threadBBox 200 threadNode.js 200 thread
THROUGHPUT
0
1750
3500
5250
7000
6.196
5.340
3604563
DataSnap 1 threadDataSnap 10 threadBBox 1 threadBBox 200 threadNode.js 200 thread
MARCO CANTÙ DELPHI PRODUCT MANAGER
I think that if you want to build a very large REST application architecture you should roll out your own technology or use one of these prototypical architectures. For a small to medium size effort, on the other hand, you can probably benefit from the native DataSnap support.
Delphi 2010 Handbook
FONTI
• http://en.wikipedia.org/wiki/DataSnap
• http://www.sandon.it/?q=node/57
• http://robertocschneiders.wordpress.com/2012/11/22/datasnap-analysis-based-on-speed-stability-test
TROVIAMO UN'ALTERNATIVA!
• mORMot: client-server ORM and SOA for Delphi
• Java con Apache CXF e librerie native
• Node.js con librerie native