Rupesh (@Rupeshkrj2) profile picture

SWE @LinkedIn || Ex-SDE2 @_groww || EX-GSOC || A Full stack dev who loves Distributed Systems https://nitter.cf/t.co/5nos0CDOkC

Bangalore
Joined April 2018
Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)Photo by Rupesh (@Rupeshkrj2)
Happiness of decreasing the response time 10 times which gonna impact millions of users is unbelievable 🚀😎🚀 Thanks @newrelic for such an awesome monitoring tool.
1
9
Replying to @ZeptoNow
@ZeptoNow Order got cancelled by delivery agent and money is not refunded yet.. its been 2 weeks Shitty exp has no customer support on app,shitty chatbot.. If you dont take the action on this.. I am going to report in consumer court. Order id = 83655BDNM10867
3
2
68
108
3,779
146
66,398
1,204,711
There must be chad level practice as well behind this.. op confidence on skills.. 🫡🫡
Absolutely Chad Behaviour 🗿
1
82
75% of developers will fail this SQL question. What's wrong with this script? The first time I faced this question, I jumped into the SQL syntax like crazy. But the syntax was OK; the problem was in the data and related to a concept called Cardinality. Cardinality refers to the number of unique values in a column relative to a table's total number of rows. • High Cardinality means the column has many unique values. • Low Cardinality means the column has few unique values. Creating an index on a column with low Cardinality is most of the time ineffective because: 1. Low Cardinality means each indexed value points to many rows, reducing the index's ability to narrow down the search. 2. Maintaining an index has a cost of storage and update time. For low cardinality columns, this overhead might outweigh the benefits. 3. Database query optimizers are smart; they know column statistics, including Cardinality. When they detect a low cardinality index, they often ignore it and perform a full table scan instead. A simple Example Consider a table "Employees" with 1 million records. Let's examine indexing on different columns: • ID: High Cardinality (1 million unique values). An index here would be very effective. • Name: High Cardinality (many unique names). An index could be helpful in searches. • Department: Medium Cardinality (10-20 unique values). An index might sometimes be useful but less effective than an ID or Name. • Gender: Very low cardinality (2-3 unique values). The query optimizer would likely ignore an index here. When to consider a Low Cardinality column? There are scenarios where indexing a low cardinality column might be beneficial. For example, combining low and high cardinality columns can be effective. 'CREATE INDEX idx_dept_emp ON Employees(Department, ID);' Now you know the basics about Cardinality! Save this post; it might help in your next interview.
31
185
7
1,234
162,673
Replying to @Franc0Fernand0
"I have failed more times than you have tried"; So I can deduct the failure patterns quickly.
1
2
121
If you are a junior engineer, you may need to hear this. Senior engineers aren't smarter or faster than you. They've simply seen the thing you have been struggling with many times before.
11
38
2
302
18,778
311
2,150
139
27,718
1,200,794
I am thrilled to announce that @ManningBooks has decided to publish Thinking in Distributed Systems Writing this book was challenging but rewarding. Your support, your feedback and comments kept me motivated throughout. Thank you ❤️
62
204
3
2,046
173,408
These Lines 💯
118
2,570
98
33,197
880,922
Rupesh retweeted
No love in this world is bigger than a mother's love
10
5
96
5,110
How GitHub manages their databases in production? ⚡ Database outages are more common than we think, so what happens when the master goes down? how a replica is chosen and promoted to be the new master? Is this automated or done manually? GitHub published a blog talking about the tooling they use to get an optimal DB performance and High Availability and I dissected it to and compiled my learnings in a video. give it a watch - youtu.be/4mVJQJbw6Vw ⚡ I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff. youtube.com/c/ArpitBhayani #AsliEngineering #SystemDesign #DatabaseEngineering
2
6
129
8,040
I will get a lot of hate after this, but let me post it. Before joining Uber, I had 17 offers. Including Microsoft, Amazon, Ola, Swiggy, Atlassian, Grab, MedLife and a many more well known startups and MNCs!! And let me tell you, it was not at all easy! For these offers, I gave interviews in 67 companies (at least 1 round) The first 13 interviews I gave, I got rejected in all of them I felt very sad and low, I felt like giving up! But deep down in my heart I knew that I have skills. I can code, I can build products, I can work hard. The problem was with interviews, & the interview process(especially frontend), It is very vague, I was being asked random irrelevant questions, Interviewers used so many jargons which I never understood. But I did not give up! The 14th interview I gave, I got an offer, it was from a startup! And after that I did not look back and even rejections were not affecting me now. Let me also tell you, For getting to interview in 67 companies. I would have definitely applied in 1000+ companies (I don't have a count) Each Sat-Sunday, I used to apply in at least 100 companies. (via LinkedIn Jobs, reaching out to recruiters, referrals, career sites, recruiting agencies, naukri, angel and everywhere) What I learnt is that, if you don't have a brand name college, the chances of getting to interview is low, it is less than 1% Every time I failed an interview, I came back and found answer to all questions which I failed before my next interview. (I learnt a lot in this process) I kept giving interviews, and in the process I kept improving my style of approaching people for referrals, talking to HRs and communicating with the interviewers I reached a point, 0. where I was asked repeated questions in interviews 1. I got better at my communication skills 2. I got better at explaining myself in front of interviewer 3. I did not care if I was rejected 4. I got better at negotiating offer letters 5. I even got better at noticing that how screwed our interview process is 6. Trust me, I have faced very very very bad interviewers (even in really good companies) So if you're giving interviews, the only advice is to just give as many interviews as you can. It took me several months, I know it's frustrating and consuming, but trust me, all of it is worth it. I wanted Good Work & Good Salary, I was ready for the grind. What I learnt is, you can achieve anything in life, all you need is that `Burning Desire` 🔥 Cheers, Akshay Saini .. Akshay, you wasted so much time of random companies and did not join them, don't you have ethics? TBH, `I don't care` I feel my career is limited, I can only work for a few companies, I want to make the `best career jump` possible. It's not unethical from my POV Akshay, with all this, how were you even working in your current company? I was grinding day and night. I even got 120% bonus with `exceeds expectations` rating that quarter. `I don't have time`, for me this phrase is bullshit.
66
118
13
1,488
177,563
Bahut durr aaye ho tum, Haarne ke lie toh bilkul nhi.
5
6
45
2,991
A visibly elated Rameshbabu Praggnanandhaa with his mother Nagalakshmi, after defeating Fabiano Caruana and advancing to the FIDE World Cup Finals! The pride in his mother's eyes shines through. Yet another amazing capture from @photochess!
114
1,266
63
16,319
489,735
If you can take a flight alone... If you can watch a movie alone... If you can have a dinner alone... You are unbeatable! 🔥
70
27
11
590
29,402
The ability to stay calm when your code doesn't work is a superpower.
27
26
5
338
14,998
Here are some notes on 𝗪𝗿𝗶𝘁𝗶𝗻𝗴 𝗗𝗮𝘁𝗮 𝘁𝗼 𝗞𝗮𝗳𝗸𝗮. Kafka is an extremely important 𝗗𝗶𝘀𝘁𝗿𝗶𝗯𝘂𝘁𝗲𝗱 𝗠𝗲𝘀𝘀𝗮𝗴𝗶𝗻𝗴 𝗦𝘆𝘀𝘁𝗲𝗺 to understand as it was the first of its kind and most of the new products are built on the ideas of Kafka. 𝗦𝗼𝗺𝗲 𝗴𝗲𝗻𝗲𝗿𝗮𝗹 𝗱𝗲𝗳𝗶𝗻𝗶𝘁𝗶𝗼𝗻𝘀: ➡️ Clients writing to Kafka are called 𝗣𝗿𝗼𝗱𝘂𝗰𝗲𝗿𝘀,  ➡️ Clients reading the Data are called 𝗖𝗼𝗻𝘀𝘂𝗺𝗲𝗿𝘀. ➡️ Data is written into 𝗧𝗼𝗽𝗶𝗰𝘀 that can be compared to 𝗧𝗮𝗯𝗹𝗲𝘀 𝗶𝗻 𝗗𝗮𝘁𝗮𝗯𝗮𝘀𝗲𝘀. ➡️ Messages sent to Topics are called 𝗥𝗲𝗰𝗼𝗿𝗱𝘀. ➡️ Topics are composed of 𝗣𝗮𝗿𝘁𝗶𝘁𝗶𝗼𝗻𝘀. ➡️ Each Partition behaves like and is a set of 𝗪𝗿𝗶𝘁𝗲 𝗔𝗵𝗲𝗮𝗱 𝗟𝗼𝗴𝘀. 𝗪𝗿𝗶𝘁𝗶𝗻𝗴 𝗗𝗮𝘁𝗮: ➡️ There are two types of records that can be sent to a Topic - 𝗖𝗼𝗻𝘁𝗮𝗶𝗻𝗶𝗻𝗴 𝗮 𝗞𝗲𝘆 𝗮𝗻𝗱 𝗪𝗶𝘁𝗵𝗼𝘂𝘁 𝗮 𝗞𝗲𝘆. ➡️ If there is no key, then records are written into Partitions in a 𝗥𝗼𝘂𝗻𝗱 𝗥𝗼𝗯𝗶𝗻 𝗳𝗮𝘀𝗵𝗶𝗼𝗻. ➡️ If there is a key, then records with the same keys will always be written to the 𝗦𝗮𝗺𝗲 𝗣𝗮𝗿𝘁𝗶𝘁𝗶𝗼𝗻. ➡️ Data is always written to the 𝗘𝗻𝗱 𝗼𝗳 𝘁𝗵𝗲 𝗣𝗮𝗿𝘁𝗶𝘁𝗶𝗼𝗻. ➡️ When written, a record gets an 𝗢𝗳𝗳𝘀𝗲𝘁 assigned to it which denotes its 𝗢𝗿𝗱𝗲𝗿/𝗣𝗹𝗮𝗰𝗲 𝗶𝗻 𝘁𝗵𝗲 𝗣𝗮𝗿𝘁𝗶𝘁𝗶𝗼𝗻. ➡️ Partitions have separate sets of Offsets starting from 0. ➡️ Offsets are incremented sequentially when new records are written. Any insights you would add about writing data to Kafka? Let me know in the comment section 👇 -------- Follow me to upskill in #MLOps, #MachineLearning, #DataEngineering, #DataScience and overall #Data space. Also hit 🔔to stay notified about new content. 𝗗𝗼𝗻’𝘁 𝗳𝗼𝗿𝗴𝗲𝘁 𝘁𝗼 𝗹𝗶𝗸𝗲 💙, 𝘀𝗵𝗮𝗿𝗲 𝗮𝗻𝗱 𝗰𝗼𝗺𝗺𝗲𝗻𝘁! Join a growing community of Data Professionals by subscribing to my 𝗡𝗲𝘄𝘀𝗹𝗲𝘁𝘁𝗲𝗿: newsletter.swirlai.com
7
168
630
89,667
Be proud of yourself if you are pursuing your dreams without waiting for motivation. #MondayMotivation
1
3
145
startups go brrr
75
481
71
6,026
389,701