Sameekshabhatia (@Sami_classical) profile picture

Software Engineer @ Helpshift

India
Joined September 2016
Photo by Sameekshabhatia (@Sami_classical)Photo by Sameekshabhatia (@Sami_classical)
Sameekshabhatia retweeted
Funny but true. h/t:@contrarianEPS
25
297
14
1,277
133,717
Sameekshabhatia retweeted
Try avoiding SELECT * even on single-column tables One interesting case I ran into with a customer some years ago (2012-2013 I think) A backend API that is stable and runs in single digit millisecond. Until one day users came in to a slow and sluggish user experience. We checked the commits and nothing was obvious, most changes were benign. Just in case we reverted al commits but still the app was slow. Looking at the diagnostics, we noticed API log time taking from 500 ms to up to 2 seconds at times. We know nothing has changed in the backend that would’ve cause the slow down, but started looking at the database queries. SELECT * on a table that has 3 blob fields are being returned to the client, those blob fields has very large documents. It turned out this table had only 2 integer columns, and the API was running a SELECT * to return and use the two fields. But later, the admin added 3 blob fields that are used and populated by another application. While those blob fields were not being returned to the client, the backend API took the hit pulling the extra fields populated by other applications, causing database, network and protocol serialization overhead. So even if you have a single column on your table, just SELECT that column, because the schema can change from underneath you. There are many other reasons to avoid SELECT * of course, but I’ll talk about them in another post. —- if you enjoyed this, check out my fundamentals of database engineering databases.win $11.99 DB-AUG2024-B coupon until Aug 13 Check out the rest of my courses here courses.husseinnasser.com
12
84
5
670
60,325
This 👇 is the harsh reality for middle class, #IncomeTax #TaxTerrorism #CapitalGainsTax #GST #Budget
163
714
55
2,934
316,427
laapata ladies. [a review thread] -through the lens of cinema. 1/13
282
1,792
412
9,836
1,329,143
Society rewards hyperspecialization, and people just follow the incentives: that’s how we ended up with people who can uncover the secrets of the universe but can’t figure out their own marriage, or people who are respected by all except their own kids, or people who teach others “how to be successful in life” who are actually angry and depressed, or people who can solve the most complex problems but somehow cannot maintain a single long-term meaningful friendship with anyone. You may not become “the best” if you have a well-balanced life, but at least, you will have a shot at sustainable peace of mind, and you may learn how to appreciate the people around you, and enjoy a bit of the rewards that you actually worked hard to earn, instead of living your whole life scared of missing out on the next big opportunity, instead of chasing the wrong goals and noticing, way too late, that they didn’t matter as much as you thought at the time when you were younger, when you thought you knew better, because you were simply surrounded by people who were as blind as you were.
31
210
27
1,289
111,657
Sameekshabhatia retweeted
"The first principle is that you must not fool yourself & you are the easiest person to fool" - Richard Feynman. #AprilFoolDay
2
7
98
7,701
If I had to start learning System Design from scratch, I would begin with these 25 articles to get a head start: Thread 🧵
10
221
3
1,122
137,100
A 🧵on Docker. This is Part 1 - an introductory thread on this topic. Will post more threads on this in future. Read this thread if you don't know anything about docker, containerisation, etc. It is a compulsory topic like Git, Linux for every developer. Thread🧵 (1/14)
22
55
4
516
53,262
Sameekshabhatia retweeted
Web accessibility: Essential for some, useful to all ✨ Learn how to ensure your website or app is user-friendly for everyone, including those who rely on screen readers. This is especially helpful for developers like us! Post by @imhritik_dj medium.com/helpshift-enginee…
3
4
240
Sameekshabhatia retweeted
How is an SQL statement executed in the database? The diagram below shows the process. Note that the architectures for different databases are different, the diagram demonstrates some common designs. Step 1 - A SQL statement is sent to the database via a transport layer protocol (e.g.TCP). Step 2 - The SQL statement is sent to the command parser, where it goes through syntactic and semantic analysis, and a query tree is generated afterward. Step 3 - The query tree is sent to the optimizer. The optimizer creates an execution plan. Step 4 - The execution plan is sent to the executor. The executor retrieves data from the execution. Step 5 - Access methods provide the data fetching logic required for execution, retrieving data from the storage engine. Step 6 - Access methods decide whether the SQL statement is read-only. If the query is read-only (SELECT statement), it is passed to the buffer manager for further processing. The buffer manager looks for the data in the cache or data files. Step 7 - If the statement is an UPDATE or INSERT, it is passed to the transaction manager for further processing. Step 8 - During a transaction, the data is in lock mode. This is guaranteed by the lock manager. It also ensures the transaction’s ACID properties. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
3
131
2
584
69,317
Sameekshabhatia retweeted
As @helpshift migrates their data infra from on-premise Hadoop to AWS , @Sami_classical shares some insights & learnings from a large scale and complex migration in this blog post tinyurl.com/5ysxrdjb #DataMigration #DataEngineering #ETL #Migrations
2
2
258
Sameekshabhatia retweeted
Women's day mandatory read Build a courage fund: 6m to 1 yr expenditures in savings/FD Hypothesis: 1 yr liquid savings gives courage to a woman to stand up to parents, bf, anyone it really helps read this article 3x you'll know what am talking about thebillfold.com/2016/01/a-st…
1
6
2
47
11,056
Sameekshabhatia retweeted
Hello! Would you be interested in a 2-day online workshop on building & maintaining a #React app w/ Helpshift engineers. Build a Twitter clone, and learn engineering basics not taught in college. #WebDev #Workshop #react #NodeJS https://teapawt.org/t.co/4ju36JKOdY
16
15
946
Sameekshabhatia retweeted
Anyone having trouble with zomato app? No menu available in all restaurants #Zomato
7
3
55
Would you like to attend an in-person functional programming meetup in Pune? #functionalprogramming #india #pune #haskell #purescript #clojure #scala #typescript #erlang
53%Yes
16%No
31%Not in Pune /Show results
51 votes • Final results
Helpshift is a great place to work, both from a learning and culture perspective. But all of this is known to us, who are already working here, so felt like writing my experience down to let the community get a sneak peek too 😃 medium.com/helpshift-enginee…
1
12
5
19
Sameekshabhatia retweeted
7. Listening is a gift to others. Not many people listen, really listen. They stand there and wait for their turn to talk. When someone is truly listening, you feel heard. Remember to give that gift to others. It will make them love and respect you more.
1
40
2
307
Sameekshabhatia retweeted
I am incredibly grateful for @HelpshiftEng who has one of the best onboarding programs for new joiners and teaches Clojure to both seniors and juniors. It would be amazing if more companies followed in their footsteps.
We have a cultural problem where lots of companies want Clojure seniors, but very few hire and train juniors. This has been possible in the past because Clojure attracts seniors coming from other languages, but we're at the breaking point.
13
31
Sameekshabhatia retweeted
Happy World Introvert Day! I shall be celebrating by staying at home with the cat. #worldintrovertday
3
173
11
842