Backend

/backend9465

Discussions about backend development

Find the flaw. How could this break?

Goal: development platform for 10+ devs

Why? Client needs it. We build it + personally love building such infra
https://supercast.mypinata.cloud/ipfs/QmYXEJRpGg66dmhVBSVkD5XRgp9SGZYdyqyLHmYicmKFSh?filename=grafik.png
I am once again humbled by my continued role as the perpetrator of my own terrible coding. I was discussing a coding issue with Claude AI and it asked, “what are the values of the constants in your code”?

I…I'm not calling the correct constants in my code. 😩

On StackOverflow I'd get flamed, roasted, downvoted, and my question deleted. Man, I love (helpful) AI.
I don't know why I need to add members to /backend - I already had very little time to manage the channel. So, I added a few mods (that were mods before they got rid of mods and now mods are back) and if you want to be added to the channel, just reply here or DC one of us.
There's finally a growing discussion about moving away from PaaS into simple deployable fullstack services (thanks to @dhh of course).

I'm so here for it. We have been deploying our services to bare metal using https://kamal-deploy.org/ since day 1
If you want to send messages like this, /courtyard may be the place for you
https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/3e82e5e7-26c5-4587-5e5f-4a4db98e4800/original
Loading...
I gotta say, as boring as it sounds, I thoroughly enjoy creating GraphQL schema and mapping it to my EdgeDB functions.
This week we found out during some load tests that our metrics library (cloudwatch) could not keep up with the requests, eventually OOMing the pods. This is an inherent issue with push-based metrics vs pull-based ones (e.g. Prom). With pull-based metrics you do zero outbound API calls, just have the scraper hit your metrics endpoint at a rate that you control. Prometheus ftw!
Incredible home cluster running ecommerce production. Would recommend to read some of the comments.

https://www.reddit.com/r/selfhosted/comments/1dqq3h8/comment/lapril8/
https://supercast.mypinata.cloud/ipfs/QmVq872CvbQTsNM4pVeAP3QW2bc2DPRF3LawXgZEbYnkyz?filename=grafik.png
After a year in production, I can confidently say: GraphQL subscriptions suck. We have much better tools to do the same thing, cleaner, faster, and more efficiently.
Does anyone have recommendations for a good SIMPLE logging service? I just want to be able to put some version of a console.log and via it in some hosted dashboard somewhere else.

I literally do not care about uptime monitoring or anything else.
A hill I'll die on:

nobody would write init_o_auth and a_p_i_endpoint, so miscapitalizing initialisms and midcap words in your javascript variables is wrong (ideal: initOauth, apiEndpoint)
If you're not following Marc's blog, you should https://www.brooker.co.za/blog/2024/06/04/scale.html
Tryna be productive, changing IPs on my domains, wondering how long my domain will resolve to the server, get hit with Linode's "we're undergoing maintenance" message.

SIGH
wow, 7 months later and I'm _again_ struggling with Cloudflare enablement hell. I love the product, but getting the team on the phone to pay them more money is shockingly hard
Loading...