Skip to main content
Solved

How does the timeout restriction work in the functions?


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  

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img
  • Seasoned Practitioner
  • 285 replies
  • 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
  • Seasoned Practitioner
  • 671 replies
  • April 15, 2024

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


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings