No articles match
Logging calls6 days ago
Levels | Traces | Loggers | Using a logging package | Promises
Asynchronous decorators11 days ago
Why not the blocking version? | Stacking
Choosing and stacking decorators11 days ago
Which decorator do I want? | Stacking order
Fallbacks and running once11 days ago
Returning a default | Stacking with retry and the circuit breaker | Promises | Running once
Retrying failing calls11 days ago
A function that fails at first | Deciding when to stop | Deciding how long to wait | Deciding what to retry | Seeing what is happening | Bounding hung calls | Passing the time on | What it cannot stop | Writing a timeout method | Retrying without blocking | Bounding a slow promise | Writing your own strategies | Putting it together | Notes
Validating arguments and results11 days ago
What counts as a validator | Messages | Which arguments are checked | Validating the result | Handling failures | Combining with other decorators | Promises
Caching results11 days ago
In memory | What counts as the same call | What is and is not cached | Limiting size | On disk | Changing the function | Choosing a file format | With promises | When not to cache | Choosing
Context managers11 days ago
The problem with on.exit() | What withr already does | What contextmanager adds | A worked comparison | With withr, by hand | With contextmanager | When not to use it | Behaviour worth knowing | How it works
Failing fast with a circuit breaker11 days ago
A service that is down | The three states | What counts as a failure | Handling an open circuit | Using it with retry | With promises | Notes
Designing decorators16 days ago
Choosing a style | What a decorated call costs | Pitfalls | State in a call-style decorator | Work done on every call that could be done once | Anonymous functions | Losing invisible() | Recursion goes through the decorator every time | Changing the signature with formals = "replace" | Order of stacked decorators | Reading errors | Mistakes decorator() catches for you | A checklist
Changing a function's signature18 days ago
What you take on | partial | Stacking | curry | Adding an argument | Decorating methods | What it costs
Decorating S3, S4, S7 and R6 methods18 days ago
Defining a method | S3 | S4 | S7 | R6 | Decorating a method that already exists
Writing decorators18 days ago
timed | logged | memoize | once | retry | partial
Setting Credentials and Region1 months ago
Set credentials | Set credentials for all services with environment variables | Get credentials from the AWS shared credentials file | Set credentials for an individual service | Get credentials from an EC2 instance or container role | Get credentials from a command line process | Assume a role with credentials from the environment or an instance/container role | Assume a role with credentials from another profile | Use multifactor authentication when assuming a role | Use AWS Single Sign-On (SSO) | Set region | Set region for all services with an environment variable | Get region from the AWS config file | Set region for an individual service | Set profile | Reference | Credential and option locations and priority | Service settings | Environment variables | Shared credentials file | Config file
AWS S3 Backend1 years ago
AWS S3 Structures | File Types | Useful links
Convert and Save Cost1 years ago
Pricing Details | RAthena's help | Upload Data in delimited format | Convert Data into Parquet or ORC | Insert into table for ETL processes | dplyr method | Reading Material
Getting Started1 years ago
Installing RAthena: | Python Environments: | Docker Example: | Usage: | Low - Level API: | DBI: | dplyr: | Useful Links:
AWS S3 Backend1 years ago
AWS S3 Structures | File Types | Useful links
Convert and Save Cost1 years ago
Pricing Details | noctua's help | Upload Data in delimited format | Convert Data into Parquet or ORC | Insert into table for ETL processes | dplyr method | Reading Material
Getting Started3 years ago
Installing noctua: | Docker Example: | Usage: | Low - Level API: | DBI: | dplyr: | Useful Links:
AWS Athena Unload4 years ago
Pros and Cons | unload=FALSE (Default) | unload=TRUE | Performance comparison: | Set unload = TRUE on package level:
How to Retry?4 years ago
How to handle RAthena's retry? | Configure | Requests | Reading material
Changing Backend File Parser5 years ago
Intro | Change back to data.table | Swapping on the fly | Why should you consider vroom?
Changing Backend File Parser5 years ago
Intro | Change back to data.table | Swapping on the fly | Why should you consider vroom?
AWS Athena Unload5 years ago
Pros and Cons | unload=FALSE (Default) | unload=TRUE | Performance comparison: | Set unload = TRUE on package level:
How to Retry?7 years ago
How to handle noctua's retry? | Configure | Requests | Reading material
AWS Athena Query Caching7 years ago
Intro | Caching benefits | Caching weakness | Cache memory | Clear down cache
AWS Athena Query Caching7 years ago
Intro | Caching benefits | Caching weakness | Cache memory | Clear down cache