The day i met you, my life changed...the way you make me feel is hard to explain. You make me smile in a special kind of way, you make me fall deeper in love everyday
Wednesday, April 28, 2021
Wednesday, January 27, 2021
Interview questions- Company wise
ABM India
- Microservices- Decomposition design pattern?
- Application security - How to prevent content being added to an iframe in html
- How to create database agnostic application
- Fargate vs EC2 in terms of scalability
- How do you secure your application
- Difference between API gateway and Load Balancer
- Alternative to Oauth2
- What to check in a code review
- How will you use queue for a transaction?
- How will you cache the data inside GET API
- REdis cache-How does it share data between different microservices
- How do 2 APIs /microservices communicate with each other
- How to design an application with millions of users
- Countdown latch, cyclic barrier, Distributed transaction
- Two phase commit
Sopra Steria
- Considerations for a microservices architecture?
- Answer-
1) Application calls are stateless. If stateful.use distributed cache
2) Database commits are distributed. 2 phase commit.saga pattern. eventual consistency
3) scalabaility
4) Security
5) Data Durability
6) Fault tolerance
7) Availability
What is eventual consistency?
- You got an email from your client regarding a performance problem? what will be your approach?
- You need to upgrade java version from java 8. Considerations?
- You need to redesign an application as it has performance problems? What will you do?
- A transaction is failing in a microservices architecture? How will you find the problem?
- What is the opposite of eventual consistency?
- What all is there in a design document?
- Design - Name of design document to define scope Ans- Use case diagram
- Agile vs waterfall
- API Gateway..What is handled apart from routing
- Oauth2 - What libraries. How is the authenticatation authorization returned and response is sent back ot the calling service after auth is passes via a token -- He was asking some library name i think
- difference between aspect and Interceptor
- What are cross cutting concerns
- Tell me a situation where you have designed a cross cutting concern yourself
Thursday, September 24, 2020
Mumma moments-1
My daughter has turned 3.5 and she is super talkative. So will say anything anywhere.
As we are going through a global pandemic now, which means no school and classes online, which also means that she has become a little stubborn now.
During yesterday's class, teacher told them about domestic helpers and there was a quiz afterwards.
During the class, she was roaming around and did not listen to the teacher
Teacher- Who is this on the screen
D - I want to do an activity.
Teacher -Lets complete the quiz first and then we will do the activity.
D- No I want to do the activity now
Teacher- Beta, you answer the questions fast fast and we will do the activity.
D- Please hurry up. I am getting late for office. Lets do the activity fast. :D
Teacher ended up laughing and closing the quiz (Very few students join the morning batch so at the quiz time she was the only one in the class)
Incident 2:
I went to my mom's place yesterday and my nephew is 3 months older to my daughter who is 3.5 years old. Here is their conversation:
N is watching something in his mom's mobile:
D: Dont watch mobile otherwise you will have problem in your eyes
N: Did you get a problem in your eyes?
D: Yes, yesterday I got a problem (We took her to an eye specialist a day before for eye checkup)
N: I don't get anything as I am little Singham
One day:
D has a sweet tooth and totally loves cakes and pastries. So yesterday H got chocolate pastries and she got totally lost for 10 mins in eating it. She finished the pastry while I was passing by.
D: Mumma, I will share my "Happy Birthday" (She calls a cake/pastry "Happy Birthday" ) with you then you also share with me.
I ignored her and went about my work.
She came to me and put the left over crumbs in my mouth with a spoon.
D: Look, I shared my cake with you. Now you will have to share your cake with me
I couldn't stop laughing at her smartness.
27-10-2020
D is getting smarter each day.Sometimes I feel she can outsmart me and everyone else in the house.
While playing with her stationary kit (Yes, she plays with the stationary kit..Arranges the pencils and do timepass for 15-20 minutes so I dont mind as I get some relief from her naughtiness for that much time)
So she keeps the crayon box to her ear like a mobile and starts talking to her Nani(Grand mother)
Yes Nani. I am fine. I want to talk to Mami(Aunt)
Mami...Yes yes...Chocolate..No No chocolate will spoil my teeth.
Ok..Candy.. I can get candy from mumma also. Ok, I will tell her.
Keeping down her imaginary phone, she starts telling me.
D: Mumma, Do you know, it was who I was talking to
Me: No beta, I have no idea.
D: I was talking to Mami and she said she wants to give me chocolate. I told her that chocolate will spoil my teeth. So she offered me candy and I told her that mumma gives me candy.
So mumma, please give me a candy.
I was looking at her with my mouth open in awe.
I was thinking I can never imagine creating a story for a candy. huh
19-3-2021
The calls have progressed. On her imaginary phone, she gets many more calls now. She gets calls from her "Sir" as I get from my boss. She gets assigned some work. She has a small toy laptop on which she finishes her work quite quickly. When some of us are talking, and she is not getting any attention, she will hold her phone to her ear and tell everyone.
"shhh shhh. I am getting a call."
Yesterday, she was talking on the phone and saying
"Sir, I have lost my laptop. What do I do? I am not able to find it."
And she kept down the phone. I asked her what did Sir say on this.
She said. "Sir is saying, Its all right. if you lost your laptop, dont work"
I wish I could do that :D
Thursday, December 19, 2019
Sapient interview
Q) How do you create a LRU(least recently used) cache in java - which collection?
Q) Design an application which reads from a csv/xml and writes output to a csv. DEsign considerations. How to maintain zero downtime.
Q) Why microservices?
Thursday, October 3, 2019
Microservices interview questions
Q) What happends when one service is down
Ans- Fallback mechanism-Histerix
Q) How are individual services deployed on AWS VMs - One VM for each service or all services on one VM
Ans- Separate VM for each
Q) What happends internally when .stream.filter or stream.map is called
Q) Stream vs parallelstream- Which to use when
Q) How to check if a string is a palindrome or not?
Q)
Thursday, February 21, 2019
One more day of love
Words flowed like water
With the chats I never want to stop
I love you more and more each day
From the day I poured out my heart
Feelings that came like a hurricane
With the emotions that never stop
I love you more and more each day
From the day I got angry and upset
And guilt filled my heart
With a feeling I can not shove away
I love you more and more each day
From the day we came close
A day we can never forget
With a wish that will never be fulfilled
I love you more and more each day
To this day when we are in love
And each moment that we miss each other
You are a blessing in my life
I love you more and more each day
Monday, December 24, 2018
Lyrics response
I try to tell you how I feel
I try to tell you but I'm me
Words don't come easily
When you get close I share them
I watch you when you cry
And I still don't understand
I can't find the way to tell you
I wish that you were mine
Baby I got this feeling
That I just can't hide
There's many things I wanna say
No matter how it ends
Just hold me when I tell you
I wish that you were mine
Baby I got this feeling
That I just can't hide
I wish that you were mine
Baby I got this feeling
That I just can't hide
Oh baby all I need is you
All I need is a love you give
Oh baby…