Increasing throughput for Local Activities

We are using Temporal as the orchestration framework of our choice. However, not all the orchestrations for us need to be stateful. We are using local activities for them but they still persists data in Cassandra. Is there any way to completely bypass Cassandra or reduce the overhead if certain orchestrations don’t have to be stateful? This will help us to have a single workflow for both stateful and stateless orchestrations.

Which SDK are you using?
Your local activity executions are going to generate and event (MarkerEvent) in event history so will be persisted in history service. You can in some SDKs set config to not include your local activity arguments in the marker event that can reduce the event history overhead.