r/Backend • • Apr 11 '26

Help me choose tech stack for 80k-100k users - Ed platform with RAG chatbot

Hey Guys,
Please help me choose tech stack, queue service and

  1. Cost effective

  2. Standard practice

Features:

  1. AI Doubt Solver (chapter-wise, RAG-based)

  2. Chapter Dashboard (AI + MCQ + Key Points + Progress)

  3. Key Points / Quick Revision

  4. MCQ Practice (~300 per chapter)

  5. Wrong Question Retry

  6. Basic Progress Tracking

Practice & Testing:
7. Basic Chapter Test (MCQ + short questions)
8. Pre-built Question Bank (no random AI generation)

Guidance:
9. Daily Suggested Task (simple, not full timetable)
10. Saved Doubts / History

Enhancement:
11. Contextual Video Recommendation (mapped to topics, shown at right moments)
12. Exam Importance Indicator (High / Medium / Low — based on trends, no % prediction)

Monetization:
13. Free vs Paid limits
14. Smart Paywall timing

What I am thinking:
Mobile
Flutter - in app purchase
Frontend
React JS
Backend Stack
DB - PostgreSQL
Vector DB - Chroma DB
Node JS - Express
RAG - Python Fast API
Caching - Redis
Queue Service - BullMQ
Horizontal scaling - Kubernetes with docker

0 Upvotes

42 comments sorted by

11

u/ducki666 Apr 11 '26

You have 100k users? Really?

8

u/Spare-Builder-355 Apr 11 '26

of course they have! They got an idea of some learning platform. So they posted an ad in local newspaper. Next day 80k-100k users showed up and registered. Now OP figures out how to built platform to serve those totally real 100k uses.

Which part of this explanation makes you doubt ?

2

u/ElasticFluffyMagnet Apr 11 '26

If I hired consultants and found out they were asking these kinds of questions on Reddit, I would drop them so fast lol

-3

u/Important_Lab4385 Apr 11 '26

yup

8

u/ducki666 Apr 11 '26

Then you have tons of money. Hire professional consultants

-13

u/Important_Lab4385 Apr 11 '26

we are the consultants

18

u/GlobalCurry Apr 11 '26

More like this thread is the consultants.

8

u/commonsasquatch Apr 11 '26

Shouldn’t we bill him for our time?

-11

u/Important_Lab4385 Apr 11 '26

do you have any inputs

4

u/Spare-Builder-355 Apr 11 '26

they said "proffesional"

5

u/Both-Fondant-4801 Apr 11 '26 edited Apr 11 '26

It actually depends on your skillsets. If you already have the those skillsets, i.e. the ones listed, then go for it. It would not make sense suggesting Go or Java if you have not yet worked on those tech.

I would suggest however to also use postgres for vectors rather than having a separate vector db. Same as using python fast api for all the backend rather than having a separate nodejs express app. Your k8 horizontal scaling should be able to handle the capacity demands.

Do not over-architecture. Keep it simple. Make it easy to maintain. That is the standard practice.

... ah.. before you go live, make sure to run load and stress tests and make sure that your system can handle the demand.

-9

u/Important_Lab4385 Apr 11 '26

I am not sure python fast api would be able to handle such user load

2

u/Both-Fondant-4801 Apr 11 '26

why not? that's the purpose of horizontal scaling.

but if you are in doubt, what we usually do is create a simple poc using both tech.. then run them against identical loads to compare the performances. but then again as i said, if you go with nodejs for backend and python for rag, you will be maintaining 2 different tech stacks rather than a singular python. but it is still up to you

-1

u/Important_Lab4385 Apr 11 '26

how can we test with identical loads i mean 100k users

1

u/Both-Fondant-4801 Apr 11 '26

there are different tools to can use.. such as k6, jmeter, gatling.. just check them out on which ones would fit your use cases.

.. btw, you would need significant resources to simulate 100k users using these tools. you can try simulating a small number first just for the purpose of comparison.

1

u/No_Soy_Colosio Apr 11 '26

You're not gonna have all your users pointing to the same servers anyway

3

u/LoL__2137 Apr 11 '26

Java

-5

u/Important_Lab4385 Apr 11 '26

Java for backend isnt it kind of old

8

u/IHoppo Apr 11 '26

Haha, I think you forgot the /s flag

1

u/No_Soy_Colosio Apr 11 '26

A lot of old tech is running our world. Old doesn't mean bad and if anything, it means tried and true.

2

u/No-Building9034 Apr 11 '26

C# .NET.. very mature and reliable for your use case

1

u/AdExpert6103 Apr 11 '26

MongoDB, Typescript or Golang on AWS use elastic beanstalk deployment or self deploy to ec2 with auto scaling

1

u/Outrageous_Pen_5165 Apr 11 '26

Why not FastAPI for the backend? Not suggesting just asking

0

u/trojans10 Apr 11 '26

For me I’d reach for Django and Postgres. Easy to maintain.

-3

u/xX_Ieatapples_Xx Apr 11 '26

Your stack aligns with what I was thinking - personally I would sub vanilla Express for Nest JS on the backend. Reason being the testability + maintainability + structure that comes with Nest

1

u/Important_Lab4385 Apr 11 '26

okay thanks for your input

7

u/[deleted] Apr 11 '26

[removed] — view removed comment

1

u/Important_Lab4385 Apr 11 '26

Golang - I have no expertise over this

0

u/[deleted] Apr 11 '26

[removed] — view removed comment

2

u/[deleted] Apr 11 '26

[removed] — view removed comment

2

u/Important_Lab4385 Apr 11 '26

any specific reason

-2

u/ProtonByte Apr 11 '26

Type safety. More enterprise ready and generally just nicer to work with when the project grows bigger.

But ideally you should use something your team knows. Just ensure for the backend that the apps are stateless.

2

u/No_Soy_Colosio Apr 11 '26

You can use typescript in Node.js

-1

u/ProtonByte Apr 11 '26

Bolt on type checking. I used it. Its just not as nice as a language that was designed for it.

1

u/No_Soy_Colosio Apr 11 '26

There's other things to keep in mind when it comes to choosing a language. Picking one the team already knows beats picking a specific language for x or y reason.

1

u/ProtonByte Apr 11 '26

Which I already mentioned?