Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
8 subscribers
Views
2684 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Performance Improvement for loading SAIL Interface
rohitk907
over 7 years ago
What are the ways of minimizing time to launch SAIL Interface?
I had few observations -
--> Before launching UI there are 5-6 service calls.
--> Database insertion before launching UI.
--> 8-10 service call in SAIL interface itself.
--> Implemented Milestone functionality on UI.
--> Complex UI with around 2K lines of code.
What I tried?
--> I pulled few calls from Interface to Process model.
--> Tried parallel calls using AND and Complex gateway.
Can we implement parallel service calls using MNI(Multiple Node Instances)?
Or Is there any way that we call sub-process model Asynchronously?
Attached is the image of UI.
Any help will be appreciated! Thanks in Advance!
OriginalPostID-261291
Discussion posts and replies are publicly visible
Parents
0
aloks0189
Certified Lead Developer
over 7 years ago
@rohitk when we talk about performance for SAIL, then we need to take care of following aspects:
1. try reducing unnecessary DB calls specially on Load
2. try minimizing with() as this evaluates again and again
3. If you have refereed same validation at multiple places then try to use local variable having the value as validation and use the same local variable for all those places
4. try distributing 2K lines of code into Section, and try loading them conditionally (If applicable)
5. try making those DB calls on load() whose response will be used at several places in SAIL
6. try reducing the use of Collapse feature of Section
7. try reducing condition checking
And many more...
I hope i answered your question
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aloks0189
Certified Lead Developer
over 7 years ago
@rohitk when we talk about performance for SAIL, then we need to take care of following aspects:
1. try reducing unnecessary DB calls specially on Load
2. try minimizing with() as this evaluates again and again
3. If you have refereed same validation at multiple places then try to use local variable having the value as validation and use the same local variable for all those places
4. try distributing 2K lines of code into Section, and try loading them conditionally (If applicable)
5. try making those DB calls on load() whose response will be used at several places in SAIL
6. try reducing the use of Collapse feature of Section
7. try reducing condition checking
And many more...
I hope i answered your question
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data