Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » etl in multithreaded standalone application
etl in multithreaded standalone application [message #1840509] Fri, 16 April 2021 20:39 Go to next message
jo ber is currently offline jo berFriend
Messages: 94
Registered: August 2018
Member
hi

I would like to know what are the guidelines to use etl modules in multithreaded application. In particular I would like to create a pool of etl modules which can be shared across threads. Each thread would take an etl module from the pool and assign a new source model/instances to be transformed. Do you see any error in this approach or situation that requires a particular attention?

Thank you king regards
Re: etl in multithreaded standalone application [message #1840518 is a reply to message #1840509] Sat, 17 April 2021 10:02 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi,

In general, E*L modules have not been implemented with "recycling" in mind so my suggestion would be to re-parse your ETL transformation every time you need to use it. On my machine, when I parse the 2.5K-line transformation in [1] in a loop, after the first iteration it is parsed in about ~40ms so unless your transformations are huge, the performance impact should be negligible.

Best,
Dimitris

[1] https://bitbucket.org/bmyildiz/model-derivation-framework/src/e6adecebd44b354425bdedf15d0261c7a3c486bc/Model-Derivation%20Framework/Model%20Transformation%20Modules/jbcpp2uppaal_framework_version.etl?at=master&fileviewer=file-view-default
Re: etl in multithreaded standalone application [message #1840522 is a reply to message #1840518] Sat, 17 April 2021 15:02 Go to previous message
jo ber is currently offline jo berFriend
Messages: 94
Registered: August 2018
Member
thank you for your answer.
Previous Topic:EUnit Examples
Next Topic:Setting IUserInput from Workflow
Goto Forum:
  


Current Time: Thu Apr 25 16:00:19 GMT 2024

Powered by FUDForum. Page generated in 0.03094 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top