TECHNICAL DEVELOPMENT UPDATE. Our devs undertook the job of refactoring SNS Collectors.

14 Apr 2023, 11:46
TECHNICAL DEVELOPMENT UPDATE 🛠 Our devs undertook the job of refactoring SNS Collectors. It’s part of SNS Optics that collects & aggregates data for anything SNS related. Refactoring stabilized this API & allows for almost real-time updates on our website 👇 To do this we had to completely rewrite the collector infrastructure, with 3 goals in mind: 1️⃣ Sharing as much code as possible between different data sources 2️⃣ Running the entire collector set as 1 process for better sharing of resources 3️⃣ Better error logging & handling The above article focuses on the use of traits, generic objects and dynamic typing to maximize code sharing It’s easy to say that the API was stabilized & speed enhanced but not always as easy to understand the deep digging involved to bring this about Relying completely on the blockchain requires us to sometimes compensate on speed/efficiency. However, w the trading activity involving SNS something had to be done Hence we wrote the dev note above for our more tech savvy crowd to better understand the heavy lifting required