-
1
He joined a little late around 12:06 AM and asked me the following questions:Times asked 2Official solution
SimpleJOIN related tables ek result mein. Inner = match only; left = left side sab + match.
Example
db.session.query(Booking, User).join(User).filter(User.id == uid).all()Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
2
i didn't had a js script which would be used to check on phone number length so he asked how u will code it, just tell me verbally so that i can get ur understanding.Times asked 2Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
3
he also asked several celery and redis questions which is basically in many ppls feedback, u can go through that as well.Times asked 2Official solution
SimpleRedis box hai, Celery us box se kaam uthane wala worker hai — same cheez nahi.
Redis: store (cache keys) + queue (broker lists).
Celery: Python library jo tasks define karti hai,.delay()se queue mein daalti hai, worker execute karta hai.Dono localhost pe ho sakte hain. Alag Redis DB index use karo. Redis band = cache miss + Celery stuck.
Example
Celery: broker_url='redis://localhost:6379/0' Cache: CACHE_REDIS_URL='redis://localhost:6379/1'Project example: export_csv.delay(user_id) Flask se. Worker Redis se task uthata hai, CSV+email. Cache alag keys
venues.Viva tipAgar possible ho to cache db=1, broker db=0 — keys mix nahi hoti.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
4
then he asked what approach would be usefull Vertical scalling or horzontal scalling in order to handle millions of upcoming api calls for the booking of treks slots, then I replied that there r no perfect solutions in distributed systems its just what we want to make tradeoffs with.Times asked 2Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
5
and then I just wasted time in demonstrating the app and giving him an idea of how i have implemented those stuffs in frontend or backend and got him impressed by me.Times asked 2Official solution
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) LogoutViva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet