Palantir Foundry Performance Tuning
Optimizes Palantir Foundry API performance and Spark transform efficiency using advanced caching, batching, and resource configuration.
This skill provides Claude Code with the specialized expertise required to identify and resolve performance bottlenecks within Palantir Foundry environments. It automates the implementation of production-grade patterns such as efficient pagination, client-side TTL caching, and batch object retrieval to minimize API overhead. Beyond API interactions, the skill offers specific guidance for optimizing Spark transform builds through incremental processing and resource profile configurations, ensuring your data pipelines are both performant and cost-effective.
Key Features
01Client-side TTL caching to reduce redundant object reads
02Batch object retrieval using search filters to replace N+1 GET calls
03Efficient API pagination logic (max 500 records per page)
04Spark transform optimization with @configure and @incremental decorators
052,083 GitHub stars
06HTTP connection pooling and robust retry strategies
Use Cases
01Optimizing long-running Spark transforms and fixing Out of Memory errors
02Reducing Palantir platform compute costs through efficient data processing
03Accelerating slow Foundry API integrations and external data syncs