4. We will integrate tech everywhere so that only rich willl remain human
5. We will make social media so addictive that only rich can escape the algorithm
Think about this
Some lines that I heard in recent times:
1. We will make AI so cheap that only rich will think
2. We will make electricity so cheap that only rich will burn candle
3. We will make junk so cheap that only rick will eat clean
π§΅
The trigger mechanism is based on error rates or latency thresholds and on concurrency or active load respectively.
Now I think that I should start posting on medium because the posts are getting bigger and bigger, plus can also integrate blogs section in my portfolio.
Bulkhead pattern:
This pattern is purely for building up resilience in your architecture. Let's suppose that there are 2 services and both are using one large thread pool for all of the incoming and outgoing calls.
π§΅
Plus if I talk about difference between circuit breaker and bulkhead pattern then circuit breaker is for failure prevention and bulkhead is for resource isolation and capacity allocation.
I normally use Claude(Sonnet) and ChatGPT for probing on any topic for studying but I saw Arpit Bhayani's post today on Gemini and thought of trying it(tried 3.6 Flash) and impressed by Gemini, was studying on Bulkhead pattern in Microservices and I can see the difference.
From this HalfOpen -> Open transition will take place when trial requests fails and HalfOpen -> closed when the trial requests succeeds.
Tomorrow's topic is Bulkhead Pattern
Read about Spring Security, I didn't know that spring security gives you a login and logout http page as well out of the box. I just added the dependency in my pom.xml and just ran the project and now I have /login and /logout with one test user and password.
π§΅
so the answer is that when the failure rate crosses the threshold set then the state changes to Open And then after certain timeout lapses then the state will change to Half Open.