<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shahenshaikh on Medium]]></title>
        <description><![CDATA[Stories by Shahenshaikh on Medium]]></description>
        <link>https://medium.com/@shahenshaikh786?source=rss-74e19060f617------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CHWJO9QkKhXZ1K3f</url>
            <title>Stories by Shahenshaikh on Medium</title>
            <link>https://medium.com/@shahenshaikh786?source=rss-74e19060f617------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 22:56:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shahenshaikh786/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[MCP server for your Enterprise Integration. Do you really need it??]]></title>
            <link>https://medium.com/@shahenshaikh786/mcp-server-for-your-enterprise-integration-do-you-really-need-it-b003de14c963?source=rss-74e19060f617------2</link>
            <guid isPermaLink="false">https://medium.com/p/b003de14c963</guid>
            <dc:creator><![CDATA[Shahenshaikh]]></dc:creator>
            <pubDate>Sat, 08 Nov 2025 10:23:10 GMT</pubDate>
            <atom:updated>2025-11-08T10:23:10.456Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Model Context Protocol (MCP)</strong> is an emerging <strong>standard interface layer</strong> that allows <strong>AI models, reasoning engines, and enterprise systems</strong> to exchange structured context data.</p><p>It is:</p><ul><li><strong>Model-agnostic:</strong> works across LLMs, AI tools, and enterprise APIs</li><li><strong>Protocol-based:</strong> uses JSON-RPC (usually over WebSocket/HTTP)</li><li><strong>Composable:</strong> multiple tools (like your BW services) can register as “capabilities” for AI agents or orchestration frameworks</li></ul><p>In enterprise terms — <strong>MCP turns your existing TIBCO integration layer into an AI-accessible API surface</strong>.</p><h3>How MCP Adds Value in the Integration Stack</h3><figure><img alt="How MCP Adds Value in the Integration Stack" src="https://cdn-images-1.medium.com/max/861/1*2-46p2ImwgFNLJEpHDu5gQ.png" /></figure><p>When you integrate MCP into BW6:</p><ul><li>BW continues to handle <strong>business logic, routing, and transactions</strong>.</li><li>MCP layer exposes those capabilities as <strong>AI-callable tools</strong>.</li><li>You don’t need to change your existing integrations — you just <strong>wrap them</strong> with MCP-compatible endpoints.</li></ul><p>This effectively promotes BW to become:</p><blockquote><em>🏗️ “A secure enterprise integration layer that can talk to and be controlled by intelligent agents.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*FTUfGToPllhNx8fnuNl3uw.png" /></figure><h3>Example Real-World Scenario</h3><p><strong>Company:</strong> Telecom Enterprise<br> <strong>Current Stack:</strong> BW6, EMS, Kafka, Mashery</p><p><strong>New Requirement:</strong> AI-based “Customer Retention Assistant”</p><p>Instead of creating new microservices:</p><ul><li>Expose BW processes (e.g., getCustomerUsage, createOffer, applyDiscount) via MCP.</li><li>Connect them to an AI orchestration engine (LangChain/OpenAI GPT using MCP client).</li><li>The AI assistant dynamically calls the right BW tool to handle retention workflows.</li></ul><p>➡️ Result: <strong>AI + Integration synergy</strong> without changing your BW logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jd321v-VpyUiD5wD3p0z0A.png" /></figure><h3>How do you implement it?</h3><ul><li><strong>HTTP Receiver (POST /mcp)</strong> → Accepts JSON-RPC request</li><li><strong>Parse JSON</strong> → Extracts method, params, and id</li><li><strong>Choice/Mapper</strong> → Routes to subprocess based on method</li><li><strong>Subprocess</strong> → Executes business logic (DB/API lookup, etc.)</li><li><strong>Render JSON</strong> → Builds MCP-compliant response</li><li><strong>HTTP Reply</strong> → Returns result to the client</li></ul><p>once you implement the logic add MCP Metadata Endpoint that will Responds with list of available tools and their schemas. Also enable automatic discovery by AI agents or MCP clients.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b003de14c963" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reduce your Enterprise application Integration’s Memory footprint using Tibco Flogo.]]></title>
            <link>https://blog.stackademic.com/reduce-your-enterprise-application-integrations-memory-footprint-using-tibco-flogo-244031081de2?source=rss-74e19060f617------2</link>
            <guid isPermaLink="false">https://medium.com/p/244031081de2</guid>
            <category><![CDATA[garbage-collection]]></category>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[memory-management]]></category>
            <category><![CDATA[memory-improvement]]></category>
            <dc:creator><![CDATA[Shahenshaikh]]></dc:creator>
            <pubDate>Wed, 06 Nov 2024 11:54:09 GMT</pubDate>
            <atom:updated>2024-11-11T03:33:37.196Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*_6Vu7DvEJemkHdqHl9j9-w.png" /></figure><p>TIBCO Flogo is generally considered efficient in garbage collection and memory management, particularly when compared to larger integration platforms like TIBCO Businessworks (BW). Here are some reasons why Flogo is more efficient in these areas:</p><h3><strong>Lightweight Runtime</strong>:</h3><ul><li>Flogo is designed with a lightweight runtime architecture, meaning it has a smaller memory footprint and requires fewer resources to operate. This helps reduce the strain on garbage collection and makes memory management more predictable.</li></ul><h3><strong>Built on Go Language</strong>:</h3><ul><li>Flogo is primarily built using Golang (Go), which has a modern, efficient memory management system. Go’s garbage collection is designed to be fast and operates concurrently with application threads, minimizing the “stop-the-world” pauses that can affect Java-based runtimes.</li><li>Go’s memory model is also optimized to reduce fragmentation, leading to more stable memory usage over time.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lzjS3FMoS1r_bpj-xO-RdQ.png" /></figure><h3><strong>Simpler Processing Model</strong>:</h3><ul><li>Flogo’s model focuses on microservices and event-driven flows, which are inherently stateless and short-lived. This approach aligns well with efficient garbage collection since there’s less long-lived state to manage and clean up.</li><li>This reduces the frequency and complexity of garbage collection cycles, as objects are more easily recycled.</li></ul><h3><strong>Optimized for Cloud-Native Environments</strong>:</h3><ul><li>Flogo’s lightweight design is highly suited for cloud-native environments, where instances are often spun up and down dynamically. This design philosophy leads to reduced memory allocation, making garbage collection operations less intense compared to traditional integration platforms that may hold onto more resources over time.</li></ul><h3><strong>Minimal Dependencies</strong>:</h3><ul><li>Flogo has fewer libraries and dependencies than traditional, Java-based platforms, reducing memory usage and garbage collection overhead. With fewer dependencies, it’s easier to manage memory allocation, and there’s less risk of memory leaks from unused or idle components.</li></ul><h3><strong>Scalability in Microservices</strong>:</h3><ul><li>Flogo was built with microservices in mind, allowing fine-grained control over resource allocation at the service level. This lets you run multiple lightweight instances instead of scaling a single, larger application, distributing memory use more effectively.</li></ul><p>These design choices make Flogo an attractive choice for memory efficiency, particularly for applications deployed in dynamic, cloud-native environments where consistent, low-latency performance is essential.</p><h3>Comparison between application Binaries of Java, Node and Tibco Flogo:</h3><p>Here’s a comparison of application memory usage among Java applications, Node.js applications, and TIBCO Flogo applications, especially in the context of resource efficiency and garbage collection:</p><h4>1. Java Application:</h4><ul><li><strong>Memory Usage</strong>: Java applications are typically memory-intensive due to the JVM (Java Virtual Machine) and its associated libraries. Even a simple Java application usually requires hundreds of megabytes of memory (often starting around 128–256 MB), which scales with application complexity.</li><li><strong>Garbage Collection</strong>: Java has a robust garbage collection mechanism but relies on a “stop-the-world” approach in traditional GC models, which can cause occasional pauses. Advanced GC models, such as G1 and ZGC, improve latency but still consume additional memory and CPU overhead.</li><li><strong>Suitability</strong>: Java’s memory usage can be optimized but generally remains high for cloud-native, serverless, or microservice deployments where memory efficiency is critical.</li></ul><h4>2. Node.js Application:</h4><ul><li><strong>Memory Usage</strong>: Node.js applications generally use less memory than Java applications. A basic Node.js application can start with a memory footprint of around 50–100 MB, depending on the libraries and modules in use.</li><li><strong>Garbage Collection</strong>: Node.js uses the V8 engine (from Chrome), which has a highly efficient garbage collection mechanism. However, Node.js is single-threaded, so GC pauses can still impact performance under high memory load or extensive synchronous processing.</li><li><strong>Suitability</strong>: Node.js is well-suited for lightweight applications, especially I/O-bound tasks and microservices, due to its efficient memory handling and asynchronous nature. However, memory usage can spike when handling large data loads in memory.</li></ul><h4>3. TIBCO Flogo Application:</h4><ul><li><strong>Memory Usage</strong>: TIBCO Flogo applications are designed to be extremely lightweight, often requiring as little as 10–30 MB of memory for basic flows. Flogo’s runtime is optimized for low overhead, making it one of the most memory-efficient options among integration platforms.</li><li><strong>Garbage Collection</strong>: Flogo leverages Go’s garbage collector, which is fast, concurrent, and designed to minimize latency. Go’s GC works well for short-lived objects common in event-driven architectures, and memory fragmentation is reduced, leading to smoother performance over time.</li><li><strong>Suitability</strong>: Flogo is ideal for cloud-native and microservices environments, as well as serverless architectures, where low memory usage and efficient garbage collection are essential. Its memory efficiency makes it possible to deploy more instances or functions in resource-constrained environments.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q2OwLi7IBGdR65tIGUSnvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*q4-QirViw76MRz35.png" /><figcaption>comparision between java, nodejs and Tibco Flogo Binaries.</figcaption></figure><h3>Stackademic 🎓</h3><p>Thank you for reading until the end. Before you go:</p><ul><li>Please consider <strong>clapping</strong> and <strong>following</strong> the writer! 👏</li><li>Follow us <a href="https://twitter.com/stackademichq"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/stackademic"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/c/stackademic"><strong>YouTube</strong></a> | <a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Discord</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a></li><li><a href="https://differ.blog/"><strong>Create a free AI-powered blog on Differ.</strong></a></li><li>More content at <a href="https://stackademic.com/"><strong>Stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=244031081de2" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/reduce-your-enterprise-application-integrations-memory-footprint-using-tibco-flogo-244031081de2">Reduce your Enterprise application Integration’s Memory footprint using Tibco Flogo.</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimizing build process to Minimize TIBCO BWCE container size]]></title>
            <link>https://medium.com/@shahenshaikh786/optimizing-build-process-to-minimize-tibco-bwce-container-size-240114a81d4b?source=rss-74e19060f617------2</link>
            <guid isPermaLink="false">https://medium.com/p/240114a81d4b</guid>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containerization]]></category>
            <dc:creator><![CDATA[Shahenshaikh]]></dc:creator>
            <pubDate>Mon, 21 Oct 2024 19:41:58 GMT</pubDate>
            <atom:updated>2024-10-21T19:41:58.629Z</atom:updated>
            <content:encoded><![CDATA[<p>We have observed that the default base image script provided uses Debian image, which creates large memory footprint.</p><p>We can optimize base image creation using below steps:</p><h3><strong>Choose a Minimal Base Image:</strong></h3><p>Start with a <strong><em>minimal</em></strong> base image like ubi8 for OpenShift, Alpine or Scratch. These images are lightweight and contain only the essential components, reducing the image size and attack surface.</p><h3><strong>Minimize Layers:</strong></h3><p>Reduce the number of layers in your Docker image by combining multiple commands into a single RUN instruction. This reduces the image size and speeds up the build process</p><h3><strong>Optimize Dockerfile:</strong></h3><p>Use specific versions for package installations, minimize the number of dependencies, and remove unnecessary packages after installation to reduce the image size.</p><h3><strong>Analyze Image Layers:</strong></h3><p>Use tools like docker history and docker inspect to analyze image layers and identify opportunities for optimization. Remove unnecessary files and commands from the Dockerfile to reduce layer size.</p><p>Below are the some of the sample Custom Docker files which you can check out.</p><p>· <strong>Sample custom script without Docker builder:</strong></p><p>A sample Image script to build base image using ubi8 Minimal will look something like this-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWdFpIYwgxAdKqRAFySAIw.png" /></figure><p>· <strong>Sample custom script with Docker builder:</strong></p><p>A sample Image script to build base image using Docker builder will look something like this-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*Utat4coFapypSGjKXQZ6Dg.png" /><figcaption>Fig.DockerFile with ubi8 minimal and Docker Builder</figcaption></figure><p><em>Writer’s note: If you are using above mentioned any of methods to improve your base images do let me know your valuable feedback. :)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=240114a81d4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory Optimization for TIBCO BWCE containers]]></title>
            <link>https://medium.com/@shahenshaikh786/memory-optimization-for-tibco-bwce-containers-e5271638f6db?source=rss-74e19060f617------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5271638f6db</guid>
            <category><![CDATA[containerization]]></category>
            <category><![CDATA[tibco-businessworks]]></category>
            <category><![CDATA[memory-management]]></category>
            <category><![CDATA[memory-improvement]]></category>
            <category><![CDATA[garbage-collection]]></category>
            <dc:creator><![CDATA[Shahenshaikh]]></dc:creator>
            <pubDate>Sat, 19 Oct 2024 21:33:44 GMT</pubDate>
            <atom:updated>2024-10-19T21:33:44.352Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Overview:</strong></p><p>As a integration services Tibco Businessworks applications means to serve high traffic. When Deployed on Containers this needs to be optimized. We have observed that most of the tibco applications are mainly memory intensive.</p><p>Also, as they made up of JVMs, garbage collections should work efficiently to optimise the heap memory in timely manner.</p><p>When you are deploying tibco BWCE on containers you need to consider below things-</p><h4><strong>· Setting Request and limit for Containers.</strong></h4><h4><strong>· Specifying Heap Memory</strong></h4><h4><strong>· Choosing and tuning of JVM Garbage collection</strong></h4><h4><strong>· CPU thread management</strong></h4><h3><strong>Setting Request and limit for Containers:</strong></h3><p>This is the important Kubernetes aspect which influence the scheduling of your pod. Setting <strong>Request</strong> on memory decided what is the minimum memory to be allocated and Setting <strong>Limit</strong> decides what is the maximum memory from the allocated pool to be used for specific container.</p><p>How can we identify the correct Request and limit for tibco bw containers?</p><p>To identify the request, you need to check what is the memory your application occupies at startup. Your request will be the memory which your application occupies when it starts plus some amount of reserve depending upon your memory quota. For example, if your application starts with 650 MiB then you can allocate request as 750MiB.</p><p>For identifying the limit, you need performance testing with expected traffic and identify how much additional memory your container requires to serve the additional load. Plus if you add some amount of reserve that will be your limit. For Example If the same application with 1000 tps occupying the additional peak memory of 500 MB plus 100MB reserve that will be 1250 MiB you can set as Limit.</p><h3><strong>Specifying Heap Memory:</strong></h3><p>The JVM divides its memory into two main categories: heap memory and non-heap memory. Heap memory is where objects that are created by the application are stored. They remain there until they are no longer referenced and are garbage collected. Typically, the amount of heap that an application is using will fluctuate as a function of the current load.</p><p>You can use below parameters to set the Heap Memory for your tibco applications-</p><p><strong><em>-Xms128m -Xmx512m</em></strong></p><p>Where -Xms is least amount of memory guaranteed for JVM and -Xmx is the maximum amount can be occupied by JVM.</p><h3><strong>Choosing and tuning of JVM Garbage collection.</strong></h3><p>If your application is having large heap size(&gt; 4Gb) you can go with the default GC provided by tibco that is <strong>G1GC</strong>.which is mainly a low pause / server style gc. If your heap size is less that 4gb we have observed that the garbage collection is not efficient and you may see the gradual memory pileup.</p><p>In General, Tibco applications are combination of multiple concurrent processes and require many concurrent threads. The parallel Garbage collector will be best fit for such kind applications.</p><p>To use parallel Garbage collection, you need to set below JVM parameter-</p><p><strong><em>-XX:+UseParallelGC</em></strong></p><p>Also, you need some other GC tuning parameters to efficiently work the Parallel GC. Below are few parameters you need to use-</p><p><strong><em>-XX:MaxGCPauseMillis=&lt;&lt;Value in millisecond&gt;&gt;</em></strong></p><p>This option sets a target for the maximum pause time (in milliseconds) that the garbage collector should aim to achieve during garbage collection (GC) events. During this time the JVM pauses the execution of the application to reclaim memory. The ideal value for this parameter is 500ms.</p><p><strong><em>-XX:+UnlockExperimentalVMOptions</em></strong></p><p>This flag unlocks experimental JVM features. These features may be unstable and are therefore not available by default, so this flag is required to make them available. We have observed that setting this flag improved the garbage collection in combination with parallelGC.</p><p><strong><em>-XX:ParallelGCThreads=&lt;&lt;No of parallel threds to be allocated&gt;&gt;</em></strong></p><p>This parameter specifies the number of threads that the garbage collector will use to perform its work in parallel, especially during the young generation (minor) garbage collection. We have tested our tibco application by giving this value as 10. This means that for our application 10 parallel threads are allocated for Minor Garbage Collection.</p><p><strong><em>-XX:MinHeapFreeRatio=&lt;&lt;min value in percentage&gt;&gt; and -XX:MaxHeapFreeRatio=&lt;&lt; max value in percentage &gt;&gt;</em></strong></p><p>These parameters control how much free space the JVM should aim to maintain in the heap (the memory used for objects) after garbage collection. These flags help the JVM decide whether to increase or decrease the heap size dynamically based on the percentage of free memory left in the heap after a garbage collection event.</p><p>We have tested the below values which gave us optimum performance.</p><p><strong><em>-XX:MinHeapFreeRatio=20</em></strong></p><p>This option tells the JVM to ensure that at least 20% of the heap remains free after a garbage collection. If, after garbage collection, the amount of free heap memory falls below 20%, the JVM may increase the heap size (expand the heap) to make more memory available for allocation.</p><p><strong><em>-XX:MaxHeapFreeRatio=50</em></strong></p><p>This option tells the JVM to ensure that <strong>no more than 50% of the heap</strong> is free after garbage collection. If, after garbage collection, the amount of free heap memory exceeds 50%, the JVM may <strong>decrease</strong> the heap size (shrink the heap) to avoid wasting memory.</p><p><strong><em>-XX:MaxMetaspaceSize=&lt;&lt;Value&gt;&gt;</em></strong></p><p>This parameter can set an upper limit on Metaspace size to prevent it from growing indefinitely.<strong> Metaspace</strong> is a memory area introduced in Java 8 to replace the older <strong>PermGen (Permanent Generation)</strong> space.<strong> Metaspace</strong> holds metadata about classes and methods loaded by the JVM. This includes things like class definitions, method objects, method bytecodes, and constant pools. The size of Metaspace is dynamic by default and can grow as needed. If MaxMetaspaceSize is not set, Metaspace can grow without a hard limit, constrained only by the available system memory.</p><p>To set this value, you need to identify what is the memory getting loaded by each application. With addition of some amount of reserve memory you can set this value. for example for our application we have used below value-</p><p><strong><em>-XX:MaxMetaspaceSize=128m</em></strong></p><p><strong><em>-XX:CompressedClassSpaceSize=&lt;&lt;value&gt;&gt;</em></strong></p><p>Compressed Class Space is a special region within the Metaspace used when compressed class pointers (or compressed oops) are enabled.<strong> Compressed oops</strong> (ordinary object pointers) is a technique used by the JVM to reduce the memory footprint of 64-bit JVMs by storing 32-bit pointers for objects.</p><p>The JVM uses <strong>Compressed Class Space</strong> to store class pointers when compressed oops are enabled, making the JVM more memory efficient.</p><p>You can set this value less than or equal to MaxmetaspaceSize.</p><p>For example-</p><p><strong><em>-XX:CompressedClassSpaceSize=128m</em></strong></p><p><strong><em>-XX:GCTimeRatio=&lt;&lt;Value&gt;&gt;</em></strong></p><p>This parameter is used to control the balance between application execution time and garbage collection (GC) time. It defines a target ratio for how much time the JVM should spend doing garbage collection versus executing the application.</p><p>The ratio is expressed as a fraction of the total time the JVM spends. A lower value means more time allocated to garbage collection, and a higher value means more time for the application.</p><p>We can set the value as 4 to perform GC more aggressively. The value 4 means 20% of your execution time to be allocated to garbage collection.</p><p><strong><em>-XX:AdaptiveSizePolicyWeight=&lt;&lt;Value&gt;&gt;</em></strong></p><p>The Adaptive Size Policy is a mechanism in the JVM that dynamically adjusts the sizes of the heap regions (such as the young and old generations) based on application behaviour, aiming to optimize the performance of garbage collection.</p><p>This option controls how much weight is given to recent GC performance data when determining future heap size adjustments.</p><p>It defines the relative importance of the most recent garbage collection statistics versus older historical data when making decisions about resizing the heap.</p><p>A <strong>higher value</strong> means that more recent GC performance data will have a <strong>greater impact</strong> on the JVM’s decision-making process, while a <strong>lower value</strong> will give more weight to older performance data.</p><p>We can use the higher weight as 90. This makes the adaptive sizing policy <strong>more responsive</strong> to recent changes in application behaviour. If your application starts allocating more memory or experiences more frequent GC pauses, the JVM will quickly adjust the heap size to try to optimize performance.</p><p><strong><em>-Dbw.engine.enable.memory.saving.mode=true</em></strong></p><p>This option is a configuration setting specific to <strong>TIBCO BusinessWorks (BW)</strong>, used to optimize memory consumption in BW applications. This flag enables a feature in <strong>TIBCO BusinessWorks (BW)</strong> that reduces the memory footprint of the application by using various memory optimization techniques. When set to true, it instructs the BW engine to operate in a <strong>memory-saving mode</strong>, which might involve limiting caching, optimizing object handling, or reducing in-memory data structures.</p><p>The BW engine normally caches and holds certain objects or data in memory to improve performance, such as keeping process variables or resource configurations readily available. When **memory.saving.mode** is enabled, the engine makes more conservative use of memory, possibly trading off some performance for reduced memory consumption.</p><h3><strong>CPU thread management:</strong></h3><p>When Using Parallel Garbage Collection Thread management is very necessary as we are allocating additional threads to Garbage collection.</p><p>For example If you are allocating 10 additional threads for garbage collection then you allocate these additional threads for your application in addition to the number of threads you decided for application.</p><p>Please note that more number of thread means more number of CPU consumption.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5271638f6db" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>