+1, we should definitely be enabling at least some caching by default here. Added some comments to the doc.
On Mon, Oct 16, 2023 at 9:27 AM Anand Inguva via dev <dev@beam.apache.org> wrote: > > Hello, > > In Python SDK, the user state and side input caching is disabled by default > for all the runners except FnAPI direct runner(intended for testing > purposes). I would like to propose that we enable the state cache for the > Python SDK similar to other SDKs. I created a doc[1] on why we need to do it, > advantages and disadvantages along with future improvements. > > Please take a look and let me know what you think. > > Thanks, > Anand > > [1] > https://docs.google.com/document/d/1gllYsIFqKt4TWAxQmXU_-sw7SLnur2Q69d__N0XBMdE/edit > >