HNHacker News
TopNewBestAskShowJobs

hekike

107 karma · joined August 26, 2014

submissionscomments
hekike··on The Two Types of Future Developer
Exactly! And as the boundaries between specializations like backend, frontend, embedded, and data science are going away, developers can express their creativity on an entirely new level. Generalists will thrive in the future!
hekike··on Ask HN: How to offer AI services with my H100?
You can check https://openmeter.io for usage metering and billing.
hekike··on Ask HN: Which JavaScript lib for metering APIs should I use?
https://openmeter.io with Stripe. also available OSS: https://github.com/openmeterio/openmeter
hekike··on Ask HN: How did you set up usage-based billing?
I wrote an article this year about how to setup UBP with Stripe. I hope it helps: https://openmeter.io/blog/implementing-usage-based-pricing-w...
hekike··on Robust Usage Reporting with Stripe
This is a great insight; thanks for sharing!
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
In the meantime, we looked more into metering and metrics and shared some thoughts here: Usage Data: Auditable or Operational https://news.ycombinator.com/item?id=36616364
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Internal usage is basically Cloud Unit Economics: https://www.finops.org/wg/introduction-cloud-unit-economics You treat infra teams as providers and price-in their services. For example you may price Compute team by "selling" vCPUs, DB team by selling GB stored per month and product team per business transactions. Each team builds on top of each other and buys a service from their downstream provider. Like product team buys DB storage, DB team buys vCPU to run DB etc. If you price in these internal resources (rate cards) and track usage you can attribute cost to each team based on their consumption. These internal bills together equals to the total company wide AWS bill. This not just creates accountability for teams but you can also do margin analysis and tell if certain team's product is profitable. Engineers can also plan future services and architecture by estimating cost like, new service will store 1TB/day which will cost X and then business/PMs can make decision based on it. It's a also a great way to optimize cloud cost beyond obvious isolated things like upgrading instance types as it tells you where optimization needs to happen, which provider need to lower their cost to increase margins.
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Very cool, thanks for sharing. I like this reporting approach, once you have the usage data aggregated somewhere a state machine is a great way to report usage to Stripe. Do you trigger the Inngest billing fan out end of the month CRON style or when Stripe changes billing period and triggers a webhook to Inngest?
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
I think it's substantial risk for the core business. To be able to glue usage to invoice, Orb has to become the source of truth and billing engine top of Stripe, while Stripe is still the payment gateway. This creates a fragmented world where the customer has to use both systems simultaneously; this is challenging especially that Stripe ships features fast and frequently, leaving the customer exposed and vendor locked.
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Thank you for the honest feedback on the landing, appreciate it. Yes, we should make it more informative. Maybe docs is more useful in the meantime: https://openmeter.io/docs
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Great question. It has two components for OpenMeter: 1. My personal frustration when I had to do usage-metering at Stripe and wanting to have a standard for it, like how we have it for metrics. I also find it silly that every company trying to figure this out on their own. 2. We want to build usage collectors for common cloud components and third-party APIs and I think it's going to be easier to do it together as a community instead of working in silos.

But yes I agree, it's more challenging to build in open but I think it benefits the customer, the quality has to be there.

hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
It depends on your use-case. On a higher-level OpenMeter focuses on the data challenge to collecting usage data from infrastructure components on scale, and providing aggregated meters real-time. The other platforms you mentioned focuses more on billing with some metering component. For example Lago looks like writes all events to a relational database first than aggregates usage at query time when they do billing. Metering with a database has some limitation when it comes to scale or when you need to monitor meteres real-time and trigger actions based on them. I can see for example some combining OpenMeter with other billing platforms to have a scalable usage-based billing.
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Cool, thanks for sharing it. Would you use SaaS usage for cost analysis or to charge your own customers for shared resources?
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Those are all solid products for billing. Tough none of them are both open-source and have the scalability of streaming aggregation. Even Lago is AGPL which can be challenging for some.
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
That's a great insight, thanks for sharing. Would it be the ideal solution code / config driven, something like: SELECT user, SUM(runtime) FROM usage => invoice_template(Z) Wdyt?

Btw how do you handle idempotency with time series? I think replays and least-once delivery in distributed systems can be challenging around usage collection if you don't have a key to deduplicate by.

hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
I like the idea of meter all primary business executions by default and pick what you want to use later. This is useful if you want to do cost analysis, iterate on pricing, etc.

Would you track API calls by default like a usage-based third-party (OpenAI API, Twilio, etc.)? Or your own web server (Lambda, Next.js etc)? Or both.

hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
You can find the architecture diagram here: https://openmeter.io/docs Decisions: https://github.com/openmeterio/openmeter/tree/main/docs/deci...
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Thank you. Do you have learnings or use-case you can share and you want to see OpenMeter to cover?
hekike··on Launch HN: OpenMeter (YC W23) – Real-Time, Open Source Usage Metering
Thanks for letting us know! We fixed it, also here is the link to join: https://discord.com/invite/nYH3ZQ3Xzq See you on Discord ;)
hekike··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
This is awesome! So no more pbpaste | base64 | pbcopy with Kubernetes secrets? I won't miss base64 and yamls.