Skip to main content
Answer

How does the timeout restriction work in the functions?

  • April 5, 2024
  • 3 replies
  • 71 views

Hi everyone,

 

 

I would like to know if there are timeout restrictions for functions, as I've been executing a function that reads data from a RAWs table in batches, and since there are many records (1M), it takes up to 10 minutes and I get a timeout error. Is there a way to configure this restriction? Running the same function code on a local machine takes around 2 or 3 hours.

 

Regards,

Karina Saylema

@Aditya Kotiyal  @HanishSharma  @Jason Dressel  @Jairo Salaya @Liliana Sierra 

 

 

Best answer by Jason Dressel

@Karina Saylema 
Functions limits are based on the base cloud provider limitations.  These are documented here: https://docs.cognite.com/cdf/functions/technical

 

I’d like to understand your workflow intent for using Cognite Functions.  I’d be happy to help with solutioning.
Could you leverage CDF transformations?  Transformations can read from CDF Raw and write to many targets: CDF Staging (Raw),  CDF Resource Types and Data Models.
Could you partition your use case?
 

-Jason  

3 replies

Forum|alt.badge.img
  • Seasoned Practitioner
  • Answer
  • April 6, 2024

@Karina Saylema 
Functions limits are based on the base cloud provider limitations.  These are documented here: https://docs.cognite.com/cdf/functions/technical

 

I’d like to understand your workflow intent for using Cognite Functions.  I’d be happy to help with solutioning.
Could you leverage CDF transformations?  Transformations can read from CDF Raw and write to many targets: CDF Staging (Raw),  CDF Resource Types and Data Models.
Could you partition your use case?
 

-Jason  


Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2

Hi @Karina Saylema,

Can you please provide Jason with the information he requested?


Hi Jason, Dilini

Thank you very much for the information, I will try converting the sequences with the transformations