this post was submitted on 13 Aug 2024
53 points (92.1% liked)

Technology

59605 readers
4225 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Nomecks@lemmy.ca 3 points 3 months ago (5 children)

Is there a benefit to doing CoW with Pandas vs. offloading it to the storage? Practically all modern storage systems support CoW snaps. The pattern I'm used to (Infra, not big data) is to leverage storage APIs to offload storage operations from client systems.

[–] sem@lemmy.ml 2 points 3 months ago (2 children)

If you are doing data processing in pandas CoW allows to avoid of a lot of redundant computations on intermediate steps. Before CoW any data processing in Pandas required manual and careful working with code to avoid the case described in the blog post. To be honest I cannot imagine the case of offloading each result of each operation in the pipeline to the storage…

[–] Nomecks@lemmy.ca 2 points 3 months ago (1 children)

So you would be using CoW in-memory in this case?

[–] sem@lemmy.ml 1 points 3 months ago

If I already use Pandas for processing my data in-memory, CoW can significantly improve the performance. That was my point.

load more comments (2 replies)