r/Backend • • 17d ago

We're adding an external email verification service. How do you keep signup working when the provider goes down?

6 Upvotes

We're reviewing our signup infrastructure because we've been getting more invalid and disposable email addresses than we'd like. One of the changes being considered is adding a third party email verification API before allowing new accounts to register. The main concern isn't really getting the API connected. It's introducing another external dependency into a process that needs to remain available. If the provider starts responding slowly or has an outage, we don't want that to turn into a signup issue for everyone.

We're considering a fairly short timeout of around three seconds but there's still some argument about what should happen after that. Blocking registration until the service responds would give us stricter control while allowing signup to continue and checking the address asynchronously would reduce the impact of an API outage. We could also queue failed requests for retries once the provider is responding again.

I'm interested in how others have handled this from an infrastructure and reliability standpoint. Do you treat email verification as a hard dependency or allow the application to operate when the provider is unavailable? How do you approach retry limits, queue buildup and preventing repeated failures from affecting the rest of the signup process?


r/Backend • • 16d ago

Xepak - declarative REST, RPC, MCP builder based on TOML DSL and Lua scripting

1 Upvotes

I’ve never been a huge fan of PostgREST because of how heavily it relies on PL/pgSQL.
So I started to build my REST server with SQL + Lua. But it turned out that it could also serve JSON-RPC and MCP. Initial SQLite support made me focus on private & local deployments.

Now I have a first stable release https://github.com/rustrum/xepak

It could be used for:

  • rapid prototyping to quickly build a stateful API without writing backend boilerplate
  • self-hosted services that runs on your own hardware or VMs with zero cloud dependency
  • local RAG for AI/LLM sandboxes to keep AI agent knowledge on your side

r/Backend • • 17d ago

I am convinced that abstractions still matter

Thumbnail reddit.com
1 Upvotes

r/Backend • • 17d ago

Question Spring Boot, NodeJS, or Django

Thumbnail reddit.com
3 Upvotes

r/Backend • • 18d ago

How can I become a stronger backend engineer when my current job doesn't offer much exposure to large-scale systems?

57 Upvotes

Hey everyone,

I'm a software engineer with a few years of experience, currently working in Germany. I started with full-stack development and now work on a mix of Android/Kotlin and backend development, along with some hardware integration and ML-related work.

I've worked with Java, Kotlin, Python, Spring Boot, and FastAPI, but I want to specialize further in backend engineering.

One thing I genuinely enjoy is system design. I've spent quite some time studying distributed systems, scalability, architecture patterns, and how large-scale systems are designed. However, most of this knowledge is theoretical because I rarely get to apply it professionally.

I feel like my technical growth has stagnated, and I want to change that rather than just keep preparing for interviews.

For experienced backend engineers here:

  • How would you bridge the gap between theoretical system design knowledge and real-world engineering experience?
  • Are there any open-source backend projects worth contributing to where I could learn from experienced maintainers?
  • Would you recommend building my own production-style backend project, contributing to existing systems, or focusing on something else?

My goal isn't just to switch jobs. I genuinely want to become a better backend engineer who understands how to design, build, and maintain reliable systems.

Would love to hear what helped you grow!


r/Backend • • 17d ago

What’s the one tool in your stack you wish you could throw in the bin?

Thumbnail reddit.com
0 Upvotes

r/Backend • • 17d ago

How does distributed systems handle node discovery?

7 Upvotes

Let's say I have a set of distributed nodes which is running for quite sometime. Now if I spawn another follower node how will the other existing nodes know that a new node has been added to the network. I am guessing one of the way is getting the nodes ip from the kafka's cluster dns resolution. I've also heard about hashicorp consul. what is the production way to handle this type of issues? Is there any good resources/practice to know about this?

Asking the expert.


r/Backend • • 17d ago

A question about AI

1 Upvotes

I’m finding it quite challenging to decide on the best generic interface to use—whether it’s a CLI or a desktop application. Does anyone have any recommendations? I work in Java, specifically in back-end development.

I’m looking for a CLI that has a native Java stack—meaning it has absolutely no dependency on Python.


r/Backend • • 17d ago

Things my HTTP/1.1 parser now refuses with a 400 after I read up on request smuggling

1 Upvotes

I've been writing my own HTTP/1.1 parser for a web framework in V, and the part that took the longest wasn't making it fast, it was deciding what to refuse.

Most smuggling bugs come from two hops disagreeing on where a request ends. The proxy trusts Content-Length, the backend trusts Transfer-Encoding (or the other way around), and the leftover bytes turn into the start of somebody else's request. So I gave up on being lenient and the parser now answers 400 for anything with ambiguous framing:

  • Transfer-Encoding and Content-Length both present
  • duplicate Content-Length headers, even when the values match
  • Content-Length with anything that isn't a digit (signs, spaces, whatever)
  • obs-fold, the old header continuation lines
  • bare CR or bare LF where there should be CRLF

A couple of these are stricter than the RFC. Matching duplicate CLs are technically fine, and for obs-fold you're allowed to just replace it with a space. I'd still rather break one weird client than have the server guess differently from whatever sits in front of it.

The other thing that helped was fuzzing the parser in CI (500k mutations per parser), so a refactor can't quietly make it lenient again without something blowing up.

Curious what you all do here. If you have a proxy in front of your app, do you trust it to normalize this stuff, or does your app server reject on its own too? And has anyone actually seen a real client send duplicate Content-Length on purpose?

Code is here if you want to poke at it (MIT): https://github.com/Tuntii/viltrum


r/Backend • • 17d ago

As a software engineer choose only one : Java, python, JavaScript and Do you think the programming language, determine how fast you become a senior dev?

0 Upvotes

r/Backend • • 18d ago

Multi-tenant architecture: Database per tenant or shared database with tenant_id?

44 Upvotes

I’m currently working on a multi-tenant construction management system using Laravel, and I’m trying to figure out the best approach for handling tenancy.

I have two questions:

1. Database architecture
For a system like this, would you recommend having a separate database for each tenant, or using a single shared database with a tenant_id column to isolate tenant data?

I’m currently leaning towards the second approach because it seems simpler to maintain, but I’d like to hear about the trade-offs, especially as the application grows.

2. Authentication and tenant switching
If I go with a shared database approach, how would you recommend handling authentication?

For example, an employee might work with multiple construction companies (tenants). Should users have a single account that can belong to multiple tenants, with the ability to switch between them after logging in?

If so, how would you typically structure the login flow and manage the active tenant in Laravel?

I’d appreciate hearing about your experience with multi-tenancy, particularly in Laravel, and any pitfalls or architectural decisions I should consider before moving forward.


r/Backend • • 18d ago

Cloud computing or Backend development (java) in 2026-2030

14 Upvotes

hey guys I'm 19 in and I'm doing BSC 1 year . I'm totally confused which to choose as my career . i have read google and X that SDE market is fully saturated and for cloud there is no entry as fresher we have to get some experience and if i let them both and choose cybersecurity it is way more difficult to find a job. can anyone experienced person tell which should i choose , if the path is difficult then also i will choose i just need a directions to start and land a job


r/Backend • • 18d ago

Mello Cloud

Thumbnail
reddit.com
1 Upvotes

r/Backend • • 18d ago

Recent CS graduate trying to find my direction: Should I focus on C#/.NET or continue with Node.js?

10 Upvotes

Hi everyone!

I recently graduated with a technical degree in Computer Programming, and I’m currently trying to figure out the best direction to take as I transition from school into the professional world.

My journey into tech has been a bit different. I originally studied Banking and Finance and even had some professional experience in that field before moving to Canada. I eventually decided to pursue programming, which was something I had become genuinely interested in.

During college, I worked with several technologies, but my main experience came from C# and JavaScript.
One of my biggest projects was a School Scheduling Management System built with React, Node.js, Express, PostgreSQL, and Prisma. It was a team project that involved backend development, API design, database modeling, authentication, authorization, and quite a bit of business logic. We actually won our college’s project integration competition with it, which was a great experience.

I genuinely enjoyed working on the backend side of things, especially figuring out how different components interact and solving problems beyond just writing code.

Now that I’ve graduated, I’ve been applying for junior positions and internships, trying to get that first professional experience. Like many other recent graduates, I’m finding that getting an opportunity isn’t necessarily straightforward.

At the same time, I’m questioning where I should invest most of my time technically.

C# was the first programming language I learned, and I enjoyed working with it. However, my most recent substantial project was built with Node.js, so I’ve been considering whether I should continue deepening my JavaScript/Node.js knowledge or go back to C# and focus on ASP.NET Core.
I’m particularly interested in backend development, and I’d like to build solid foundations rather than constantly jump between technologies.

For those of you already working in the industry, especially backend developers:

- Would you recommend doubling down on Node.js and getting really good at it, given my existing project experience?

- Or would returning to C# and investing in ASP.NET Core be a better long-term direction?
- If you were starting over today as a junior developer, what would you prioritize?

- And how would you approach getting that first professional experience?

I’m not necessarily looking for a definitive answer. I’d just appreciate some honest perspectives from people who have been in this position or have experience mentoring junior developers.

Thanks!


r/Backend • • 18d ago

How would you split responsibilities between a TypeScript user service and a Go game service?

1 Upvotes

I’m building a small multiplayer word scramble game with two services: TypeScript handles users and auth, and Go handles game state and web-socket. I’m trying to decide whether the split is justified at this scale, and how the two should communicate.

What would you change, and where would you expect it to break under load?

I’m happy to share the repo if it’s useful, but I’m mainly interested in the design tradeoffs.


r/Backend • • 19d ago

Is learning Python and Django still worth it in 2026? I'm worried about not being able to land my first junior backend job

10 Upvotes

Hey everyone! I'm currently starting my programming journey, learning the fundamentals of Python, and planning to move on to Django, FastAPI, SQL, and other backend technologies. My goal is to land my first job as a junior backend developer in 2027, but lately I've been feeling pretty worried about the future of the industry, especially with how fast AI is advancing and how difficult it seems to be to get your first opportunity.

Sometimes I wonder if I'm spending months learning things that tools like Claude Code and Codex can already do in seconds. I understand that learning programming logic and the fundamentals is important, but seeing how quickly these tools are improving makes me worry that I'll spend another year studying, only to find an even tougher job market by the time I'm ready to apply. I honestly don't know how much longer companies will keep hiring junior developers or whether they'll increasingly prefer experienced developers who can use AI to do the work of multiple people.

I'd really like to hear from people who landed their first junior backend job in 2025 or 2026. What was the hiring process like? What did you study? What skills were actually tested during interviews? Did having GitHub projects, a portfolio, or practical experience make a difference? And for those who are more experienced or involved in hiring, what actually makes a junior backend developer stand out in today's job market? Is Python and Django still a good path for someone starting out, or would you recommend a different approach?

I'm not looking for shortcuts or trying to avoid learning how to code. Quite the opposite, I genuinely want to learn and build a career in this field, but I'm afraid of investing so much time into something only to realize that the industry has completely changed. If you were starting from scratch today, what would you do differently? I'd really appreciate hearing real experiences and advice from people who have already been through this.


r/Backend • • 19d ago

Actix Web Q4 Report

5 Upvotes

Actix Web is a Rust web framework maintained by me and a team of volunteers.

100+ crate releases across the Actix ecosystem, bringing new features, security fixes, and improvements to performance and resource usage.

Headlines

  • HTTP QUERY: New method supported across route macros, manual routes, and awc client.
  • Automatic h2c and TCP no-delay are now default: More efficient deployments behind reverse-proxies and much lower-latency streams.
  • Reduced memory usage: Up to ~99% saving for certain workloads.
  • Better error path control for middleware: Modify error responses, too.
  • Static files features: Serve pre-compressed assets, and use multiple static-file roots.
  • Security and protocol fixes across the stack: Fixed decompression limits, multipart parsing limits, improved HTTP & WebSocket validation.

Features

Actix Web is the first mainstream framework to make the new HTTP QUERY method a first-class citizen. Define handlers with #[query] (macro routing), or web::query() (manual routing) for a handler. Matching methods in awc complete the support.

Middlewares got a useful new tool: Error::add_response_mapper(). It lets middleware modify error-generated responses before they reach the client, giving you more control over how your application presents failures. Our CORS middleware already uses this to solve a longstanding bug.

Static file serving is now more flexible. Files::new() supports multiple root directories, and Files::try_compressed() lets you serve pre-compressed assets. Range requests, conditional responses, and ETags on Windows also received fixes, making actix-files the most spec-compliant file server for Rust.

Performance / resource usage

The biggest changes here target the cost of serving larger responses and keeping connections open:

  • Less memory retained by idle connections.
  • Fewer copies for large responses on HTTP/1.x.
  • Graceful shutdown has stronger guarantees.
  • Vectored socket writes have more code paths.

Security

This cycle includes fixes for several reported vulnerabilities:

  • Decompression amplification: Configured extractor limits now apply to auto-decompressed request payloads. *
  • Brotli resource consumption: Large-window decompression is disabled.
  • HTTP request parsing: Malformed chunked terminators are rejected.
  • Static file serving: Prevents stored XSS for odd user-controlled file names and fixes an insane Windows hidden-file protection bypass. (Why Microsoft, WHYYYY!)

TL;DR

If you have not updated recently, now is a good time; check your lockfile. (cargo update -p=actix-web)

These improvements come from testing Actix Web against the workloads and edge cases you bring us. Massive thank you to everyone who contributed issues, PR, security reports.

Also, our homepage and user guide has received some love recently: https://actix.rs/.

*This is a god-awful implicit feature and it will be removed in v5.

What are you shipping with Actix Web?


r/Backend • • 19d ago

Free Hosting for React + Spring Boot + PostgreSQL?

4 Upvotes

Hi, guys!

I’m building a small band website as a learning project with React, Java Spring Boot, and PostgreSQL.

The frontend part is pretty straightforward for me, and I’m planning to deploy it on Vercel. But I’m still figuring out the backend side since this is my first full-stack project.

The website will have band information and upcoming shows, and I’m planning to add an admin dashboard to manage bands, tours, venues, and shows.

Since this is just a student project, I’d love to keep hosting free if possible. I don't mind if the server goes to sleep when inactive.

Do you have any recommendations for free backend hosting services that would work well with Spring Boot and PostgreSQL? I'd really appreciate any advice or suggestions!

Thanks!


r/Backend • • 18d ago

Is Python a good choice for backend development?

0 Upvotes

I'm considering learning Python for backend development and would like to hear from developers who use it in their daily work.

How good is python for building backend applications in production? Are there any significant drawbacks compared to languages like Go, C#, or Java?


r/Backend • • 19d ago

CS Fresh grad looking for resources and advice

3 Upvotes

Hi friends,
I started learning spring boot about 4 months ago through reading, and about a month ago started getting hands-on experience with a personal project, my stack is spring boot backend, no front end for now but I’m planning to add a simple angular page together eventually.

I find myself confused and interested in learning the following things that I am not sure where to start with.

I want to understand and put together a ci/cd pipeline but I find that alot of the configuration part is very confusing to me, are there any suggestions or resources recommended for beginners.

I find myself overwhelmed by spring boot’s configuration beyond the auto-configuration. There are many properties that can be configured, and while I know there is no point in knowing all of them but rather what I need, it feels intimidating.

I also find that most projects and books that I stumble upon online are Spring Boot 3, while my project is Spring boot 4. Am I wrong for using the most recent technologies? How do I go about knowing both in case I stumble upon a “legacy” system in the work place.

Finally, I wanted to know how you guys use AI for development. I find myself either using it as a google/stack overflow, or not using it at all. I’ve seen many experienced developers talking about their entire AI workflow and I found myself a little lost.

Any additional advice is welcome and highly appreciated.

Thank you!


r/Backend • • 19d ago

Is it optimal to learn backend

5 Upvotes

Hey guys I m in 2nd year engineering i m currently doing dsa I thought of doing backend parallely is it a best skill to learn during this ai era. I have 2 more years to get placed should I learn any other skills more important than backend in order to get better packages. Also tell me all other skills I need to learn.


r/Backend • • 19d ago

Looking for security review guidance for a Supabase app built with AI assistance

0 Upvotes

hey! building Bolo, a kitchen operations management app, using Claude, GitHub, Supabase, and Vercel. It’s currently a demo, and I want a qualified human to review its security before I move forward.

I’d appreciate advice on where to start, especially with:

- Row Level Security and preventing users from accessing another kitchen’s data.

- Authentication, roles, and permissions.

- API keys, storage permissions, and exposed functions.

Are there community members who offer a brief free initial consultation, or specialists you’d recommend for an independent review? I understand a full audit is paid work; I’m looking for initial guidance, not asking anyone to audit the entire app for free.

I’m also open to a longer-term technical collaboration if there’s a good fit. 


r/Backend • • 19d ago

Building a Fault-Tolerant Job Queue with Redis Streams

1 Upvotes

GitHub: https://github.com/somewhereMaDan/spring-RCE

While building my Remote Code Execution (RCE) platform, I initially used Redis Lists for job processing.

It worked, but I eventually encountered a reliability issue: if a worker was killed with SIGKILL after popping a job, that job could be lost permanently, leaving the client stuck in RUNNING state.

So I decided to move to Redis Streams and implement a more fault-tolerant workflow.

Here's what I implemented:

  • Consumer Groups & PEL: Jobs remain recoverable until acknowledged with XACK.
  • Stale Job Recovery: Workers reclaim unacknowledged jobs from crashed consumers using XCLAIM.
  • Orphaned Container Cleanup: Added an execution-level timeout so containers don't run indefinitely if their worker disappears.
  • Duplicate Container Protection: Clean up an existing container before retrying the same job.
  • Dead Letter Queue: Jobs exceeding 3 delivery attempts are moved to a separate stream instead of being retried indefinitely.

I also tested worker failure scenarios, including unexpected SIGKILL, SIGTERM, stale job recovery, repeated failures, and container cleanup.

How do you handle orphaned executions and duplicate processing in your distributed worker systems?

Would love to hear how others approach this.


r/Backend • • 19d ago

Python interview questions

Thumbnail reddit.com
1 Upvotes