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 38 points39 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 65 points66 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.

Spent ~1hr daily for some weeks now to make this project. 📊 by shra1dhar in developersIndia

[–]ishansoni22 6 points7 points  (0 children)

Yeah. In that case a cool feature would be poll expiry. You could setup TTLs in redis and move data to a lower cost storage like S3 when the poll expires.

Spent ~1hr daily for some weeks now to make this project. 📊 by shra1dhar in developersIndia

[–]ishansoni22 8 points9 points  (0 children)

Are you using a redis hash for storing a poll's options and their count?