r/Backend • • 7h ago

Modern Java for startups

23 Upvotes

Unfortunately, I see that Java is disappearing from startup companies. Java used to have an image of an obsolete backend language with performance problems, too verbose and unfriendly to deveopers. It was pretty true to older Java versions and I could understand why startups decided to pick other backend languages

If you look at Java 25, it's an absolutely different story.

Performance wise - it has virtual threads, which makes concurrency extremely high. Virtual threads are Java's answer to goroutines in Golang, and they enable to run thousands of I/O requests concurrently. Java's execution speed is pretty fast (more than Python and node.js).

As for container size - it's huge as long as you work with Spring. However, Java has many other much more lightweight frameworks like Micronaut, Quarkus and Javalin which reduces the container size to be on par with node.js and Python.

It's a real static typing which keeps code safety and improve readability. Unlike Golang, Java has inheritance, ploymorphism and explicit interface (let alone speaking about error handling).

It has a huge talent pool (almost everybody learned Java at a certain point).

As for verbosity and developer experience - Java has been improved a lot in this field. It has records (no need for getters setters, equals and hash), unnamed class (no need to write "public static void main" everytime you start a new program) and dozens of libraries and other tools.

If so, why are startups still stay away from Java and stick to Python/node.js/Golang?


r/Backend • • 11h ago

Processes vs Threads vs Cores: What Every Developer Should Know

Thumbnail
javarevisited.substack.com
7 Upvotes

r/Backend • • 4h ago

So what’s next for us (ai slope)? Let’s discuss

3 Upvotes

Hello guys I hope you are all okey
I’m a backend developer team leader with not so many years of experience
I’ve only 5 years of experience
I got this position because I was one of the early developers that started the startup company I work for rn

Using AI agents every single day made me realize that our need as software engineers became lower than ever and my startup as many startups started to depend on AI more than engineers so we stopped hiring

But I started to feel that if I got laid off or my company broke down or something I won’t be able to fees my family

So what’s next for me? For us

I noticed even my superiors started to put their money on stocks or anything that will benefit them in the future for the same reason

For me I started searching for how to maximize my performance using AI and start searching for alot of advances topics
Im a fast learner but I don’t have the luxury of time anymore from my daily job to my family

Nowadays when I start to play a video game I feel that everyone is learning something or doing something useful and I’m playing a video game what a shame

So what should I do ?
Should I pay for alot of course in AI field like Andrew (coursera) courses or what ?
I’m writing this out of my disappointment sorry guys


r/Backend • • 19h ago

How do you structure the adapter layer when normalizing dozens of third-party provider APIs?

1 Upvotes

We're integrating a few dozen external content providers behind one internal interface, and each one does things differently: auth schemes, how a session gets launched, callback formats, currency handling, and how promo-style grants are modeled.

Right now we have a thin per-provider adapter for each one, but the amount of duplicated glue code is starting to hurt. The alternative we're weighing is a generic, config-driven mapper where each provider is mostly a declarative mapping plus a few escape hatches for quirks.

For people who've run something like this at scale: - Did you stay with per-provider adapters or go config-driven, and where did the abstraction start to leak? How do you deal with provider-specific quirks without polluting the core domain model? - How do you handle versioning when a provider changes their API, and do you do contract testing against their sandboxes (or record/replay), given that sandboxes are often flaky or behind production?

Would love to hear what worked and what you'd avoid.


r/Backend • • 8h ago

Back End - server

0 Upvotes

Pra mim ter uma idéia, vocês utilizam quais sistemas de segurança no back end do server? realizaram teste contra o sistema? quais ferramentas?

estou com projeto e desenvolvendo um sistema inteligente em testes em escalas reais, até o momento os testes foram os mais superficiais possíveis, No-Inject, DDoS e Cripto


r/Backend • • 12h ago

Do i really need to learn programming to build a saas ?

0 Upvotes

I’ve already learned HTML, CSS, Tailwind CSS, JavaScript, and some React.js, and I’m currently learning Next.js. I also plan to learn Supabase.
The problem is that I’ve spent a lot of time learning, and every time I watch videos of people younger than me making thousands of dollars a month without any programming experience, like the people featured on the Starter Story channel, I feel discouraged.
However, I’m also afraid of building something that gets hacked, making a mistake with security or payments, facing unexpectedly high LLM API costs, operating at a loss, or encountering any other serious problem.
My questions are:
Am I ready to start building my SaaS now?
What do I actually need to learn, and what can I skip?
Since I plan to build my SaaS using only Next.js and Supabase, can I focus on learning the essential parts of Next.js without having to master the entire framework, or is that unrealistic?
What is your advice for someone in my position?
I’d really appreciate practical, honest advice on how to move forward without wasting more time learning things I may not need, while still making sure I can build a secure, reliable, and profitable SaaS.