2021-07-22 16-16-55
Edgar Ramos
Champion
Check Module Detailed Size
1462
Views
25
Comments
Not right now
Service Studio

Hello there,

It would be nice to have inside Service Studio a way that we could check inside the module what size does it actually occupies each Flow, Server Actions, All the images all at once, etc...

Best Regards,

Edgar Ramos



What do you mean by "size"? What is the problem that you are trying to solve, that might make this more clear?

J.Ja

2021-07-22 16-16-55
Edgar Ramos
Champion

Hello Justin,

I'm sorry if the first comment wasn't clear enough.

The idea is to accuratly know what is the exact size of for example the Flows or all of the Server Actions (and other relevant 'components' of our module). Currently the only sizes that we know in detail are the Images size (of each one) and also the full module size when we download it.

Note: Why can't we edit our comments anymore?

2014-02-07 17-02-43
Vasco Pessanha
Changed the category to
Service Studio
and the status to
Not right now

Hey Edgar,

Although we have the exact size of images (it is just a single self-contained file) it is not so direct to get the size of other elements of our language that have dependencies and sub-elements.

We don't have short-term plans to solve this but we will keep it to be considered in the future.

Cheers,

Merged this idea with 'Easily accessable Module Size in mb in Service Studio/Service Centre' (created on 04 Aug 2023 12:12:52 by Nicholas Campbell)

Similar to tbis idea (https://www.outsystems.com/ideas/5607/check-module-detailed-size/) but just to be able to see the module size without having to download it every time would ge a nice to have.

I am curious why you need the module size?

Hi Dan, reading through the best practices it speaks of a module not being more than 4mb and it would be easier to check and keep track of module size if it were available without having to download them all each time, especially when there are quite a number of different applications under development simultaneously with many different modules.

Alright got it.

Merged this idea with 'Display message when the module size is bigger than a presettled threshold' (created on 08 Aug 2023 09:41:22 by Antonio Mendonça)

Hi guys!


In terms of maintainability I think it would be of great value to display, in Service Studio, a default message every time a developer tries to publish a module which has a size bigger than a presettled threshold (defined for example in Life Time though a configuration with a maximum value set on 4 MB).

Thus, the developer could be immediately warned that the module size should be reduced in order to not compromise the future maintainability of that same module, as well as its respective deployment to other environments.


What do you think guys? 

I think this could be implemented as a pattern in AI mentor Studio.

Hi Daniel!

That is actually a better version of my idea.

Thank you for your support.


Best regards, 

Merged this idea with 'Warning/Suggestion when publishing large modules' (created on 15 Oct 2018 02:26:59 by Justin Babel)

Display a warning/suggestion, in the same way outdated consumer/producer messages are displayed on publish, when the module size is over/around the suggested module size based on best practices documentation. 

Maybe linking the message to the best practices documentation.

2014-02-07 17-02-43
Vasco Pessanha
Changed the category to
Service Studio
2014-02-07 17-02-43
Vasco Pessanha

Hey Justin,

What recommendations/best-practices are you referring to?

Cheers,

Hey Vasco,

https://success.outsystems.com/Documentation/Best_Practices/OutSystems_Platform_Best_Practices

In this idea, specifically referencing the logic and development section, second bullet.

Thanks

2014-02-07 17-02-43
Vasco Pessanha
Changed the status to
On our RadarOn our radar

Thanks for your idea Justin!

2014-02-07 17-02-43
Vasco Pessanha
Changed the category to
1CP
Merged this idea with 'Size of each module in Service Studio' (created on 22 Dec 2023 13:55:52 by Aaryan)

Hello team 

It will be better if we can see size of each module inside the application.As we know a module with a size larger than 4MB could indicate poor architecture. This idea will help us to mantain good architecture.


Regards.

Merged this idea with 'Display Module Size.' (created on 09 Dec 2024 08:15:00 by nani)

As developers, managing module size is crucial for maintaining performance and productivity in Service Studio. 
Large modules can slow down opening, developing, publishing, and deploying( Dev - Test - Prod ) which affecting the entire team's efficiency. 
Currently, there’s no direct way to view module size in Service Studio, and developers have to save modules locally to check, which is time-consuming and inconvenient.

so I think by showing the module size helps to
1.Encourages developers to maintain smaller, efficient modules.
2.Simplifies identifying and addressing performance bottlenecks.
3.Promotes best practices like code reusability and modular design.

Where "Green: Optimal size, Yellow: Nearing recommended limit and Red: Exceeds recommended size".

please before posting an idea, check if it not already exists. It took me 5 seconds to learn your idea was already posted in 2018. I will need to merge yours into the original idea.

Thank you for merging my idea.

I want to clarify that this idea came to me on my own. My idea was to help developers to write less code as possible while keeping it effective and improving code reusability, which I believe enhances productivity. 

I’m glad it could be helpful.