Home / Companies / Tinybird / Blog / November 2022

November 2022 Summaries

2 posts from Tinybird

Filter
Month: Year:
Post Summaries Back to Blog
Dealing with large CSV files that cannot fit into RAM presents a challenge due to the presence of newline characters within quoted fields, which complicates the file-splitting process. The initial solution involved reading the entire file to accurately identify split points, prioritizing correctness over speed, but this approach proved to be inefficient with Python alone. The team then transitioned to a C implementation using CFFI, significantly boosting performance to 1GB/s. Further optimizations involved simplifying the algorithm and employing SIMD instructions, such as SSE and AVX, to process multiple bytes per iteration, ultimately achieving a processing speed of 3GB/s. Despite the complexity of the final version, these enhancements demonstrate significant improvements in throughput and efficiency when handling large CSV files.
Nov 11, 2022 653 words in the original blog post.
Many eCommerce retailers and large companies are navigating a three-phase data journey, beginning with the consolidation of disparate data into a cloud-based data lake for scalability and ease of analytics. The subsequent phase involves data modeling, where data engineers transform raw data into structured formats to provide a single source of truth, facilitating accurate business intelligence and machine learning applications. While many companies are still focused on these initial phases, there is a shift towards the third phase: operationalizing data to enable real-time applications that require low latency and high concurrency. Traditional data warehouses, though effective for long-running queries and business intelligence, are not designed for these interactive use cases, prompting companies to explore new real-time data platforms such as Tinybird. These platforms offer fast analytical databases and tools to support complex queries on streaming data, allowing companies to maintain their existing data infrastructure while extending capabilities to meet the demands of modern, fast user experiences.
Nov 02, 2022 1,363 words in the original blog post.