r/Backend • • 14m ago

Need help, I don't like adding ai for my projects

0 Upvotes

So, I am really fascinated with backend. But I just hate adding ai features everywhere. First it demands money (api pricing). Second I don't see any advantages of adding ai to my projects.

so far, I have built my own music store where i sell sample/packs with TS ecosystem, EDA and redis. And I have been building a project that takes up my android phone and puts it as a mountable disk on finder (macOS) thru WebDAV tech wirelessly in pure golang, Kotlin for bypassing mobile restrictions.
Here is the second project stripped down prototype in TS
https://github.com/KhushOS-hub/fileM-Proto
I ran into the bottleneck of TS ecosystem, that made me transition to golang, currently building it in golang.

can you give me some more ideas to build and practice and dive more deep into backend?


r/Backend • • 1h ago

Things to look for in backend programming

Thumbnail reddit.com
1 Upvotes

Well I am currently in 200lvl and i am studying computer science so this semester we are about to learn backend and i am asking what are the things I should look forward to and some sites I should visit


r/Backend • • 5h ago

What does it mean to be a good backend developer?

6 Upvotes

A thought crossed my mind. What makes a backend developer "good"? Is it the language of choice? The amount of technologies he/she knows?

Please share your thoughts on thks


r/Backend • • 15h ago

Standard server security measures

2 Upvotes

I've recently gotten into fullstack, after constructing an iOS app and looking to expand functionality into The Internet. I don't wish to give details on the project, however it involves large high-sensitivity databases and communication both from an administrator's frontend and the user's iOS app etc.

  • An administrator signs up their organisation and connects an external service (which is given an ID, username and password to identify itself) which then POSTs the data to my server.
  • The app users can access parts of the data belonging to them, but not write.
  • The administrator has a username and password.
  • The app user's credential is linked to their email address, which is present in the database so can be used to determine their identity once verified.
  • The app users do not use the web frontend interface. They interact through the app, which regularly pulls a filtered set of only that user's data to store locally.
  • I'm using NodeJS and SQLite. And yes, I've hashed the passwords properly.

What are the standard security measures that I need incorporate into this type of database project—and then some? E.g, HTTPS, some form of database encryption.

That is to say, what are the industry standard security measures in a web application/server?


r/Backend • • 15h ago

Developer is attempting to convince me to go the AI development route

2 Upvotes

I’m on the ground floor of a software start-up. It will be a full business management platform (service and retail POS). A developer offered to do a free MVP. He’s very qualified and experienced in manual coding..,but is fully committed to AI development.

He’s built out the scheduling function in just a few days. I’ve gone through with a fine tooth comb and it’s very well featured and works very cleanly. The developer is very bright, listens well and caught onto the vision and features wish list quickly.

My concern is the condition of the back end. Is it scalable. Can it be replicated not just for our business, but to other businesses I sell to (SaaS).

My understanding is that AI can do great for basic apps, but makes a mess of the back end of very dense, heavily layered program like what I am building. I don’t want to be dependent on this developer forever. I want it to be scalable and transferable to service companies or other developers.


r/Backend • • 16h ago

Data Replication In Distributed Systems | Implement Raft From Scratch

Thumbnail sushantdhiman.dev
1 Upvotes

r/Backend • • 23h ago

I built a headless CMS in Node.js with zero third-party dependencies (open source)

Post image
0 Upvotes

I'm a backend/DevOps engineer. I don't trust pulling in dozens of packages for something that stores and serves content, so I wrote Basata as plain Node.js: no dependencies and no build step, just run the server.

repo: https://github.com/digimindx/basata-cms

I'd love feedback from people who actually run Node in production, especially on the security side. I already did a self-review and fixed what I found, but a second pair of eyes is always better.


r/Backend • • 1d ago

View Markdown in the terminal like you’re on GitHub

Post image
29 Upvotes

I look at Markdown files a lot for work and prefer to just stay inside the terminal, so this has been a game changer for my flow.

mddog basically works by drawing Markdown as the way GitHub (or Obsidian) shows it, then sends that page to the terminal as image strips. It’s fully interactive, too, so you can select text, click on buttons, etc.

I'm learning a lot about the terminal, Rust, and the kitty graphics protocol throughout this process and having a lot of fun. If you give it a try, let me know how you like it!

Docs: https://mddog.pages.dev (for the full feature set and other installation methods)

Repo: https://github.com/qu8n/mddog


r/Backend • • 1d ago

Replacing AWS Comprehend and regex filters with inline 2B-4B guard and GLiNER models

3 Upvotes

