How Taxbit achieved price financial savings and sooner processing instances utilizing Amazon S3 Tables


On this publish, we talk about how Taxbit partnered with Amazon Internet Companies (AWS) to streamline their crypto tax analytics answer utilizing Amazon S3 Tables, reaching 82% price financial savings and 5 instances sooner processing instances.

Taxbit is a number one tax compliance suite serving cryptocurrency exchanges, digital platforms, and authorities businesses, producing greater than 100 million kinds for customers and reconciling greater than 500 billion digital asset transactions. The suite powers a fancy surroundings that handles real-time pricing knowledge from 29 cryptocurrency exchanges overlaying over 10,000 digital property.

Lately, Taxbit skilled challenges with their pricing knowledge infrastructure. As knowledge volumes continued to broaden, infrastructure prices rose sharply, placing strain on operational budgets. On the similar time, the system struggled to effectively ingest the rising variety of pricing knowledge factors, creating persistent bottlenecks of their knowledge pipeline. These technical limitations led to prospects lacking knowledge and experiencing sluggish processing instances, resulting in dissatisfaction. Along with these operational challenges, Taxbit has strict regulatory compliance necessities to be thought of when designing options. This mix of points led Taxbit to modernize their pricing knowledge infrastructure with a concentrate on serving to to satisfy regulatory requirements.

“Throughout peak workloads, our options course of lots of of tens of millions of digital asset transactions throughout blockchain and cryptocurrency exchanges,”

– says Clark Roberts, CTO at Taxbit.

“Our legacy database structure was changing into a bottleneck, resulting in elevated prices and slower response instances for our enterprise and authorities prospects.”

Resolution overview

Taxbit’s modernized structure makes use of Amazon S3 Tables with Apache Iceberg as the muse, mixed with purpose-built AWS providers for knowledge ingestion, processing, and analytics. The answer processes real-time pricing knowledge from 29 cryptocurrency exchanges together with over 10,000 digital property. This structure is proven within the following diagram.

This AWS cloud architecture diagram illustrates a comprehensive data pipeline for processing digital assest market data.

The information pipeline structure makes use of AWS providers to ship a complete answer. At its basis, Amazon S3 Tables offers the scalable storage infrastructure crucial for managing massive volumes of pricing knowledge. For knowledge processing and transformation, the answer combines Amazon EMR and AWS Glue, dealing with each extract, rework, and cargo (ETL) operations and asynchronous API necessities effectively.

Actual-time knowledge dealing with is managed by Amazon Kinesis, enabling streaming of pricing updates. AWS Lambda features carry out a number of duties, together with periodic polling of vendor APIs, transformation of streaming knowledge, and knowledge enrichment. The orchestration of those parts is managed by AWS Step Features, serving to to make sure coordination of knowledge workflows. Finishing the structure, Amazon Athena offers question capabilities, supporting each synchronous APIs and one-time analytical queries. This strategy creates a scalable system constructed to deal with each real-time and batch processing workflows whereas sustaining excessive efficiency and reliability.

Information ingestion layer

The ingestion layer operates by two key parts: API integration and stream processing. The API integration makes use of Lambda features to systematically ballot a number of exterior APIs. These polling operations are orchestrated by Amazon EventBridge, which manages the scheduled knowledge assortment duties. Moreover, WebSocket listeners preserve steady connections to seize real-time worth updates as they happen.

On the stream processing facet, Amazon Kinesis Information Streams serves because the spine for dealing with real-time knowledge ingestion at scale. As knowledge flows in, Lambda features carry out transformations and enrichment operations to organize the information for downstream use. All through this course of, customized validation checks are utilized to assist guarantee the standard and completeness of the information, serving to to take care of the integrity of the pricing info pipeline.

Information storage layer

On the storage layer, Taxbit makes use of Amazon S3 Tables due to its optimized storage format designed for analytical queries. Amazon S3 Tables is designed to routinely deal with desk optimization and compaction, serving to to streamline knowledge administration processes. The system additionally incorporates time-travel capabilities, permitting Taxbit to satisfy audit necessities and their want for historic knowledge evaluation.

The information group technique is designed to maximise effectivity and accessibility. Information is systematically partitioned by date and change, permitting for focused knowledge retrieval and improved question efficiency. The implementation of columnar storage additional enhances question effectivity by minimizing pointless knowledge scans. Moreover, model management mechanisms are in place to take care of clear knowledge lineage, enabling exact monitoring of knowledge modifications and transformations over time.

