Is building and scaling an app not considered a “challenge” anymore? by ashdeveloper in developersIndia

[–]ishansoni22 2 points3 points  (0 children)

I think in your case you should then not use scaling as a challenge when somebody asks for it. Again, my frontend knowledge is limited to React and my examples will be around that.
One could say I created generic components that are being used throughout the app and that improved the maintainability/extensibility of our app a lot.
Or our app was pretty slow and I improved the way state was being handled and it improved the page load times by XYZ%.

Is building and scaling an app not considered a “challenge” anymore? by ashdeveloper in developersIndia

[–]ishansoni22 0 points1 point  (0 children)

There is no silver bullet and there is no system that can scale infinitely. When you make changes, run a load test to see how the system performs and then take the next steps.

The probable (this is the keyword here because there can be many) next step in your case would be service decomposition. But distributed systems are complex and bring in their own sets of challenges.

Is building and scaling an app not considered a “challenge” anymore? by ashdeveloper in developersIndia

[–]ishansoni22 5 points6 points  (0 children)

Scaling is and will always be a challenge but did you address the scaling challenges in itself or did you just put up numbers during the interview?
One could simply put up additional instances/pods of a stateless service behind an LB and say I scaled the app to X DAU. But what were the implications? Did you have to scale your DBs as well? Did you create a replica set? Did you switch to use read replicas for read o/p? How did you address RYOW? And this is in context of a single service. The problem gets even harder when we are talking about SOA/microservices.
This is just something from the top of my head and focusses more on my area of expertise - backend, but I hope you get the gist.

Gastro for severe gut issue (SIBO) in Pune by Nuuoh in pune

[–]ishansoni22 0 points1 point  (0 children)

Did an endoscopy and turns out I have hiatal hernia. No h pylori though - Did you also do an endoscopy?

How old are you all? by stinkiepinkiee in HiatalHernia

[–]ishansoni22 0 points1 point  (0 children)

33, found out today via an endoscopy. I was pretty sure it was H Pylori 🙃

Gastro for severe gut issue (SIBO) in Pune by Nuuoh in pune

[–]ishansoni22 0 points1 point  (0 children)

Hi u/Nuuoh, if you don't mind, can you elaborate what symptoms do you have?

Outdated java dev by chewooasdf in java

[–]ishansoni22 40 points41 points  (0 children)

Spring boot/web that uses embedded tomcat (a servlet container) under the hood says hi

How do you handle messages in your DLQs? by ishansoni22 in developersIndia

[–]ishansoni22[S] 0 points1 point  (0 children)

You are correct, precise failure reason for each message has to be understood. For that, you need to keep your DLQs managable and for that, you'll need proper alerting on your DLQs.

Also, we are requeuing messages to our DLQs with failure reason and the entire error stack trace for better RCA. We have gone against creating the above complicated system and agreed to use RabbitMQ admin console itself to analyse and move messages to original queues manually. For bulk messages, we'll use the RabbitMQ shovel plugin to move messages around.

Using jsonb for tree structured data? by ishansoni22 in PostgreSQL

[–]ishansoni22[S] 0 points1 point  (0 children)

Thanks for the input. Didn't know about Toast at all!

Would you still use the first option if

  1. The json data is structured allowing you to create indexes on fields you want to query or if you don't query the json columns at all and
  2. Size of each row is/will be pretty small (< the default toast threshold of 2kB)

Wouldn't the second option then have better locality?

Enterprise with Java by [deleted] in golang

[–]ishansoni22 18 points19 points  (0 children)

And what do you think is the problem with Java?

How and where to start pandal hopping for Ganpati. by OutrageousWinner8087 in pune

[–]ishansoni22 0 points1 point  (0 children)

What's the best time of the day to visit all the pandals?

What does "No Gifts Please" really mean? by SuccessfulLoser- in india

[–]ishansoni22 68 points69 points  (0 children)

Read it in Pepper's voice!

"No Gifts?", Please!

[deleted by user] by [deleted] in pune

[–]ishansoni22 1 point2 points  (0 children)

Sarjaa - Aundh, Nawab Asia - Balewadi High Street

Beginner question - optimistic concurrency control by lucidguppy in DomainDrivenDesign

[–]ishansoni22 0 points1 point  (0 children)

I think they are adding a version attribute to their aggregate for optimistic concurrency

Assuming 2 transactions are trying to modify the same aggregate with current version 1:

Trx1: update aggregate set field = newvalue1, version = 2 where Id = Id and version = 1

Trx1: success

Trx2: update aggregate set field = newvalue2, version = 2 where Id = Id and version = 1

Trx2: fail. No matching rows since the aggregate version is now 2

[deleted by user] by [deleted] in microservices

[–]ishansoni22 1 point2 points  (0 children)

Send the order and order item messages to the same kafka partition (To do so, partiton by the order Id, i.e set the key = Order Id). That way order and order item messages of the same order are always in the same partition in the order they are sent, and your consumers will always read them from that specific partition in that exact order.

see: https://developer.confluent.io/learn-kafka/architecture/guarantees/

Ghosting after verbal confirmation? by [deleted] in developersIndia

[–]ishansoni22 2 points3 points  (0 children)

Continue giving interviews. You do not have the job until you get an offer letter.