Regex rules for hiding personal information often fail when users format addresses in unusual ways or upload raw text from medical and financial forms. Cloud services like AWS Comprehend also become very expensive at high volumes, while still missing some industry-specific data.

We changed our data processing system to use three steps:

  1. Every request passes through Qwen3Guard-4B and a PII removal model. This exposes 32% less personal data than AWS Comprehend at 79% lower cost.
  2. GLiNER2.5 handles data tagging and request routing. It identifies custom data types 61% more accurately than Comprehend at 99% lower cost. It also sends simple requests away from our more expensive LLM.
  3. Before sending a response back to the user, it passes through Granite-Guardian-2B for a final safety check.

We first tested the system on Superlinked Serverless using its $20 free credit to measure how well it worked with our own data. Then, we moved the same setup to a private cluster inside our VPC. This keeps the safety checks fast, with almost no extra network delay.


r/Backend • • 1d ago

What next to do?after sriniously

5 Upvotes

So I have almost completed the course of sriniously back-end playlist and I'm at testing video and now it feels like things are getting over my head because I can't relate to any problem he's describing.

Anyone wondering what this playlist is, so it's a backend specific playlist teaching the backend but concept specific eliminating the framework or language specific things. He teaches almost everything needed in a backend. So I know what api design is and what things to take care of, Authorization, serialisation and such...

But now I need to learn to implement those concepts in real scenarios.

I need to learn any framework and then to implement all the concepts I learnt from the playlist.

I was thinking to learn django framework with postgres as a database. So should I learn django?? From Corey schaffer playlist or follow the book of will vincent.

If I follow Corey he teaches not everything but mostly api design and deployment and additional things. But as I have notes of sriniously's back-end so I'll know things I need to learn or be atleast able to explain it to others.

My final goal is to learn backend for interview and also be able to develop my personal projects which I already have idea of(of the project) I just want to have hands on practice with theory to explain actual concept.

That's it it would be great help if you experienced guys would answer for which way to move.

And also what you guys think of cs50w.

Assume I know python language.(Ofc not everything but basics to work with)


r/Backend • • 1d ago

what more i can do

10 Upvotes

as in this AI everyone can buils an basic backend API calling and handing
as i am intrested in backend what different i should do to make my work shown in this field
i am a 2nd year guy figuring out its backend
any ine can give me a roadmap type thing or something i can learn
i have covers the basics express node potgres mongo DB jwt
what else


r/Backend • • 2d ago

Choosing a Postgres Read Cache: Redis, Memcached, Build Your Own, or a Proxy

Thumbnail
pgcache.com
2 Upvotes

hey everyone - a couple months ago, I posted an overview of caching in Postgres. Seemed like it was helpful to a lot of people, and I've noticed there's not a lot of clear content on this topic out there.

So I wrote this is the follow-up, for anyone who has decided to cache reads and is trying to figure out how to do it.

In addition to the main options, the article also covers some of the classic zingers that leave you serving stale data: invalidation, stampedes, tenants and RLS, read-your-own-writes, schema changes.