Analytics layer

On the analytics layer, the question engine kinds the muse, utilizing Amazon Athena to facilitate versatile ad-hoc evaluation of the pricing knowledge. That is complemented by Presto-based queries that deal with advanced aggregations effectively. The system contains rigorously crafted execution plans optimized for frequent question patterns, designed to supply constant and dependable efficiency.

To maximise effectivity, the analytics layer incorporates a number of key efficiency optimizations. The system makes use of an Athena reuse question outcome to attenuate redundant processing and parallel question execution capabilities to deal with a number of simultaneous requests successfully.

Safety and compliance

The information safety technique implements a number of layers of safety, beginning with AWS Key Administration Service (AWS KMS) encryption for all knowledge at relaxation. That is complemented by TLS encryption for knowledge in transit, serving to to safe knowledge motion all through the system. Entry to knowledge and sources is managed by AWS Id and Entry Administration (IAM), offering fine-grained permissions that implement the precept of least privilege.

The audit path element offers complete monitoring and compliance capabilities. AWS CloudTrail logging captures detailed information of system actions, enabling thorough safety evaluation and incident investigation. Information lineage monitoring maintains clear information of knowledge motion and transformations all through the pipeline. These options are augmented by sturdy compliance reporting capabilities, serving to the system display adherence to regulatory necessities and inner governance insurance policies. Collectively, these safety controls create an surroundings that protects delicate knowledge, maintains transparency, and offers accountability.

Enterprise impression

Most notably, Taxbit achieved an 82% discount in storage infrastructure prices, whereas concurrently delivering processing speeds 5 instances sooner than their earlier structure. Information completeness for calculations achieved roughly 99.99% accuracy and the workload can now efficiently help over 10,000 digital property.The advantages prolonged past these quantitative enhancements. Buyer expertise has improved, with transaction pricing instances shrinking from hours to minutes. Larger throughput capabilities elevated operational effectivity, enabling sooner knowledge loading whereas decreasing compute prices. The brand new structure additionally established a scalable basis that gives sooner knowledge entry and the pliability to broaden into new markets. The trendy infrastructure has additionally enabled Taxbit to pursue new product choices by supporting superior analytics and real-time insights that have been beforehand unattainable. These capabilities created new enterprise alternatives and income streams that weren’t doable beneath the constraints of the legacy system.

Conclusion

Taxbit’s implementation of Amazon S3 Tables has reworked their cryptocurrency tax compliance options, delivering 82% price financial savings and 5 instances sooner processing speeds. The modernized structure, combining Amazon EMR, AWS Glue, Amazon Kinesis, and Lambda, now processes transactions in minutes as a substitute of hours. Moreover, the structure has helped Taxbit preserve roughly 99.99% knowledge accuracy throughout greater than 10,000 digital property. Past operational enhancements, this transformation has enabled new product choices and real-time analytics capabilities. By partnering with AWS, Taxbit addressed their scaling challenges and constructed a basis for continued innovation within the digital asset house.

For extra info, see Amazon S3 Tables.


In regards to the authors

Larry Christensen

Larry Christensen

Larry is a Principal Engineer at Taxbit primarily based within the Salt Lake Metropolis space. He’s spearheaded many architectural, huge knowledge, and AI transformations throughout Taxbit.

Washim Nawaz

Washim Nawaz

Washim is an Analytics Specialist Options Architect at AWS with in depth skilled expertise constructing and tuning knowledge warehouse and knowledge lake options. He’s obsessed with serving to prospects modernize their knowledge platforms with environment friendly, performant, and scalable analytics options. Outdoors of labor, he enjoys watching sports activities and touring.

Derek Ziehl

Derek Ziehl

Derek is a Senior Technical Account Supervisor (TAM) at AWS. He has a background designing large-scale community techniques and managing cloud migrations. As a TAM he enjoys enabling prospects to run resilient, optimized workloads on AWS.

Pranjal Gururani

Pranjal Gururani

Pranjal is a Options Architect at AWS primarily based out of Seattle. Pranjal works with numerous prospects to architect cloud options that tackle their enterprise challenges. He enjoys mountaineering, kayaking, skydiving, and spending time with household throughout his spare time.