/plushcap/analysis/togai/what-powers-togai

What powers Togai?

What's this blog post about?

Building Togai, a usage-based billing platform, required careful consideration of the right technology due to the large amount of data it processes. The backend architecture is microservices-based, with Kotlin as the primary language for its strong typing and type checking at compile time. Key libraries used include Ktor, JooQ, Flyway, HikariCP, Hoplite, Logback, Koin, JsonLogic, Cohort, JUnit5, and TestContainers. NodeJS was chosen for the ingestion component due to its async IO capabilities. OpenAPI is utilized for language-agnostic API building. The frontend is built with Vue3 JS framework. Postgres and TimescaleDB are used for database management, while NATS serves as the messaging solution. Togai is deployed in AWS cloud using Terraform and Chef for infrastructure configuration management. Docker-compose is employed for local development environments, and testing relies on postman's automation tool (newman).

Company
Togai

Date published
Oct. 10, 2022

Author(s)
Hari Narayanan

Word count
1701

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.