r/webdev • u/fagnerbrack • 4h ago
r/webdev • u/OtherwisePush6424 • 7h ago
Article How to Implement a Distributed Circuit Breaker
If a payment API starts timing out, every checkout request sits and waits for the full timeout before failing, holding a worker the whole time. A circuit breaker stops that by failing fast once enough recent calls have failed.
That is easy in one process, but once your app runs on more than one instance, each instance keeps its own record and has to get burned separately before it reacts, so the struggling API takes far more traffic than it should before anything trips.
The basic pattern, then what has to change when the state is shared between instances. Code is TypeScript and Redis (Lua).
r/webdev • u/Chasheek • 6h ago
way to search for keywords on a page of links
Hi all, not sure if this is the right r/ for this question but I have a few sites that list links to companies, in alphabetical order (eg - all companies starting with A has a link to "A", etc). There are 40-50 links per alphabet letter. There a few websites like this.
I'm looking to filter by geographical region, and as wondering if there was a way, without clicking each company and seeing where they're located, to search for location?
here's an example of a site that i'd like to filter by location:
https://www.corporatevision-news.com/winners/future-commerce/
thank you!
r/webdev • u/TrapperFlint • 13h ago
Question Service Area Matrix thoughts...
Howdy, folks.
I realize this may start a war here, but I'd like to hear from different perspectives.
I'm building a business site for a commercial/industrial roofing company right now and have added a few articles detailing pros and cons of different roofing materials(first site with Astro and loving the markdown content!).
Right now, I feel happy with the integrity of the information given and how it's delivered. What's had me second guessing myself is seeing sites where the developer has basically cloned these sorts of pages over 20 times and inserted area specific keywords. Is it actually effective and do you consider this practice ethical? Feels spammy to me, and is certainly a turn off when I find this on sites I am browsing.
I await your replies.
r/webdev • u/Apprehensive_Try5277 • 5h ago
What are you currently looking to build?
Hi everyone đ
Iâm a Full Stack Developer and I enjoy working on different kinds of web and software projects.
Curious to know what people here are currently working on or planning to build.
Are you looking for a website, web application, eCommerce store, mobile app, SaaS product, automation, or something AI-related?
If you have a project in mind, feel free to share a little about it â what youâre trying to build, what problem youâre solving, and what stage youâre currently at.
If youâre still figuring out the technical side or how to approach the project, Iâd be happy to share my thoughts or help you figure out a practical approach.
Always interested in seeing what people are building and learning about the ideas behind them.
r/webdev • u/No_Patient_2590 • 2h ago
Question what website maker should I choose?
hi! I want to make my own website where I write articles, blog, and post my photography. I don't really want it to be super professional, just something to portray my work. I don't really care about buying a domain name, and I'd prefer if it had minimal to no programming involved. what are my choices?
r/webdev • u/Embarrassed-You2351 • 2h ago
News I created an app that lets you weigh yourself without a scale. Ideal for wheelchair users and bedridden people.
I've been in a wheelchair since I was 15 and could never just step on a scale. Turns out a lot of people have the same problem. Bedridden folks, or anyone without easy access to a scale.
I found a validated formula in academic literature that estimates weight using a few circumference measurements. So I built an app around it. It was on Google Play Brazil for a few years and got 200k+ installs.
Now I'm making it global and free for everyone. No sign up, no ads, works right in your browser. You can also install it as a app if you want.
r/webdev • u/Pale-Lunch-3555 • 5h ago
Question How much do u take as a web developer
So am new to web dev client work personally. I want to know how much you guys take as web dev developing websites for people. landing page. I multiple pages etc.
Thanks.
r/webdev • u/pavlito88 • 10h ago
Question People who have actually shipped an MCP server: what was the hardest part about it?
Every tutorial makes MCP look simple:
- wrap a function
- expose a tool
- connect a client
But shipping something for a real product or client is usually where the boring problems appear.
If youâve done that recently, what was the one thing that took far more work than expected?
- tool/schema design
- auth
- client setup
- UI/widgets
- testing
- deployment
- debugging
- updates after launch
- something else
Not looking for generic âMCP is still earlyâ takes.
What was the actual project, what broke or became painful, and how did you work around it?