mikediarmid.bsky.social
Shipping: π,π,π
-------
Figuring out life one line of code at a time.
π¨βπ» code (dart,ts,rust,c++,python,etc)
π§ͺ homelab (proxmox,unifi,coolify,etc)
π οΈ globe.dev, zapp.run, & more
π 3 x Maine Coon π
π¬π§/π΅π±/πΏπΌ
443 posts
806 followers
362 following
Regular Contributor
Active Commenter
comment in response to
post
added :)
comment in response to
post
I feel seen
comment in response to
post
She is a majestic floof!
comment in response to
post
She's having dental treatment today, got a bad tooth
comment in response to
post
I've not used it enough to give enough of an opinion about it, but have heard good things
If it's Dart I usually roll with Dart Frog tbh
comment in response to
post
elysiajs.com + Drizzle any chance I get, love how schemas and validators are built in and just work: elysiajs.com/integrations... - which means things like Swagger just work too based on your schemas: elysiajs.com/plugins/swag... etc
comment in response to
post
@cloudflare.social workers if not self hosting, + KV, Durable Objects, D1, Queues & R2 etc - powerful
@bun.sh if self hosting to build the api, @coolify.io to run on the servers, postgres, clickhouse or sqlite for DB depending on what im doing, Redis for caching, jobs queues etc
comment in response to
post
depends if you are using compute instances on GCP or serverless Cloud Run/functions
Serverless gives you low initial cost until your product scales, migration from that to serverful at a later date would be more time consuming
However serverful to serverful would be lift & shift with dns changes
comment in response to
post
Love hetzner, use it for anytime I need raw compute or to host something non standard that would cost too much elsewhere
I still favour convenience of not self-hosting when the cost is low or it will always fall into the free or low tier of a provider like Cloudflare
comment in response to
post
self host does significantly reduce cost but comes with extra maintenance overhead, Coolify from @heyandras.dev helps significantly with that
I project I did would have cost around $7k p/m on GCP, self host through hetzner ~$300p/m - this was hundreds of cores and ram - which you won't need
comment in response to
post
- if not afraid of self host then @coolify.io (oss) + servers from Hetzner, preferably the Ampere range for pricing, e.g. CAX21 @ ~β¬7 p/m would likely be more than efficient + either dns from cloudflare to mask IPs or a CF worker to load balance between more than 1 server for failovers if concerned
comment in response to
post
I see,
I'd recommend either:
- @cloudflare.social workers, at about $5 p/m you'd likely have everything hosted within the included limits with no overage needed yet. e.g. host api with workers, D1 sql for DB, R2 for asset storage + make heavy use of the free Cache API in the worker
or,
1/2
comment in response to
post
I see, how much data would you estimate on the database? e.g. <10gb or something much higher
Do you how often would the api called? E.g. ballpark RPS or total requests in a month, and could the type of data it returns be heavily cached?
comment in response to
post
What's the tech stack that is serving these users?
(e.g. what db, webserver etc)
comment in response to
post
We are here! ππ
comment in response to
post
comment in response to
post
π
comment in response to
post
comment in response to
post
That one is cool but it is written in rust though and uses an embedded flutter engine - so it's not portable for making any kind of cli installed through pub.dev
What I'm working on is pure Dart with a sprinkle of FFI π
comment in response to
post
Next step render flutter in terminal πππ would be awesome haha
comment in response to
post
Now we can create UIs for CLI tools π
comment in response to
post
I built all the lower level stuff so technically building a flutter-like api on top would be pretty doable π
comment in response to
post
My fav one so far
comment in response to
post
My fav one so far
comment in response to
post
Spent way too much time just building fun examples instead of implementing library features π
comment in response to
post
bsky.app/profile/mike...