Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Best Practices for Handling Large CSV Files in GCP using Cloud Function

Hi there,

I have a CSV file of around 10GB stored in a GCP bucket. I perform basic operations on this file, such as:

  • Adding a row_count column
  • Renaming columns
  • Formatting the CSV into a proper structure

These are relatively lightweight formatting tasks and not intensive data processing.

Currently, I am using a Cloud Function with the following configuration:

  • Memory: 8GB
  • CPU: 2

Is this setup sufficient for such tasks? Or should I consider using Dataflow or another service?
What would you recommend as a best practice for handling such operations?

Looking forward to your suggestions!

0 5 1,696
5 REPLIES 5