Forum Discussion

JeroenVDM's avatar
JeroenVDM
Regular Visitor
6 months ago
Solved

Does the 2 VCores = 1 CU conversion also hold for Python Experience notebooks?

Hello,   I'm trying to asses the possible cost savings of switching from PySpark to regular python notebooks for small to medium data.   The Microsoft documentation states that "Two Spark VCores ...
  • deborshi_nag's avatar
    deborshi_nag
    6 months ago

    Hi JeroenVDM what I meant is for large datasets, involving complex joins/windowing, or high parallelism, a single Spark session (sized appropriately) will finish faster and often cheaper in aggregate because it can distribute the work—especially with the Fabric's runtime 1.3 Native Execution Engine. Bear in mind you have the option to create Custom pools, with the right node size and scalability.  

     

    However, for samller datasets, if you're using DuckDB or Polars (that are high performance in-process analytical engines), you might get it run cheap on Python notebooks. 

     

    I didn't refer to the multithreading aspect in my first comment. 

     

    It is best you do some experimentation using your own small/medium and large sized datasets.