Skip to main content
Open

Caching only connected ports

Related products:FME Form
  • November 21, 2024
  • 4 replies
  • 57 views
cshepard
david_r
danilo_fme
dustin
bwn
+5
  • cshepard
    cshepard
  • david_r
    david_r
  • danilo_fme
    danilo_fme
  • dustin
    dustin
  • bwn
    bwn
  • larue
    larue
  • becchr
    becchr
  • mhab
    mhab
  • frro
    frro
  • geoportalcartog
    geoportalcartog

dustin
Influencer

 

For all transformers, it would be nice if feature caching would only cache for ports that had a connector on it. This could either be global functionality, or even better would be some kind of parameter that allows the user to cache or not cache un-connected ports.

4 replies

stewartatsafe
Safer
Forum|alt.badge.img+5

Hi Dustin. Can you explain what your frustration is with the current behaviour, are you looking for the canvas to just be cleaner or is it performance related?


dustin
Influencer
Forum|alt.badge.img+30
  • Author
  • Influencer
  • November 22, 2024
stewartatsafe wrote:

Hi Dustin. Can you explain what your frustration is with the current behaviour, are you looking for the canvas to just be cleaner or is it performance related?

Reduction in overhead when using caching. An example would a TestFilter where 1000000 features are being input, only 100 are being passed to additional process with the rest essentially being dropped. Caching of those 900,900 features creates unnecessary processing time.


bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • November 25, 2024

I’m wondering out loud if, rather than have this as a Transformer Parameter, perhaps this could be more easily done as a Connector Parameter?

Doesn’t need all different Transformer Dialogs changed then.  Just make it a property of the Connector(s) as to whether the Output Port(s) that feed them whether to Cache those Output Port(s).

Connection Options.
1. Default =  Resets all Connectors to that Transformer to Cached (and not just the Selected Connector).  Also sets any unconnected Output Ports to Cached.

  1. Cache Only Selected.  Will turn Caching On for only currently graphically selected/highlighted Connectors.   Any other Connectors to those upstream Transformer(s) not selected will conversely go to “Don’t Cache” along with any unconnected Output Ports
  2. Don’t Cache Selected.  Will turn Caching Off for only currently graphically selected/highlighted Connectors.   Any other Connectors to those upstream Transformer(s) not selected will conversely go to “Don’t Cache” along with any unconnected Output Ports



 


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • December 16, 2024
NewOpen

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings