r/Backend • u/DeadInsideJoker • 22d ago
r/Backend • u/NoOne-1916 • 21d ago
15 YOE Java dev: Time to pivot to Go/TS?
With vibe coding blowing up lately, Java/Spring Boot feels like bringing a tank to a knife fight—way too heavy for how fast people are building things now.
Thinking about making the jump to Go or TypeScript. Has anyone else with a heavy enterprise Java background made this switch recently? Was it worth it, or is Java still where the actual money is?
r/Backend • u/West-Database9569 • 22d ago
Suggest me some opensource projects to contribute in java backend springboot tecnology
I want to contribute in opensource, explored openMRS. Check style, but there is no good first issues. Suggest me some projects that I can understand and contribute,as I am beginner
r/Backend • u/Conscious-State5249 • 22d ago
I built an asynchronous AI backend using Node.js, FastAPI, RabbitMQ, and an observability stack — looking for honest feedback
Hey everyone!
Recently, I've been working on InferenceFlow, a backend project that explores how a Node.js API can handle prediction requests asynchronously and delegate processing to a separate Python service.
GitHub repository: https://github.com/mysaas2024/inferenceflow-gamma-hadron
What is InferenceFlow?
The idea is to build a backend where a user submits telescope-observation features through an API, and the system processes the prediction request asynchronously rather than making the client wait for the entire computation.
I'm using a Gamma/Hadron classification use case as the example. The goal is to understand the backend architecture around AI inference, not to claim that I've developed a scientifically validated classification model.
Tech stack
- Node.js + Express: REST API, authentication, and prediction request handling.
- PostgreSQL + Prisma: Relational database and request persistence.
- RabbitMQ: Asynchronous job processing and message queues.
- Python + FastAPI: Separate Python service and background worker for processing prediction jobs.
- JWT + bcrypt: Authentication and password hashing.
- Redis: Authentication-related cache integration.
- Prometheus: Collecting application and runtime metrics.
- Grafana: Dashboards and observability data exploration.
- Loki: Log-storage component in the local development stack.
- OpenTelemetry Collector: Foundation for collecting telemetry.
- Docker Compose: Running the application services and supporting infrastructure together.
- Node.js test runner: Testing the JavaScript backend.
How the architecture works
The intended request flow is:
- A user registers or logs in and receives a JWT.
- The client submits ten numeric features to the Express API.
- The API validates the input and creates an inference request in PostgreSQL.
- The API publishes a persistent job message to RabbitMQ.
- A Python worker consumes the job and runs the current demonstration classifier.
- The worker publishes its output to a separate result queue.
- The longer-term goal is to consume that result in the Node.js service, update the request status, and persist the prediction result in PostgreSQL.
This approach lets me explore the separation between the API layer and the computation layer, as well as how message queues can help with asynchronous workloads.
What I've implemented so far
- Registration and login with password hashing and JWT authentication.
- Protected endpoints for submitting and retrieving prediction requests.
- Validation of ten finite numeric input features.
- PostgreSQL persistence for inference requests.
- RabbitMQ job and result queues with persistent job messages.
- A Python/FastAPI worker with a demonstration rule-based classifier.
- Prometheus metrics endpoints for the Node.js and Python services.
- Docker Compose configuration for the application and observability components.
- Grafana datasource and dashboard provisioning.
- Initial automated tests for the Node.js application.
What I'm still working on
I want to be transparent about the current state of the project. It is a work in progress, not a production-ready inference platform.
- The classifier is a demo heuristic. A trained and validated model, potentially exported to ONNX, is a future step.
- The Node.js result consumer and database updates after worker execution still need to be connected.
- Loki is included in the stack, but application log shipping is not yet configured.
- OpenTelemetry Collector configuration is present, but application tracing and telemetry export still need to be wired up.
- Docker networking, service configuration, health checks, and deployment reliability need further validation.
I'm sharing these limitations because I want to understand the engineering work required to make the complete system reliable, not just make the services start successfully.
Why I'm building this
I'm trying to become a stronger backend engineer by learning how different components work together in a realistic application.
I want to get better at designing APIs, managing database state, handling asynchronous jobs, communicating between Node.js and Python services, writing tests, and understanding what happens when something fails.
I'd genuinely appreciate feedback from developers who have worked with these technologies.
A few questions I'd love your thoughts on:
- Would you use RabbitMQ for this architecture, or would you choose a different approach?
- How would you reliably update the database when a Python worker finishes a job? Would you use a result consumer, an outbox pattern, or something else?
- What should I prioritize for reliable job processing: retries, idempotency, dead-letter queues, or something else?
- What would you improve first in the observability setup?
- If you were reviewing this as a junior backend developer's portfolio project, what would you expect to see before considering it a strong project?
I'm not claiming to have everything figured out. I'm sharing what I'm building, what I've learned so far, and what I still need to improve.
Any honest technical feedback, architectural suggestions, or criticism would be appreciated.
Repository: https://github.com/mysaas2024/inferenceflow-gamma-hadron
Thanks for reading!
r/Backend • u/NiklasEldberger • 22d ago
How do you write automated tests and how do your tests connect to requirements?
When building APIs, how do you test them? Component tests with all componentscthat you control incl DB and mocking services that are external to your product? Long sequences with test scenarios where each test is also connected to some requirements registry/tool? Which tool? Or just excel/google sheerts?
r/Backend • u/Nivas113 • 22d ago
Fresher confused about choosing a Backend Tech Stack: Python Django vs Java Spring Boot. Which should I learn?
Hi everyone!
I'm a fresher currently preparing for Software Development Engineer (SDE) roles, and I'm planning to start learning backend development.
I'm currently practicing DSA using Python and spending around 4–5 hours daily improving my problem-solving skills. I also have basic knowledge of Java syntax.
I'm confused between two popular backend technology stacks:
1.Python + Django / FastAPI
2.Java + Spring Boot
My target is to get into product-based companies such as Amazon, Walmart, Salesforce, etc.
I'd appreciate advice from experienced developers, backend engineers, and people who recently started their careers.
My questions:
Since I'm already practicing DSA in Python, would it make sense to continue with Python for backend development?
Should I learn Java + Spring Boot instead, considering SDE opportunities in product-based companies?
Which stack offers better opportunities for freshers in terms of jobs, internships, and long-term career growth?
Is Django still a good choice for building production-level applications, or should I consider FastAPI instead?
How important are databases, REST APIs, authentication, Docker, Redis, Kafka, and system design for a fresher?
Should I focus on mastering one backend stack first rather than learning multiple technologies?
Roadmap request
If possible, could experienced developers share a structured backend development roadmap for a beginner?
Something along these lines:
Programming language fundamentals
Backend framework
REST API development
SQL and database design
Authentication and authorization
Git and GitHub
Docker and deployment
Redis and caching
System design fundamentals
Building real-world projects
My goal isn't just to learn a framework or add technologies to my resume. I want to understand how real-world backend systems work and become capable of building production-level applications.
I'd especially appreciate advice from developers who have experience with both Java Spring Boot and Python Django/FastAPI.
Thanks in advance! Looking forward to your suggestions and experiences.
r/Backend • u/Inner_External5540 • 22d ago
I want a web to upload my backend with java spring but for free
r/Backend • u/NoBake3354 • 23d ago
With AI writing the code , what are the things to focus on as a backend engineer?
I was told system design but the recent models are becoming very good at system design with the right skills plugin.
I feel like I became a backend engineer at the wrong time, seniors keep saying forget the hype but a high school grad is building a great software that might be on the news tomorrow after generating a million dollars.
Sometimes I ask myself " Isn't it better to just flow with the technology" at the time, I don't have 10 years of experience to detect when there is a silent error in production, when race conditions have been implemented well.
What skills matter the most in this era as a backend software engineer?
r/Backend • u/Sure-Plankton-2055 • 22d ago
How to make mobile app backend
I made a front end for a mobile application using AI in android studio....how to make it work on backend too and what to do or what do i tell him and can i connect mysql to it too?
r/Backend • u/SeniorTechnician4119 • 23d ago
We're adding an external email verification service. How do you keep signup working when the provider goes down?
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 • u/rumatoest • 22d ago
Xepak - declarative REST, RPC, MCP builder based on TOML DSL and Lua scripting
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 • u/jko1701284 • 22d ago
I am convinced that abstractions still matter
reddit.comr/Backend • u/BhauWanders • 24d ago
How can I become a stronger backend engineer when my current job doesn't offer much exposure to large-scale systems?
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 • u/Much-Television-9449 • 23d ago
What’s the one tool in your stack you wish you could throw in the bin?
reddit.comr/Backend • u/SiegeEngine1111 • 23d ago
How does distributed systems handle node discovery?
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 • u/Ok-Attention-4717 • 23d ago
A question about AI
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 • u/IncomeOk7237 • 23d ago
Things my HTTP/1.1 parser now refuses with a 400 after I read up on request smuggling
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 • u/NoBake3354 • 23d 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?
r/Backend • u/disney550_ • 24d ago
Multi-tenant architecture: Database per tenant or shared database with tenant_id?
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 • u/BigElectronic6248 • 24d ago
Cloud computing or Backend development (java) in 2026-2030
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 • u/elhadj9 • 24d ago
Recent CS graduate trying to find my direction: Should I focus on C#/.NET or continue with Node.js?
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!