|[EMF/GMF] - Performance issue on load and save model. [message #1063868]
||Fri, 14 June 2013 11:21
| Philippe EUGENE
Registered: January 2011
I use the : org.eclipse.emf.ecore.uri_mapping to map my logical URI (business URI) to physical URI (HTTP url).
It's a RESTFULL API to save, load and delete EMF/GMF resource. XMI model (EMF and diagram resources) are saved server-side into a database.
Everything works. All EMF mechanisms are completely transparent.
But the number of requests sent to the server is very too important.
With the resolveProxy option à false i have:
A) Loading a GMF diagram => 5 queries
1 query for load the GMF diagram
2 query for load the corresponding EMF model
2 query for load the container of the EMF model
B) Saving a GMF diagram => 9 queries
2 update for saving GMF model and diagram : OK
7 query for reload : GMF resource / EMF model and his container.
As each GMF diagram own it's resourceSet, every openDiagram action do a lot of HTTP and SQL queries.
Then i search a solution to cache model at the client side and then limit query between client and server.
Thanks for help.
Powered by FUDForum
. Page generated in 0.01870 seconds