I shared some little knowledge and experience about #Elnino Brace for Impact: Super El Nino Could Bring Downpours and Drought | Davidson https://t.co/Z1czHcTVDx
@fidexcode Elixir, by a wide margin. Shame it has a relatively small developer pool, which makes hiring expensive. Otherwise, its fault tolerance and concurrency are among the best for secure systems, among other needs.
Most people learn Kubernetes as a list of concepts. Pods. Deployments. Services. Ingress.
They memorize them without understanding why they exist.
>> You start with a Pod.
- A pod runs your container. Simple. Clean. Done.
- Until it crashes.
- Nobody restarts it. It is just gone.
In production, that is not acceptable.
>> So you use a Deployment.
- A Deployment watches your pods.
- One dies, and it creates another.
- You want 3 running, it keeps 3 running.
- You want to scale to 10; one command does it.
Pods were too fragile for production.
Deployments fixed that.
>> But now you have a new problem.
- Every pod gets a new IP when it restarts.
- You have 3 pods running your app.
- Another service needs to talk to them.
- Which IP do you use? They keep changing.
- You cannot hardcode them.
- You cannot track them at scale.
>> So you use a Service.
- A Service gives your app one stable IP address.
- It finds your pods using labels, not IPs.
- Pods die and come back with new IPs.
- The Service does not care.
- It always finds them.
- It also load balances.
- Traffic coming in gets distributed across all healthy pods automatically.
Pods had unstable IPs. Services fixed that.
>> But your app still needs to be accessible from the internet.
- So you use a LoadBalancer Service.
- This creates a real cloud load balancer.
- AWS ALB. Azure LB. GCP LB.
- Your app gets a public endpoint.
- Works perfectly. Until you have 10 services.
- Now you have 10 load balancers.
- Each one costs money every single month.
- Your cloud bill does not care that 6 of them handle almost no traffic.
LoadBalancer Services solved external access. But one per service does not scale.
>> So you use Ingress.
- One load balancer. All your services behind it.
- Ingress routes traffic based on rules.
- Request comes in for /api, goes to the API service.
- Request comes in for /dashboard, goes to the frontend service.
-One entry point. Smart routing. One cloud load balancer on your bill.
But Ingress is just a set of rules. Something has to execute those rules.
>> So you use an Ingress Controller.
- Nginx. Traefik. AWS Load Balancer Controller.
- These are the actual engines that read your Ingress rules and make the routing happen.
- Ingress without a controller is just a config file nobody reads.
To summarize it:
> Pod ran your app but had no resilience.
> Deployment gave it resilience.
> Service gave it a stable address and load balancing.
> LoadBalancer Service gave it external access.
> Ingress replaced 10 load balancers with one.
> Ingress Controller made the rules actually work.
Each concept exists because the previous one was not enough.
I fear demos more than deployments!!
If you think it’s a skill issue, remember that even Google (Gemini), Meta, Tesla, and Apple have had catastrophic demo failures, streamed live.
@pcshipp Start with the frontend using a mock server. For example, when building a profile page, don’t hardcode user details. Instead, use a simple API that returns profile data. This makes backend development and integration much easier later.
The obsession with piercing babies’ ears is so freaking insane to me
There’s zero reason you need to add extra pain to a baby just so they can be your fashion accessory
Their pain is real!
speed is the single most important trait in business and i will die on this hill. every successful founder i know moves at a pace that makes normal people uncomfortable. they reply to emails in minutes not days. they make decisions with 70% of the information instead of waiting for 100%. they ship products that aren’t perfect because they know a live product beats a perfect idea sitting in your head. most people spend weeks thinking about doing something while the fast movers already did it learned from it and iterated twice. analysis paralysis has killed more businesses than bad ideas ever have. the guy who launches a shitty version today will beat the guy who launches a perfect version in 6 months every single time because he’s already gotten feedback already pivoted already built relationships while the other guy is still tweaking his logo. i’ve seen mediocre ideas win because the founder moved fast and great ideas die because the founder moved slow. speed creates momentum and momentum creates luck and luck creates opportunities you never could have planned for. when in doubt just move faster
Man how lucky are millennial devs, just as we’re getting too old and tired for this job, all the tedium gets magically removed and there’s an amplifier that makes all of our knowledge 1000x more useful (and necessary)
In a country where a large % of graduates end up in jobs unrelated to their college/uni field of study, people still insist that early specialization is a good idea. The reason we're so adaptable careerwise is bc we have learn everything upto high school
@C_NyaKundiH If your budget allows you can integrate with https://t.co/AB0qftimUD. Most frameworks have plugins for integrating with your db, tinyPng and AWS s3
Open Letter to @WilliamsRuto:
In all facets of life, whether in personal interactions or in business deals, the market will never lie to you about your desirability.
The People of Kenya, who hold sovereign power, have rejected you. Time and again they’ve said #RutoMustGo
You’ve lost all legitimacy you had as a leader, you have lost your supporters and managed to convince Millions of adults of sound mind that you’re not fit to be a husband, You’re not fit to be a father to your gaggle of degenerate children and most importantly, you’re not fit to lead this country.
You’ve abducted, tortured maimed or killed at least 1000 Innocent people in the last 6 months.
You’ve sold thousands more into slavery under the guise of labor export
You’ve looted trillions and stashed it abroad
You’ve sold our sovereign assets to shadowy entities.
Right now, we may seem weak, small, inconsequential, naive, stupid or other words you and those who serve you call us, but I assure you we are coming for you, your wife and your kids and your little friends. All of You will face justice one way or another.
The Kenyan people are a resilient people, you can’t kill everyone, you can’t exile everyone, you can’t buy/bribe everyone. A time is coming, where your wives, concubines, kids and kinsmen will look back at your actions and realize it was absolutely not worth it.
Just as sure as the sun rises in the East, Kenyans are coming for you because they shall not let Your EVIL outlive our country and Kenyans shall not let it be another unresolved uncured cancer that ravages our country for decades and kids read about in history books with no resolution. You can cut off one head, another will grow in its place. You can bribe one influencer, another one will rise up.
We have the luxury of time. We shall chase you out of office and around the world if we have to. It may not be me, or Amenya, or Kimuzi, or Hanifa, or Mwabili, or Oeba… it may not even be our generation that finally hangs you for your crimes, but it is coming. I promise you.
We are legion.
We are coming.
You’ll not get away with any of this.
ENOUGH IS ENOUGH AND WILL BE ENOUGH.
@NationAfrica Bwana such things should not be posted here and should be limited to the Swahili news session. You are embarrassing us before the whole world😁
Although this system was still unequal, it was not as dehumanizing as the form of slavery where people were treated as property without any rights or personal identity.
While it is true that some Africans were involved in the trade of people to European and American slavers, the concept of slavery as practiced in Africa at that time was different from what later became common in the transatlantic slave trade.
Men were allowed to marry and have families, though their children often bore the surname of the master. Women could also marry and secure homes and inheritance for their children.