-
1. Re: Multithreading/Multiprocessing in Python Tableau SDK
Jeff D Jun 25, 2016 2:11 PM (in response to Partha Dutta)Hi Partha, multithreading is not supported in the SDK. If performance is critical, I would use performance monitoring tools to identify the bottleneck. If the bottleneck is not the SDK, then you could use multiple producer threads feeding into a single consumer thread (the thread for the Tableau SDK). If the bottleneck is the SDK (the more likely scenario), then consider a hardware upgrade (e.g, faster CPU or higher performance disk subsystem, depending on what you see in the performance profiles).
-
2. Re: Multithreading/Multiprocessing in Python Tableau SDK
Partha Dutta Jun 28, 2016 10:59 AM (in response to Jeff D)Jeff,
I have re-written my app to use the multiple producer/single consumer model. Still facing the bottlenecks. I've tried using a RAMDISK as well for the disk subsystem and still am not getting the performance I need. Is there no way to do a large batch of inserts with the SDK? Is it even supported by the tdeserver?