(disclaimer: I'm one of the founders of PgCache. I did my best to keep the advice balanced!)

Did I miss anything?


r/Backend • • 2d ago

Need idea on what to build to learn advanced concepts

20 Upvotes

So I was working as a junior frontend dev and I got laid off recently.

tbh i always found backend more appealing than doing frontend stuff mainly because of how properly organized it is and the patterns are standard. Modern frontend is a mess. So I have a lot of projects where I have done primarily backend.

I mainly love and use ASP.NET and have done e-commerce projects, third party payment integrations, Authentication, DI, etc.

And now I am preparing to apply for backend roles, so I wanna strengthen my backend fundamentals but I just cannot find the right kind of projects to do.

I wanted you all to suggest me some good projects and what kind of concepts should I focus and implement on it.

Also, I am stuck between learning java or go as there are very little .NET opportunities from where I am from. I would also love your suggestions on that

Thank you,


r/Backend • • 2d ago

Scaling a Spring Boot outbox to 66k records/sec with strict per-key ordering

Post image
4 Upvotes

I maintain Namastack Outbox, an open-source transactional outbox library for Spring Boot. An order write and the work it schedules share one database transaction. Consumers pick up that work asynchronously, so a committed order can leave behind durable work even if the app restarts. Source code

We tested what happens when producers and consumers share PostgreSQL under load. With lightweight handlers, each success still had to be recorded in the database. We call that write a completion. In our delete-on-complete setup, direct completion means one synchronous transaction per delete. In the 2.0.0 tests, grouping those deletes increased processed throughput while reducing the median sampled database-wide commit rate from about 48,900/s to 34,000/s.

The constraint is easiest to see with two orders. A1 and A2 belong to order A and must run in sequence. B1 belongs to order B and can run alongside A1. Once the A1 and B1 handlers finish, their deletes can go to the same JDBC writer and share a transaction. A waits for its own completion acknowledgement before it starts A2. That acknowledgement comes after PostgreSQL commits the delete. If the batch fails, the writer retries each write in its own transaction. Any write that still fails ends the affected key’s current processing pass. Completion batching implementation

The four consumers shared the database and split the work through partition ownership. Independent keys could run on different instances, and each runtime batched completions from the keys it was processing. A crash after a handler runs and before its completion commits can still lead to a retry. The order and its two outbox records still shared the original synchronous producer transaction.

ConfigurationProcessed records/sPending records at the end
1.11.1, direct completion7,28339,482,608
2.0.0, direct completion26,58416,127,892
2.0.0, completion batching66,7556,833

A record counted as processed when its completion delete committed. Batching brought 2.0.0 to 2.51× its direct-completion rate. At 66,763 outbox inserts/s, the batched run nearly kept up with the live producer, while both direct runs built up millions of pending rows. The producer committed 33,381 business orders/s in that run. The broader release comparison also includes bulk reads, deferred deserialization, and revised polling queries and indexes.

We ran each configuration once for 15 minutes on an Apple M5 Max with PostgreSQL 18.7, synchronous commits, four consumers, two lightweight handlers, no external broker, and strict per-key ordering. A separate one-minute batched attempt reached about 24,500 records/s and its follow-up reconciliation was interrupted. Benchmark, Grafana replay, and reproduction download

The Spring Boot wiring is to add the JDBC starter, call outbox.schedule(event, "order-" + orderId) inside the business service’s @Transactional method, and register an @OutboxHandler. Completion batching is opt-in. Java and Kotlin quickstart


r/Backend • • 2d ago

Python on the Backend is Dead

Thumbnail
itnext.io
0 Upvotes

r/Backend • • 2d ago

Missed Google OA deadline due to personal emergency — has anyone managed to get it reopened?

Thumbnail reddit.com
1 Upvotes

r/Backend • • 2d ago

Moving a Go search service off OpenAI /v1/embeddings: the SDK change takes 5 minutes, the re-index takes a week

3 Upvotes

OpenAI-compatible endpoints make switching embedding providers sound effortless on paper. Since Superlinked SIE (both Serverless and self-hosted Native Inference) exposes wire-compatible /v1/embeddings and /v1/chat/completions, updating our Go HTTP client was genuinely just swapping the base_url and model string.

The part people gloss over is that wire compatibility doesn't make vector spaces compatible. Moving from text-embedding-3-large (3072d, $0.13/1M tokens) to BAAI/bge-m3 (1024d) or NovaSearch/stella_en_1.5B_v5 meant:

  1. Running a full offline eval against our query logs before touching prod.
  2. Backfilling a shadow index and cutting over search reads atomically.
  3. Accepting different tokenization and chunk-length behavior.

Once the re-index was done, the unit economics made sense for high-volume ingestion: on SIE Native Inference, BAAI/bge-m3 sustains(\~$0.0036/1M tokens), with none of OpenAI's tier rate limits. If your corpus is small and rarely re-indexed, though, text-embedding-3-small at $0.02/1M tokens is hard to justify migrating away from.


r/Backend • • 2d ago

What should I do ?

7 Upvotes

I've right now learned django , python and done some projects into it and I'm going to start to learn DRF . My question is whether this is a good tech stack to build projects and probably get an internship or should I complete it and switch to languages like Go and Rust to have a more diverse resume?


r/Backend • • 2d ago

What makes developers trust a new NoSQL database over established alternatives?

0 Upvotes

I've spent the past year building a document database in Rust, and I'm interested in understanding how developers evaluate database technologies.

Beyond performance, what factors influence your decision?

  • Data durability and crash recovery
  • Driver quality and documentation
  • Replication and consistency guarantees
  • Operational complexity
  • Long-term reliability

What would make you consider an alternative to MongoDB, and what would immediately stop you from adopting one?

I'd love to hear perspectives from developers working with production databases.


r/Backend • • 2d ago

Guidance neded

4 Upvotes

So I have done cs50p introduction to python and have done about 60 questions on leetcode in python and am starting to become comfortable in this language

So my question can I learn backend development using python or do I have to change my language?

Because changing would basically have resulted in me wasting all those months spent learning it


r/Backend • • 3d ago

Making a Postman alternative in Rust

Thumbnail
gallery
76 Upvotes

hello there i've been working on an alternative to postman as we all know postman frustration has hit all of us, the way it eats so much ram and the cloud login and subscription is a pain in the ass

we build an alternative to postman, free, fast, very light, open source, no forced login, your cloud could be your local git or a github repo, supporting all protocols and methods (grpc, graphQl, websockets, socket.io, etc..)

we have researched on everything wrong and good about the other alternatives bruno, yaak, etc..

heres Blitz, you can check it on my github and its already growing and our corporate has also adapted it and its currently in an ongoing development and testing

i recommend you testing and please do leave a review or suggestion or feedbacks are much appreciated.


r/Backend • • 3d ago

Why should we design data-intensive applications?

0 Upvotes

What is the point of having applications that are data intensive?

Why does the book Designing Data Intensive Applications exist?

What purpose does a “data-intensive” application serve?


r/Backend • • 3d ago

Sharing my reusable Gradle "parent" setup for anyone who hates Gradle and Maven equally - hope it eases your pains too

Thumbnail
github.com
3 Upvotes

I've used maven for years - it is easy to understand and is predictable until your project gets big and slows down BAD: once you have a bunch of separate libraries that depend on each other, you either shove them all into one giant monorepo or waste half your day running `mvn install` on library A just to test a change in library B.

The solution I found was switching to gradle - and I hated every minute of getting it to work but I have to admit it's day and night after you get your builds running with it.

Then came the next source of pain: every new project with gradle turns into a script adventure nobody wants to touch or maintain.

So I ended up building a reusable gradle `parent` project and just cleaned it up to share with everyone and I hope it helps everyone who is either suck in maven hell (slow) and gradle hell (get get unmanageably complex quickly)

The goal of what I built is simple that's how I use it: put your project folders next to `parent/`, keep your shared settings and versions in two files only (`reactor.properties` to configure the entire workpace across all modules and `libs.versions.toml` for all dependencies in one place too). Then leave each subproject with the LEAST amount of junk possible. This setup requires 2 small files per module instead of 1 but you need 1 line of text in each (until you add dependencies).

This started as a much simpler setup for my own needs but over time I piled in a bunch of other

stuff that kept annoying me:

- I have more than 100 modules (every one of these has its own git repository, and will be public open source jars eventually available on maven central). In many cases I want to only see the subset of modules that are dependencies of the thing I'm working on. So I added support for views: I can open the view as a separate project in IntelliJ and see only the 10 modules that I care about at the moment and forget the rest. So got this `createView` task that I can also clone across multiple repos (viewClone,viewSync,viewMerge) - every clone has a branch and I can change the modules without interfering on with state of the main 100 module build. The thing resolves conflicts rollbacks to ensure you won't end up with half-merged code. Works great if you run parallel coding agents too (each one gets a copy of the subtree it is working on). Tag+release can run from the view copy too so the workspace can remain happily with all modules on their main branches.

- There's support for named execution profiles - use when you want to create shortcuts to run only what you want without having to remember flags and custom commands to enable/disable/select specific tests or flags. You can also run tests by automatically skipping modules you don't want to rebuild and just grab the latest pre-built jars instead of recompiling them.

- I added support for releasing backports . It cross-compiles, runs tests on JDK 21, keeps Javadoc on JDK 27, and rewrites `-jdk21` pom coordinates.

- Since JPMS can be a pain. I also added support for 3 modes of shading non-modular dependencies without having to pollute your build with boilerplate: relocate non-modular jars into your module (shadeEmbed), bundle split-package jars (`shadeBundle`), or build fat jars.

- Lastly there are two old java tools I (and claude) ported into gradle tasks: `couplingUi` which is a small local browser viewer to spot weak/unused dependencies and also help trim `module-info.java`. There's also `render-docs` which reads a markdown "template" that pull code snippets from tests, adds links to other sections in other markdown files and ensures that things remain connected - it also rescues my edits whenever I forget and edit the rendered `README.md` directly instead of the template.

Everything runs through the Gradle wrapper with just a JDK installed - it also enforces TestNG or JUnit if you want.

I think it got good enough for sharing so posting it here in case it saves someone else a few headaches.

Cheers!

---

Unrelated and a bit of context on why this has so much multi-repo machinery in it: some of you might remember me from univocity-parsers. I had to step away from open source 6–7 years ago for personal reasons, and over the years since then I've built up a pretty big stack of modular libraries (~100 repos) that I'm finally getting ready to start open-sourcing. This `parent` setup is the first piece going out, since it's the exact infrastructure I'm using to build, test, and publish all of them without burning out. I wanted to have a bunch of stuff released for a while now but life kept getting in the way. This is hopefully the first of many contribuitions that I think are truly useful enough to share.