Inspiration

  • Working in Rust
  • Working on usage, a growing part of the subscription industry

What it does

  • Collects raw usage from the customer
  • Aggregates usage data and sends it to billy

How we built it

  • We built it in Rust, using Jelly as a starter, sqlx and postgres for storage, and HTTP for the API
  • We also wrote a script in python for testing

Challenges we ran into

  • Rust is confusing
  • Did not have time to fully implement the billy side of things
  • Performance is still a bit slower than we would like it to be

Accomplishments that we're proud of

  • We built it!
  • We are more confident in rust now
  • We actually implemented aggregation on the agent

What we learned

  • How to write good rust
  • The limits of performance

What's next for 009: Secret Agent Usage

  • Improve performance. Switch to sqllite or other fast DB
  • run jobs based on configured timer instead of being called manually
  • Implement billy acceptance of aggregated data

Built With

Share this project:

Updates