cancel
Showing results for 
Search instead for 
Did you mean: 

Performence issues on WDA FlashIsland Application

ged_hurst
Participant
0 Kudos

Hi all,

we have developped a WDA application with a full front end UI in Flex,

for the data transfer between the WD and the front end we use 25 data sources mapped to 25 contexts,

and 20 properties mapped to one WD context.

We use the ususal "fire Event" and "store property" technique to communicate between WD and the Island.

Our problem is the data transfer wich is very long (even for a very small amount of data).

we monitored the abap code and the flex code and both execute at a normal speed according to the traces.

My questions are :

- is there any limitaions on the number of data sources and bindable variables to use ?

- when we fire an event we are passing only the data needed to be updated, but what is happening behind the scene ?

are all the data sources being transferred eveytime or only the datasource involved by the update (delta).

- at las but not least are we using the right approach or should we use one generic data source and convert all our data into

xml ?

thanks in advance for any valuable input

Th. Dev.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Itu2019s quite difficult to define a lot of GACProperty and GACDataSource, so to avoid this send data in a single GACProperty in the form of Base64 encoded XML string. To do this firstly create a XML by defining a structure in ABAP and then encode that XML to Base64 string. Bind that string to the GACProperty and thatu2019s it. Itu2019s a clean approach but increases line of code.This approach also make your data secure because FlashIsland uses HTTP POST method to send data which can be visible in some HTTP watcher browser plug-in.

Flash Island takes data to WD only when an event is triggered, storeProperty() method only store the value in FlashIsland but donu2019t call WD. So when we trigger an event using fireEvent() method, it takes all the data for all the GACDataSource and GACProperty from Flex either we changed or not. This can cause performance loss when used a lot of data sources.

Hope this helps!

Kind regards,

Jonas