With 20+ years of experience, I specialize in database optimization, system architecture, and performance tuning large-scale applications.
Currently working as a Senior Software Engineer at Hubstaff, and former Developer Advocate at Timescale.
I'm also a community builder, a cyclist and a permaculture enthusiast.
Featured Content
Latest Talks
Explore my recent presentations at conferences and meetups around the world.
View TalksLatest Post
Learning to Breathe
March 16, 2026 personal health mindfulness
My first real encounter with breathing as a practice was not peaceful. It was not quiet. It was four hours of hyperventilation in a room full of strangers, sometime in my twenties.
Holotropic breathing β a technique developed by psychiatrist Stanislav Grof β involves sustained, rhythmic, deep breathing that induces altered states of consciousness. A facilitator leads the session. You lie down, close your eyes, and breathe intensely for extended periods. Strange things happen to the body and mind when you flood them with oxygen for that long. Some people cry. Some laugh. Some report visions.
What happened to me was arguably funnier than any of that.
About four hours in β or so I thought β I was completely conscious. I could feel my legs on the floor. I could hear the music in the room. I was breathing hard, present and standing, fully engaged in the exercise. I was not having visions. I was just here, aware, going through it.
Then someone tapped my shoulder.
I opened my eyes. I was lying on the mat. It was over an hour later than I thought. I had been asleep for more than an hour β not the gentle, drowsy kind of sleep, but the fully unconscious, gone kind β and my body had somehow maintained the posture of standing in the exercise, in my mind, the entire time. A lucid dream so complete that I had no awareness of being anywhere other than exactly where I thought I was.
I have never been so confused about the location of my own body.
That experience planted something. The idea that breath could carry consciousness somewhere else entirely β that it was not just gas exchange but a lever for the whole nervous system β stayed with me even as I filed it under βweird twenties stuffβ and moved on.
Four years ago I started practicing yoga seriously. And yoga is, in many ways, just structured breathing with movement attached. Every pose is an invitation to track where the breath goes, how it changes when you are in discomfort, what happens when you consciously slow it down. I have been doing this four days a week for years now.
And I still struggle. Not with the poses. With the breathing itself.
Sitting in meditation, just watching the breath β no technique, no count, just observation β is deceptively hard. The mind wanders in about four seconds. You bring it back. It wanders again. You spend the whole session not meditating but noticing that you stopped meditating, which is, apparently, still the practice. My teacher tells me this is fine. I believe her and also remain annoyed by it.
What I have found useful is that when pure observation is too slippery, a technique gives the mind something concrete to hold onto. A count. A rhythm. A physical shape to follow. The breath becomes a task, and the mind, which loves tasks, actually pays attention.
Here are seven techniques in the order Iβd suggest learning them. Each one is slightly more involved than the last. The animations below are interactive β click the circle to begin, click again to pause.
1. Belly Breathing β The Foundation
Before any technique, there is the question of where the breath lands.
Most people under stress breathe into the chest. Shallow, fast, the collarbones rising. That pattern signals urgency to the nervous system, which responds accordingly. Belly breathing β drawing air into the diaphragm so the belly expands outward on the inhale β does the opposite. It activates the vagus nerve and tells the body it is safe.
To find it: lie down, one hand on your chest, one on your belly. Inhale. The hand on your belly should rise; the one on your chest should barely move. That is it. That is the whole thing.
It sounds obvious. Under stress, when the chest-breathing pattern is most ingrained, it is also the hardest to access. The animation below uses 4-second counts β slow enough to feel the expansion, fast enough to be comfortable.
Once this is natural, every other technique works better. You are breathing correctly first, then adding rhythm on top.
2. Physiological Sigh β The Instant Reset
This one takes about ten seconds and requires no practice at all.
A physiological sigh: one normal inhale through the nose, then immediately a second shorter inhale on top of it β filling the lungs completely β followed by a long, slow exhale through the mouth.
The double inhale is the whole mechanism. Your alveoli β the small air sacs in the lungs β partially collapse when you are under stress or have been breathing shallowly for a while. The second inhale pops them open. The long exhale then drives out accumulated CO2 and activates the parasympathetic system hard.
Andrew Huberman at Stanford calls this the fastest known way to reduce acute physiological stress. The body does it spontaneously when crying, which is why crying reliably makes you feel less terrible β it is not the tears, it is the breathing pattern they come with.
3. The 3-2-5 β Gentle Calming
Inhale for 3 seconds, hold for 2, exhale for 5.
The extended exhale is the mechanism. A longer exhale than inhale shifts the autonomic nervous system toward parasympathetic β rest, digest, not fight-or-flight. The hold lets oxygen exchange fully before you release. The short inhale keeps things manageable without a feeling of overbreathing.
Ten rounds takes about ninety seconds. Good for anytime the body is tense for no reason you can identify.
4. Box Breathing β Symmetry and Focus
Four equal sides: inhale 4 seconds, hold 4, exhale 4, hold empty 4.
The symmetry is deliberate. Equal phases force a mental regularity that interrupts thought loops. You cannot be scattered and also be carefully counting to four across four phases at once.
The part people consistently forget is the second hold β the pause after the exhale, lungs empty. It feels uncomfortable. That discomfort is the point. You are training the nervous system to tolerate a gap without panicking into the next inhale.
Reportedly used by Navy SEALs before high-pressure situations. Five rounds takes about two minutes.
5. Resonant Breathing β Coherence
The target: approximately 5.5 breaths per minute. About 5.5 seconds inhale, 5.5 seconds exhale, no holds.
Research on heart rate variability suggests that breathing at this exact rate synchronizes the cardiovascular and respiratory systems in a way that maximizes nervous system resilience and adaptability. Most people at rest breathe 12 to 20 times per minute. Slowing to 5.5 feels strange at first β the inhale seems too long, the exhale never quite enough β and then the body adjusts and it feels more like the breath it was supposed to be taking all along.
A simple entry: inhale to a slow count of five, exhale to a slow count of six. Close enough to the target. Five minutes and the effect is cumulative β a settling, like water that was disturbed going still.
6. 4-7-8 β For Sleep and Deep Anxiety
Inhale 4 seconds, hold 7, exhale 8.
The proportions matter more than the absolute seconds. The long hold β 7 counts β builds a small amount of CO2 in the bloodstream. This is counterintuitive: CO2, the thing you are trying to expel, in the right concentration triggers a calming response. The exhale at nearly double the inhale then pushes the nervous system hard toward rest.
It can make you slightly light-headed the first few times. This is normal. Four rounds is usually enough to feel the effect.
7. Alternate Nostril Breathing (Nadi Shodhana)
This one comes from yoga and feels strange to describe β it is also the kind of thing you probably do not want to do in a meeting.
The cycle: close the right nostril with the right thumb, inhale through the left for 4 counts. Close both briefly. Release the right, exhale through the right for 4 counts. Inhale right for 4 counts. Close both. Exhale left for 4. That is one full round.
The physiological claim is that it balances activity between brain hemispheres. I cannot verify that and I am skeptical of single-mechanism explanations. What I can say is that it produces a distinctive quality of focused calm β possibly because attending to which nostril you are using requires enough specific attention that the rest of the mental noise has nowhere to go. It just has to stop for a minute.
The asymmetry keeps the mind engaged. There is no autopilot available here.
The holotropic experience β the one that started this β is something I would not recommend casually. It is not a technique you do at your desk. It requires a trained facilitator, a safe setting, and a willingness to not know where your body is for a while. I mention it here because it was, for me, the proof-of-concept: breath has reach. It touches places in the nervous system that logic and intention do not easily access.
The seven techniques above are not that. They are quieter, more portable, more everyday. But they are on the same continuum. Same lever, smaller pull.
The practice is noticing. The technique is just what you do after you notice.
We breathe about 20,000 times a day. Most of those are fine without any intervention. It is the moments when the breath is holding something β tension, dread, the vague weight of being slightly behind β where it helps to have a tool. And it only takes one deliberate breath to remember that the rest of the body is still here, still fine, still breathing.