<div dir="ltr"><div style>Hi,</div><div style><br></div>I am trying to mimic a scenario where an external process is streaming data into a file which is being captured at same or lesser frequency by updating a file periodically which is then cat'ed by Swift into an output file. <div>
<br></div><div>The Swift script is the catsnsleep with a sleep of 10sec followed by cat of input data. Another process running at a slightly higher frequency does update on the data by echoing random numbers to the data file.</div>
<div><br></div><div style>From the experiments so far, it looks like Swift caches the data file and uses it for all app calls. </div><div style><br></div><div style>So far, I tried:</div><div style>1) using external variable type for input data</div>
<div><div style>2) setting caching.algorithm=none in config</div><div style><br></div><div style>Neither of the above seem to work. I think, if I could map external type to a disc file, this might work.</div><div style><br>
</div><div style>Any other ideas to turn off input data caching by Swift?</div><div style><br></div><div style>Thanks,</div>-- <br><font face="'courier new', monospace">Ketan</font><br><br>
</div></div>