<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Experiments]]></title><description><![CDATA[This is where I write about data, and self-experimentation to improve health, and live a good life.
This includes posts on machine learning, health, data engineering, philosophy, longevity and biohacking.

PS: I am no expert at anything ¯\_(ツ)_/¯]]></description><link>https://blog.ismail.bio</link><image><url>https://substackcdn.com/image/fetch/$s_!EF-d!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df693b6-9478-43c4-91ab-762d4d455088_906x906.png</url><title>Experiments</title><link>https://blog.ismail.bio</link></image><generator>Substack</generator><lastBuildDate>Tue, 21 Apr 2026 10:49:31 GMT</lastBuildDate><atom:link href="https://blog.ismail.bio/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Ismail Elouafiq]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[ismail@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[ismail@substack.com]]></itunes:email><itunes:name><![CDATA[Ismail Elouafiq]]></itunes:name></itunes:owner><itunes:author><![CDATA[Ismail Elouafiq]]></itunes:author><googleplay:owner><![CDATA[ismail@substack.com]]></googleplay:owner><googleplay:email><![CDATA[ismail@substack.com]]></googleplay:email><googleplay:author><![CDATA[Ismail Elouafiq]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Does Berberine reduce glucose? ]]></title><description><![CDATA[A self-experiment using continuous glucose monitoring]]></description><link>https://blog.ismail.bio/p/does-berberine-reduce-glucose</link><guid isPermaLink="false">https://blog.ismail.bio/p/does-berberine-reduce-glucose</guid><dc:creator><![CDATA[Ismail Elouafiq]]></dc:creator><pubDate>Fri, 23 Jan 2026 14:51:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!e8Aj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e8Aj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e8Aj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 424w, https://substackcdn.com/image/fetch/$s_!e8Aj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 848w, https://substackcdn.com/image/fetch/$s_!e8Aj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 1272w, https://substackcdn.com/image/fetch/$s_!e8Aj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e8Aj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!e8Aj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 424w, https://substackcdn.com/image/fetch/$s_!e8Aj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 848w, https://substackcdn.com/image/fetch/$s_!e8Aj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 1272w, https://substackcdn.com/image/fetch/$s_!e8Aj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc7fba5-58c0-4024-98e0-bc74281f1ea3_1600x900.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hello friend,</p><p>&#8220;<em>Why on earth would you search for a drug to reduce glucose?</em>&#8221;, you may ask.</p><p>Well, well, well, young disciple&#8230; <br>The reason is very simple and yet very, very complex:<br><em>to justify eating ice-cream, for the sake of science.</em> <br>For that, young warlock, is the purpose of life. Anyway..</p><p><strong>&#8220;So, what&#8217;s Berberine then?&#8221;</strong> Berberine is a plant-extract that has been shown in both human and animal trials to be as effective as pharmaceuticals for treating type-II diabetes. Unfortunately, all the clinical trials I could find only showed how it reduced biomarkers of diabetes, such as fasting blood glucose and HbA1c, but none showed the actual trend after ingesting a meal. This, you may have guessed is important on the days you want to have the upsides of pizza, with none of the downsides.</p><p>So I decided to try it home instead. The result? It exceeded my expectations.</p><h3>How the experiment went</h3><ul><li><p>Every day at the same time I took <strong>150g of cooked rice </strong>(that is about 45g of carbohydrates).</p></li><li><p>To measure my glucose, I used a continuous glucose monitoring (CGM) and analyzed my data using <em><a href="https://github.com/nidhog/glyco">glyco</a> </em>in Python.</p></li><li><p>Most trials use a dose of 0.5g of Berberine, 3 times a day. Instead I took a dose of 2g in one meal. Go big or go home, right?</p></li><li><p>I either took the Berberine or a placebo (used Berberine-500 from Thorne Research). And I either took them 15min before or right after a meal. I sat down for 2hours after the meal, and avoided exercise and food before the rice meal.</p></li></ul><h3>Results: how Berberine exceeded my expectations</h3><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><em>PS: if you&#8217;re interested in self-experimentation or want to get updates about the experiments I&#8217;m running</em> <em><a href="https://ismail.bio/subscribe">join my mailing list here</a></em></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XK38!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XK38!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 424w, https://substackcdn.com/image/fetch/$s_!XK38!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 848w, https://substackcdn.com/image/fetch/$s_!XK38!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 1272w, https://substackcdn.com/image/fetch/$s_!XK38!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XK38!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XK38!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 424w, https://substackcdn.com/image/fetch/$s_!XK38!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 848w, https://substackcdn.com/image/fetch/$s_!XK38!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 1272w, https://substackcdn.com/image/fetch/$s_!XK38!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30476794-ee29-4c9e-9035-dd1b4edacc74_1466x838.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1&#8202;&#8212;&#8202;Glycemic response to 150g of rice taken with Berberine or a placebo</figcaption></figure></div><p>As you can see in Fig. 1, you don&#8217;t need statistics to see how big of an impact it has on glucose. When taken 15min before the meal, Berberine largely reduced my peak glucose, but also the area under the curve of glucose. The effect was so large I could guess that I did not have placebo that time.</p><p>This should not be surprising given the large body of evidence supporting Berberine, including mechanistic evidence about how it indirectly activates AMPK <a href="https://pubmed.ncbi.nlm.nih.gov/16508037/">[Brusq et Al. 2006]</a>. But seeing it in real-time using the CGM left me stunned. I looked at the data, looked back at the empty bowl, looked back at the data, I could not believe it.</p><p>I have to admit, however, that I stopped the experiment early. While the original plan was to do this for 10 days, ingesting 150g of rice made both my heart-rate and blood pressure go up.</p><p>For this reason, I was worried the effect might have been due to something else (you never know &#175;\_(&#12484;)_/&#175;). So I tried again, this time with a snack bar that has about 15g of carbohydrates. And once again, the drug did the job (Fig. 2 below).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4rzk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4rzk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 424w, https://substackcdn.com/image/fetch/$s_!4rzk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 848w, https://substackcdn.com/image/fetch/$s_!4rzk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 1272w, https://substackcdn.com/image/fetch/$s_!4rzk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4rzk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png" width="864" height="502" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:502,&quot;width&quot;:864,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4rzk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 424w, https://substackcdn.com/image/fetch/$s_!4rzk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 848w, https://substackcdn.com/image/fetch/$s_!4rzk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 1272w, https://substackcdn.com/image/fetch/$s_!4rzk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e7a10d8-5fc2-41d6-8436-d23c9c0ae124_864x502.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 2&#8202;&#8212;&#8202;Response to a snack bar with either Berberine or a placebo</figcaption></figure></div><p>As skeptical as I was at the beginning of this experiment, these results were not only convincing, but impressive. <br>I am now officially a Ber-believer. Yes, yes, I just made that up.</p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/does-berberine-reduce-glucose?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Know someone who would enjoy reading this?</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/does-berberine-reduce-glucose?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.ismail.bio/p/does-berberine-reduce-glucose?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><h3>Discussion: Why I don&#8217;t use Berberine daily</h3><p>After seeing the dramatic effect on glucose, I still do not to use it everyday. Instead, I would probably use it when exposed to high amounts of glucose in parties or other uncontrolled high-carb high-GI scenarios.</p><p>Other than the extra 2$/meal it would cost, there are two more reasons why I would not use Berberine everyday:</p><ol><li><p>When I take Berberine, my glucose drops (Fig. 3 below). <strong>This drop is so abrupt that I feel tired afterwards. </strong>This feeling was worse when consumed in a fasted state.</p></li><li><p>In the world of supplements, there is no such a thing as a free lunch, and the risks of taking a supplement must always be weighed against the risk of not taking it. And in this scenario, I think staying relatively low-carb is a better strategy.</p></li><li><p>Don&#8217;t try using Berberine as a powder in ice-cream. The taste is not worth it (and believe me, my taste is as stoic as it gets) and it will turn your teeth yellow (unless that&#8217;s the style you&#8217;re going for).</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nZ3h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nZ3h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 424w, https://substackcdn.com/image/fetch/$s_!nZ3h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 848w, https://substackcdn.com/image/fetch/$s_!nZ3h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 1272w, https://substackcdn.com/image/fetch/$s_!nZ3h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nZ3h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png" width="1380" height="830" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/caf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:830,&quot;width&quot;:1380,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nZ3h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 424w, https://substackcdn.com/image/fetch/$s_!nZ3h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 848w, https://substackcdn.com/image/fetch/$s_!nZ3h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 1272w, https://substackcdn.com/image/fetch/$s_!nZ3h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf5d1d9-a8b6-4338-8f59-694cd2313c5e_1380x830.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 3&#8202;&#8212;&#8202;Large drop in blood glucose following the consumption of 2g of Berberine</figcaption></figure></div><h4>For those of you who skip directly to the end of this article</h4><p>Here&#8217;s the summary<em>: Berberine largely reduced my glucose levels after a high-carb meal</em>. It is now an essential supplement in my ice-cream emergency cupboard, but I would rather avoid it in regular days and just stick to lowering carbohydrates in general.</p><p>Thank you for reading, if you liked this post, please give it some claps, it&#8217;s easy but it would mean a lot to me.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Want more content like this? Subscribe to <em>Experiments</em></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[Make your data pipeline less chaotic by one versioned definition of data]]></title><description><![CDATA[Data collection at Sweden&#8217;s Television]]></description><link>https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic</link><guid isPermaLink="false">https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic</guid><dc:creator><![CDATA[Ismail Elouafiq]]></dc:creator><pubDate>Tue, 06 Jan 2026 13:56:09 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!TG2c!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TG2c!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TG2c!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 424w, https://substackcdn.com/image/fetch/$s_!TG2c!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 848w, https://substackcdn.com/image/fetch/$s_!TG2c!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 1272w, https://substackcdn.com/image/fetch/$s_!TG2c!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TG2c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png" width="1024" height="502" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:502,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!TG2c!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 424w, https://substackcdn.com/image/fetch/$s_!TG2c!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 848w, https://substackcdn.com/image/fetch/$s_!TG2c!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 1272w, https://substackcdn.com/image/fetch/$s_!TG2c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad887d66-8128-40fd-b5f3-cb7f39146739_1024x502.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>How we use a central protobuf schema to make our data pipeline less&nbsp;chaotic</h4><p>If I told you one of the most popular TV Shows in Sweden is about following the moose as they travel, for 21 days, you might say:<br>&#8202;&#8212;<em>&#8202;Stop it with the stereotypes! <br></em>or&nbsp;:<br>&#8212; <em>Ismail, go home and stop experimenting with psychedelics</em></p><p>I promise, this TV show is the real deal and it&#8217;s only 21 days&nbsp;long.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1gDF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1gDF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 424w, https://substackcdn.com/image/fetch/$s_!1gDF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 848w, https://substackcdn.com/image/fetch/$s_!1gDF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 1272w, https://substackcdn.com/image/fetch/$s_!1gDF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1gDF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png" width="1024" height="359" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:359,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!1gDF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 424w, https://substackcdn.com/image/fetch/$s_!1gDF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 848w, https://substackcdn.com/image/fetch/$s_!1gDF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 1272w, https://substackcdn.com/image/fetch/$s_!1gDF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddecc4e9-485d-484e-8ce6-f4703386b596_1024x359.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Day 5 of the moose walk (&#8220;den stora &#228;lg vandringen&#8221;) and the moose are indeed&nbsp;walking</figcaption></figure></div><p>The TV Show &#8220;<em>den stora &#228;lg vandringen&#8221; </em>(which translates to<em> &#8220;the great moose walk&#8221;</em>)<em> </em>is a type of TV Show known as <em>slow TV. </em>This trend started in the neighboring lovely country of Norway (at&nbsp;NRK).</p><p>This TV show is 21 days long and it was streamed live on SVTs (Swedish Television&#8217;s) streaming service SVT&nbsp;Play.</p><p><em><strong>So why collect data then?<br></strong></em> It turns out filming the moose is not the only thing that SVT does and <em>SVT Play</em> is just one of the services at SVT. These services range from streaming to delivering news in addition to games and services for children and more. The point is, those apps make different types of content available (news articles, movies, TV series etc.) on different platforms including web, iOS, Android and smart&nbsp;TVs.</p><p>So a little more than two years ago, a project for data collection at SVT got started. This was an effort to aid decision making in the multiple products of SVT (that used to rely on third-party services such as google analytics).</p><p>Of course, the data is not what makes or breaks the products, nor the shows, movies or news articles. It is there to verify assumptions, to understand the users better and to support the decision&nbsp;making.</p><p>As one can see, the diversity of SVTs services and the platforms on which they run adds multiple challenges to the collection of&nbsp;data.</p><h3><strong>Too long; didn&#8217;t&nbsp;read?</strong></h3><p><em><a href="https://www.youtube.com/watch?v=ZouUbWt5tug">If you prefer watching this as a video feel free to head over&nbsp;here</a></em><a href="https://www.youtube.com/watch?v=ZouUbWt5tug">.</a></p><blockquote><p>While there are many things to talk about when it comes to the collection and analysis of data, this post will focus on: <br>&#8212; A very brief <strong>intro to how we collect data</strong> at SVT.<br>&#8212; The chaos that can result from the changes in the business rules.<br>&#8212;How we use a <strong>central schema</strong> (with Protobuf) <strong>to define the data we collect and propagate this definition</strong> in the whole pipeline (from collection to storage).<br>&#8202;&#8212;&#8202;Some of <strong>the issues we encountered</strong> with that&nbsp;choice.</p></blockquote><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><em>Experiments</em> is a reader-supported publication. To receive new posts and support my work, consider becoming a subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h3><strong>A Brief on how we collect data at&nbsp;SVT</strong></h3><p>Let&#8217;s say you&#8217;re a news editor, and you want to see how your articles perform. How can we collect data about&nbsp;that?</p><p>For example, you would want to know: <em>how many users read an article?</em> We cannot know for sure if a user actually reads the article, but what we can do is estimate it from what we can collect such as: a <em>mouse click</em> on the article or a <em>mouse scroll</em> inside the&nbsp;article.</p><p>These things that we can collect are what we call &#8220;<em><strong>Events&#8221;</strong>.</em> Other example events for other products can&nbsp;be:</p><ul><li><p>A <em>video start</em> or a <em>video pause </em>in the video&nbsp;player.</p></li><li><p>A <em>search query </em>in a search&nbsp;bar.</p></li><li><p>Or other events for collecting video player telemetry information.</p></li></ul><blockquote><p>An <strong>event </strong>is an action that happened on the client application side, for which the corresponding information can be collected (for example: a click or a video&nbsp;start)</p></blockquote><p>These events are just observations, and from them we should be able to either calculate or approximate our metrics (an example of a metric that cannot be calculated exactly is the <em>percentage watched of a video</em> because we simply do not know if the user is actually watching)</p><p>So we send those events. We ingest them into our pipeline (more details later). We store them in a table. We process and analyze them and then we present them to the users of our solution.</p><p>So the event will go&nbsp;through:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dM_e!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dM_e!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 424w, https://substackcdn.com/image/fetch/$s_!dM_e!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 848w, https://substackcdn.com/image/fetch/$s_!dM_e!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 1272w, https://substackcdn.com/image/fetch/$s_!dM_e!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dM_e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png" width="1024" height="280" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:280,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!dM_e!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 424w, https://substackcdn.com/image/fetch/$s_!dM_e!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 848w, https://substackcdn.com/image/fetch/$s_!dM_e!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 1272w, https://substackcdn.com/image/fetch/$s_!dM_e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2063015-e9e6-480e-8ab7-5abcaf3b20b5_1024x280.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><em><strong>collection:</strong></em> on the user-facing application side. For this part, in our case, we built SDKs (mainly for iOS, Android, Web and smart TVs) that will collect events such as clicks and send them to an API, which brings us to the next&nbsp;part.</p></li><li><p><em><strong>ingestion:</strong></em> when the API gets the previous event it publishes it to a message queue. In our case, we are currently using <a href="https://cloud.google.com/pubsub/docs/overview">Pub/Sub on the google cloud platform</a> (GCP). We have creatively named the previous API: the <em><strong>event&nbsp;API</strong></em>.</p></li><li><p><em><strong>storage:</strong></em> a service gets the previous event from Pub/Sub, checks the validity of its content, then stores it in a table (a BigQuery table in our case). We have called this service <em><strong>judge-judi</strong></em>.</p></li><li><p><em><strong>analysis:</strong></em> mostly just a bunch of&nbsp;ETL</p></li><li><p><em><strong>presentation:</strong></em> at this stage, we can show a dashboard to the right person with the right&nbsp;metric.</p></li></ul><p>For the purpose of this post, we will only focus on the <em>collect&#8202;&#8212;&#8202;ingest&#8202;&#8212;&#8202;store</em> parts of the previous pipeline.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!26Fs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!26Fs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 424w, https://substackcdn.com/image/fetch/$s_!26Fs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 848w, https://substackcdn.com/image/fetch/$s_!26Fs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 1272w, https://substackcdn.com/image/fetch/$s_!26Fs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!26Fs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png" width="1024" height="374" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:374,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!26Fs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 424w, https://substackcdn.com/image/fetch/$s_!26Fs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 848w, https://substackcdn.com/image/fetch/$s_!26Fs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 1272w, https://substackcdn.com/image/fetch/$s_!26Fs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F343a5f89-0b34-42f3-90d1-a8e9c89a12c4_1024x374.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To keep things simple, we can assume that we send one event at a time from the client application (In reality, those events are gathered by the client application and sent together in a sequence of&nbsp;events)</p><p>So, with all this in mind, where can problems&nbsp;happen?</p><h3>The need for ONE (versioned) definition of the event&nbsp;data</h3><p>From what we&#8217;ve talked about in the previous section, here&#8217;s what the life of an event looks like from collection to storage:<br>&#8202;&#8212;&#8202;First, we send the event from an app (through our SDK) to the Event API.<br>&#8202;&#8212;&#8202;The Event API then adds it to the queue for it to be processed later.<br>&#8202;&#8212;&#8202;And then on the right, is an accurate picture of <em>judge-judi</em> (the service described in the ingestion part above) performing its duty of pulling and storing valid events in the&nbsp;table.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Vgah!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Vgah!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 424w, https://substackcdn.com/image/fetch/$s_!Vgah!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 848w, https://substackcdn.com/image/fetch/$s_!Vgah!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 1272w, https://substackcdn.com/image/fetch/$s_!Vgah!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Vgah!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png" width="1024" height="437" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:437,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Vgah!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 424w, https://substackcdn.com/image/fetch/$s_!Vgah!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 848w, https://substackcdn.com/image/fetch/$s_!Vgah!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 1272w, https://substackcdn.com/image/fetch/$s_!Vgah!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd82f508f-26bd-4015-9dc5-f18cc6295ccd_1024x437.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">on the right an accurate picture of <strong>judge-judi </strong>performing its&nbsp;duty</figcaption></figure></div><p>The first problem is that all parts of the pipeline, from collection to storage, have to agree on what the definition of an event&nbsp;is.</p><h4><strong>The first problem: consistency</strong></h4><p>Let&#8217;s assume that the event looks something like:</p><pre><code>{
    'user_id':   '00000000',
    'content_type': 'video',
    'event_type': 'video_start',    
}</code></pre><p>Given the event above. What if one of our products ends up sending an event by naming the type <em>eventType </em>instead of <em>event_type?</em></p><pre><code>{
    'user_id':   '00000000',
    'content_type': 'video',
    'eventType': 'video_start',    
}</code></pre><p>When this event reaches the validation stage at <em>judge-judi. </em>The service<em> </em>is expecting a field <em>event_type </em>it will just conclude that the field is not&nbsp;there.</p><p>So the first problem is <em><strong>having all parts of the pipeline agree on the definition of the&nbsp;data</strong></em>.</p><p>We also have a multitude of products in SVT (svtplay, news etc.) and different platforms (web, iOS, Android etc.) it would be hard to make sure that the SDKs are always consistent.</p><h4><strong>The second problem: Murphy&#8217;s law of data engineering</strong></h4><p>Which states that: &#8220;<em>If the data schema can change, the data schema will change</em>.&#8221; Now, Murphy did not necessarily say that. <br>Well, he never actually did, but I&#8217;m sure he would&nbsp;agree.</p><p>The business rules and goals change more often than teenagers&#8217; relationships. We should expect, as a result, that the definition of the event will change. And it will change often. New fields will be added, old fields will be removed, others merged together, and the list goes on and&nbsp;on.</p><p>These modifications put schemas, and therefore the definition of an event, in a state of perpetual change. Each change will require adjustment to the pipeline. <em><strong>We do not want these recurring changes in the definition of the data to break the whole (or part of) the pipeline</strong></em>. Ideally, we would want to preserve backward and forward compatibility whenever possible.</p><h4>And then problems specific to&nbsp;JSON</h4><ul><li><p>The type of a field in JSON is unclear and errors can happen. It would be preferable if we can provide guarantees of what the event structure to be expected&nbsp;is.</p></li><li><p>Because we have different platforms, we are using different programming languages. This means that the JSON body can differ depending on the programming language and libraries used.</p></li><li><p>Long serialization overhead on the Event API&#8217;s side with the use of JSON. Although I currently do not have the &#8220;data&#8221; to prove it, it is easy to see that the schema is sent with every&nbsp;event.</p></li></ul><p>But since we have control over the applications and have control over the schema definition how can we make use of&nbsp;that?</p><h3>The solution: centralizing the definition of an event with&nbsp;Protobuf</h3><p>One way of tackling the issues above is to do the following:</p><ul><li><p>One repository where the definition of an event, which we will call the <em><strong>Event Model</strong></em>, is kept (we just keep it in a repository on&nbsp;Gitlab).</p></li><li><p>This <em>event model </em>is versioned.</p></li><li><p>Every version of the <em>event model</em> is then propagated across all the elements of the pipeline. For example, the web SDK will have access to an event model library and every new version in the event model repository will correspond to a new version in the library. This version should be the same for all platforms.</p></li><li><p>We will preferably use a language-neutral definition for the <em>event model</em>&#8217;s definition that can enable us to serialize an event on the SDKs and then deserialize it on the side of <em>judge-judi</em>.</p></li><li><p>Preferably adding or removing fields from the <em>event model </em>should not break backward/forward compatibility.</p></li></ul><p>To make a choice we tried both Avro and Protobuf. While there are many choices when it comes to defining the schema, to have a definition that supports all of the languages and provides a &#8220;good enough&#8221; serialization: Protobuf was the tool of&nbsp;choice.</p><h4><em><strong>What is protobuf and how does it&nbsp;work?</strong></em></h4><p>Protocol buffers are a language-neutral, platform-neutral, extensible way of serializing structured data. At least that&#8217;s what they&#8217;re supposed to&nbsp;be.</p><p>We will not go too deeply in how protocol buffers work but here are the&nbsp;basics.</p><p>Let&#8217;s say Alice wants to send a letter message to Bob that would look like this in&nbsp;JSON:</p><pre><code>{
  'firstName': 'Alice',
  'lastName': 'Alice',
  'email': 'alice@alice.alice',
  'content': 'Hi Bob, it's Alice'
}</code></pre><p>To do so, in protobuf, Alice and Bob would have to agree on a message schema. This schema can look something like&nbsp;this:</p><pre><code>message Letter{
  required string firstName = 1;
  required string lastName = 2;
  optional string email = 3;
  required string content = 4;
}</code></pre><p>This letter schema will be stored in a&nbsp;<em>.proto</em>&nbsp;file.</p><p>Alice and Bob can then convert this message to C++ or Javascript code or whatever language they&#8217;re into using the proto compiler.</p><p>Using the generated code Alice will serialize the message. For example, if Alice is using C++ her code might look something like&nbsp;this:</p><pre><code>Letter letter;
letter.set_first_name("Alice");</code></pre><p>Alice can now send the letter to Bob. A series of bytes are sent over the network. Bob knows the Letter schema, Bob can deserialize the letter&nbsp;message.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cv-K!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cv-K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 424w, https://substackcdn.com/image/fetch/$s_!cv-K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 848w, https://substackcdn.com/image/fetch/$s_!cv-K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 1272w, https://substackcdn.com/image/fetch/$s_!cv-K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cv-K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png" width="1024" height="296" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:296,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!cv-K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 424w, https://substackcdn.com/image/fetch/$s_!cv-K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 848w, https://substackcdn.com/image/fetch/$s_!cv-K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 1272w, https://substackcdn.com/image/fetch/$s_!cv-K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2773bc1-760d-49ee-a213-38dd90577bdc_1024x296.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>So how can we use it for the solution&nbsp;above?</h4><p>Step 1&#8202;&#8212;&#8202;In our case, the <em>event model</em> repository hosts the&nbsp;.<em>proto</em>&nbsp;file.</p><p>Step 2&#8202;&#8212;&#8202;This repository propagates code with the same for the rest of the pipeline through pushing libraries. This repository also creates the table on BigQuery (as we will mention in the next section, this part has changed).</p><p>Step 3&#8202;&#8212;&#8202;The service <em>judge-judi</em> will also fetch the latest Go version of the <em>event model </em>because it will need it later. And, just like Alice, through the SDKs we can fetch the latest version of this <em>event model </em>on the client apps to serialize the events that we will send. The app will serialize the event and send it to the&nbsp;API.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SCOs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SCOs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 424w, https://substackcdn.com/image/fetch/$s_!SCOs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 848w, https://substackcdn.com/image/fetch/$s_!SCOs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 1272w, https://substackcdn.com/image/fetch/$s_!SCOs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SCOs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png" width="1024" height="270" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:270,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!SCOs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 424w, https://substackcdn.com/image/fetch/$s_!SCOs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 848w, https://substackcdn.com/image/fetch/$s_!SCOs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 1272w, https://substackcdn.com/image/fetch/$s_!SCOs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6b766e3-aa49-4707-9af0-62dbd74278e0_1024x270.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Step 4&#8202;&#8212;&#8202;We collect this event as it is, without deserializing it, and we publish it to the queue on&nbsp;Pub/Sub.</p><p>Step 5&#8202;&#8212;&#8202;The service <em>judge-judi </em>pulls the events and deserializes them.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4kjA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4kjA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 424w, https://substackcdn.com/image/fetch/$s_!4kjA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 848w, https://substackcdn.com/image/fetch/$s_!4kjA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 1272w, https://substackcdn.com/image/fetch/$s_!4kjA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4kjA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png" width="1024" height="223" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:223,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!4kjA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 424w, https://substackcdn.com/image/fetch/$s_!4kjA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 848w, https://substackcdn.com/image/fetch/$s_!4kjA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 1272w, https://substackcdn.com/image/fetch/$s_!4kjA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e56d587-31e7-4c94-9bee-8f3877851acc_1024x223.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!evtv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!evtv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 424w, https://substackcdn.com/image/fetch/$s_!evtv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 848w, https://substackcdn.com/image/fetch/$s_!evtv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 1272w, https://substackcdn.com/image/fetch/$s_!evtv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!evtv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png" width="1024" height="374" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:374,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!evtv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 424w, https://substackcdn.com/image/fetch/$s_!evtv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 848w, https://substackcdn.com/image/fetch/$s_!evtv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 1272w, https://substackcdn.com/image/fetch/$s_!evtv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4c73939-48f1-43f1-b3ef-074d9822d3f8_1024x374.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p>It&#8217;s all good now, you drop the mic, walk out of the room, head high&#8230;until&#8230;stuff happens. You realize that the reality is as far from your expectations as your tongue is from touching your nose&#8230; So close, and yet so far (don&#8217;t try that, you&#8217;ll look ridiculous)</p></blockquote><h3><strong>Expectations vs.&nbsp;reality</strong></h3><h4>The myth of language agnosticism</h4><p>When the mechanism of protocol buffers is supposed to be language-agnostic and platform agnostic. In practice, this does not seem to be the&nbsp;case.</p><p>For example, some platforms had encoding that was not consistent with the deserializer. We use <a href="https://github.com/gogo/protobuf">the gogofaster</a> compiler for Go which is a third party implementation that leverages type-specific marshaling code for extra performance. But we use it mainly to provide more canonical Go structures, less typing and to not end up with the<a href="https://github.com/golang/protobuf/issues/276"> infamous </a><em><a href="https://github.com/golang/protobuf/issues/276">xxx</a></em><a href="https://github.com/golang/protobuf/issues/276">&nbsp;fields</a>.</p><h4>The myth of backward and forward compatibility</h4><p>Let&#8217;s say a field gets added, and a field gets removed from the schema. If the service <em>judge-judi</em> is using the latest version of the <em>event model</em>, it will still be able to deserialize the data with no problem even if the client application does not update to the latest version. But this is only true for simple changes. For example, this would not hold if we change the nesting of some&nbsp;fields.</p><p>Moreover, although we avoided talking about the analysis that comes after the storage part earlier, a new event model would mean that all the jobs and tables that depend on it will change. For this reason, we separated the version of the event model from the version of the event table on BigQuery so that the table would change less often. We then provide a mapping on <em>judge-judi </em>from the event model to the table schema before storing the&nbsp;events.</p><p>Thus, we identify mainly three types of changes in the <em>event model</em>&#8217;s<em> </em>schema and act accordingly:<br>&#8202;&#8212;&#8202;<em>Non-breaking changes</em>: that happen regularly. These are the changes that do not break backward compatibility. This can be the deletion or addition of fields in the protobuf schema. <br>&#8202;&#8212;&#8202;<em>Breaking changes that do not require a change of the BigQuery table</em>: that rarely happen, and should be minimized. When these happen judge-<em>judi</em> just changes the mapping between the event and the table.<em><br>&#8202;&#8212;&#8202;Breaking changes that require a change of the BigQuery table</em>: very rare and have yet to happen but they could (thus they will). Since those are rare and we cannot know what these will be like we&#8217;ll tackle them on a case by case&nbsp;basis.</p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">If you found this useful please give it a heart and share it. This is very easy and means a lot to me.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><h3>Conclusion</h3><p>The reality of data collection and analysis is very different from the mathematical fantasies of well-defined axioms and controllable assertions.</p><p>Coming from a scientific background, we have a tendency to want to keep the pipeline clean. And that&#8217;s good. However, chaos in data engineering is not just real but probably unavoidable. And it is one of the reasons why we should try to iterate slowly, and add tests and data quality checks when possible. It is also why keeping a central definition of the data in one place can be very&nbsp;helpful.</p><p>Protocol buffers are one way of defining a data model that seems to improve serialization overhead and be almost language agnostic. If you already know what the data schema should look like, protobuf is good at managing additions and deletions of fields, although one has to be careful as always. More complex changes will require more thoughtfulness.</p><p><strong>Hope you found something useful reading this&#8230; Have a beautiful day!</strong></p><p>If you have any comments or suggestions would love to hear from&nbsp;you.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.ismail.bio/p/make-your-data-pipeline-less-chaotic/comments"><span>Leave a comment</span></a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><em>Experiments</em> is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><p><a href="https://medium.com/the-svt-tech-blog/make-your-data-pipeline-less-chaotic-by-one-versioned-definition-of-data-5ddb92c0c6f6">Make your data pipeline less chaotic by one versioned definition of data</a> was originally published in <a href="https://medium.com/the-svt-tech-blog">The SVT Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded></item><item><title><![CDATA[Control blood glucose with these uncommon ways]]></title><description><![CDATA[Strategies beyond diet and sleep from my self-experiments and existing research]]></description><link>https://blog.ismail.bio/p/control-blood-glucose-with-these</link><guid isPermaLink="false">https://blog.ismail.bio/p/control-blood-glucose-with-these</guid><dc:creator><![CDATA[Ismail Elouafiq]]></dc:creator><pubDate>Tue, 06 Jan 2026 13:53:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!R7fO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!R7fO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!R7fO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 424w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 848w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1272w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!R7fO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png" width="1024" height="401" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb78fd18-d899-4566-a208-0d09bed23677_1024x401.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:401,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!R7fO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 424w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 848w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1272w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hi,<br>I&#8217;m Ismail and I have a confession to make&#8230;<br>I take sauna baths&#8230; a lot of sauna baths.<br>Some days, I also have a sensor stuck to my left arm. <br>Other days I prick my&nbsp;fingers.</p><p><em><strong>What do these things have in common?</strong></em><br>Well, apart from them sounding like a form of self-torture, they&#8217;re also a form of self-experimentation with the same goal in mind: keeping blood sugar levels under&nbsp;control.</p><p><em><strong>But why care about glucose?</strong></em><br>To keep it short, if you want to perform better physically and mentally or just want to feel great, regulating blood glucose is among the 20% of things to focus on that give you the 80% of the outcome. For example, <a href="https://care.diabetesjournals.org/content/27/10/2335">a study published in the Diabetes Care Journal</a> found that during acute <em>hypo</em>glycemia (low blood glucose): speed of information processing, working memory and some aspects of attention were impaired. On the other hand, during <em>hyper</em>glycemia (high blood glucose) the subjects were significantly more dysphoric, had reduced energetic arousal, and had an increase in both sadness and anxiety. So, if we truly care either about feeling good, limiting negative feelings and increasing both mental and physical performance <strong>managing glucose swings seems to be not just impactful but necessary.</strong></p><p><em><strong>So who&#8217;s this post for?</strong></em><strong><br></strong>I strongly believe that the protocols mentioned in this post are worth a closer look as upgrades in the toolbox of a lot of people, from elite athletes to those of us who want to perform better, or just feel better, during most days. <br>It could also be useful if you want to perform beyond your current level. For example, improving glucose variability can help athletes break through their endurance threshold (a lot of which would dramatically call the &#8220;<em>wall&#8221;</em>) by enabling them to use less glycogen from the&nbsp;muscles.</p><p>The goal of this post is to go through strategies that go beyond just diet, sleep and exercise to do&nbsp;that.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Experiments is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><blockquote><p><strong>A word of caution:</strong> </p><p><em><strong>Heat can be seriously dangerous</strong> <br>I am not a doctor nor an expert of any kind so please don&#8217;t be dumb and consult with a health care professional before doing anything described in this post (full disclaimer at the bottom of the page). <br>This post will talk about the benefits of sauna bathing, it is good to know beforehand that <strong>heat can be seriously dangerous </strong>and people can die from excessive heat.<strong> </strong>Sauna use during pregnancy may carry some health risks to a developing fetus. Please take the disclaimer at the bottom of this page seriously.</em></p></blockquote><h4><em><strong>Why go beyond diet sleep and exercise?</strong></em></h4><p>You just cannot beat diet, sleep and exercise.<br>Although the goal of this post is to go through uncommon methods for controlling blood glucose levels, we cannot do better than: eating well, sleeping well, and exercising regularly.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!B4RH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!B4RH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 424w, https://substackcdn.com/image/fetch/$s_!B4RH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 848w, https://substackcdn.com/image/fetch/$s_!B4RH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 1272w, https://substackcdn.com/image/fetch/$s_!B4RH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!B4RH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png" width="1024" height="123" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e0306143-de4b-45c6-b446-4629f428301f_1024x123.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:123,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!B4RH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 424w, https://substackcdn.com/image/fetch/$s_!B4RH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 848w, https://substackcdn.com/image/fetch/$s_!B4RH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 1272w, https://substackcdn.com/image/fetch/$s_!B4RH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0306143-de4b-45c6-b446-4629f428301f_1024x123.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>While it is clear how diet and exercise can impact glucose. Sleep still seems a little underrated. In my own case, a lack of sleep (especially for extended periods of time) seems to correlate with high morning blood glucose. Just like the example in the picture below, this seems to hold even when my diet is all under&nbsp;control:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aI6y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aI6y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 424w, https://substackcdn.com/image/fetch/$s_!aI6y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 848w, https://substackcdn.com/image/fetch/$s_!aI6y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 1272w, https://substackcdn.com/image/fetch/$s_!aI6y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aI6y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png" width="1024" height="399" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:399,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aI6y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 424w, https://substackcdn.com/image/fetch/$s_!aI6y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 848w, https://substackcdn.com/image/fetch/$s_!aI6y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 1272w, https://substackcdn.com/image/fetch/$s_!aI6y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ee2f972-ce21-414c-8788-8958c2840b13_1024x399.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">A single observation from personal measurements when I do not sleep well (of course this is just one day of data and there could be other factors contributing to this) measured using&nbsp;KetoMojo</figcaption></figure></div><p>Running a controlled experiment on this would not be a good idea, but this result is far from surprising. In <a href="https://www.ncbi.nlm.nih.gov/pubmed/10543671">a study that investigated the effect of sleep debt on metabolic and endocrine functions</a> there was a clear consistent impairment of how the participants tolerate glucose when they were in sleep debt (the rate at which sugar was cleared, after injection, was about 40% slower in sleep-debt than in the sleep-recovery).</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gn1-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gn1-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 424w, https://substackcdn.com/image/fetch/$s_!gn1-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 848w, https://substackcdn.com/image/fetch/$s_!gn1-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 1272w, https://substackcdn.com/image/fetch/$s_!gn1-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gn1-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png" width="1024" height="154" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:154,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!gn1-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 424w, https://substackcdn.com/image/fetch/$s_!gn1-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 848w, https://substackcdn.com/image/fetch/$s_!gn1-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 1272w, https://substackcdn.com/image/fetch/$s_!gn1-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1442301e-9c29-4a8c-ab24-228e13e65184_1024x154.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>But what if we keep those above variables (meaning sleep, diet and exercise) under control and you want to go a step further? Even if those last variables are the 20% that give you the 80% of the outcome. <strong>Our goal here is to go beyond that and reach the final 99%.</strong><br>Plus, some days you just want to have cake, other days you just have to wake up earlier. What can you do then to feel good and manage the day? How can you have your cake and eat it&nbsp;too?</p><p>So let&#8217;s get&nbsp;started. And feel free to tell me which tools you use in the comments.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/control-blood-glucose-with-these/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.ismail.bio/p/control-blood-glucose-with-these/comments"><span>Leave a comment</span></a></p><p></p><h3>1) Take a&nbsp;sauna</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!R7fO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!R7fO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 424w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 848w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1272w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!R7fO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png" width="1024" height="401" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb78fd18-d899-4566-a208-0d09bed23677_1024x401.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:401,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!R7fO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 424w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 848w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1272w, https://substackcdn.com/image/fetch/$s_!R7fO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb78fd18-d899-4566-a208-0d09bed23677_1024x401.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">This comic sums up my opinion about&nbsp;saunas</figcaption></figure></div><p>In general, heat is uncomfortable. After all, cooling fans disappear from supermarkets during hot seasons and people take refuge in air conditioned shops.</p><p>That said, it appears that <strong>increasing your core temperature for short bursts is good for general health</strong>. More than just aiding with glucose control, heat stress can also drastically aid performance, increase muscular hypertrophy, endurance and cognition.</p><p>When it comes to saunas I might be a little biased. I usually take enough saunas during the week to get comments such as: <em>watch out, you&#8217;ll end up like a dry sponge at some point</em>. <br>At some point though, I tried wearing a continuous glucose monitor during sauna sessions. I noticed the following:<br>&#8202;&#8212;&#8202;my glucose levels seem to rise during the sauna usage.<br>&#8202;&#8212;&#8202;after the session is done my glucose levels stabilize to a lower value than they were&nbsp;before.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VTPR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VTPR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 424w, https://substackcdn.com/image/fetch/$s_!VTPR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 848w, https://substackcdn.com/image/fetch/$s_!VTPR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 1272w, https://substackcdn.com/image/fetch/$s_!VTPR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VTPR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png" width="1024" height="396" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:396,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!VTPR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 424w, https://substackcdn.com/image/fetch/$s_!VTPR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 848w, https://substackcdn.com/image/fetch/$s_!VTPR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 1272w, https://substackcdn.com/image/fetch/$s_!VTPR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c787160-4f5c-463e-bbc2-1a66f5239ec7_1024x396.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">How using the sauna affects glucose levels (measured in interstitial fluid using the Freestyle Libre&nbsp;sensor)</figcaption></figure></div><p>Note that it is possible that this spike is caused by a problem in the sensor&#8217;s measurement due to the heat or dehydration. Even if that were true, the levels of glucose seem to stabilize to a lower level than usual. <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5941775/">A study on dry saunas, published in the </a><em><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5941775/">British Medical Journal</a></em><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5941775/">,</a> showed that: taking a sauna accelerated the uptake of insulin (a hormone that regulates glucose). This uptake, also favors skeletal muscle, which gives an explanation to the raise in hypertrophy with the use of saunas. <a href="https://www.tandfonline.com/doi/full/10.1080/02656730601176824">A study on mice suggests </a>that the reason muscle tissue is favored, instead of adipose tissue (or fat), is caused by an increase in the expression of a type of transporter known as GLUT-4 (responsible for transporting glucose from the blood into skeletal muscle). This is also possibly one of the reasons why heat acclimation <a href="https://www.ncbi.nlm.nih.gov/pubmed/4066564">has been shown to reduce the usage of muscle glycogen</a> by about 40% to 50%, in addition to the increased flow of blood to the&nbsp;muscles.</p><p><strong>Once again</strong>,<strong> saunas and heat exposure come with risks</strong>. Please read the disclaimer at the end of this&nbsp;article.</p><blockquote><p><em><strong>How to implement this:</strong></em><br>&#8212;Most days when possible because saunas are awesome.<br>&#8212;In the morning after a night of non-optimal sleep <br>&#8212; After having had a large meal, waiting two hours or more to avoid going there with a full&nbsp;stomach.</p></blockquote><h3><strong>2) Go for a walk, use a standing&nbsp;desk</strong></h3><p>As simple as the title suggests, especially after having a meal with my co-workers I would&nbsp;usually:</p><ul><li><p>Go for a&nbsp;walk.</p></li><li><p>Use a standing&nbsp;desk.</p></li></ul><p>I wish I had a treadmill desk so I could do both in the same&nbsp;time.</p><p>Note that this is not just about reducing glucose through the energy demands from standing or walking. It&#8217;s about keeping those levels stable. For example, in <a href="https://www.ncbi.nlm.nih.gov/pubmed/24297826https://www.ncbi.nlm.nih.gov/pubmed/24297826">an office-based study</a> published in the journal of <em>Occupational and Environmental Medicine</em>, working in a standing position seems to reduce spike in blood glucose by about 43% (compared to sitting for the same amount of&nbsp;time).</p><p>That said, some days I do sit for a long time either because I am focused on something, because I am on a meeting or just because I straight out do not want to. The key here is making sure those days are the exception not the&nbsp;rule.</p><blockquote><p><em><strong>How to implement this:</strong></em><br>&#8212;Going for a walk after lunch at work, or after dinner.<br>&#8212;Using a standing desk during the day, when possible.</p></blockquote><h3><strong>3) Eating bitter plants, herbs and&nbsp;spices</strong></h3><p>Of all the previous advice this one is probably the easiest. And the reason is because it tastes good. Before meals, including things such as: <strong>cinnamon, apple cider vinegar, lemon juice, or bitter melon </strong>can also be a way to keep stable levels of glucose. And if it is still early enough, <strong>green tea</strong> before or after meals can also increase insulin sensitivity and the uptake of glucose into the cells. That said, I have not done any controlled experiment to verify if these actually have an impact on how my glucose levels fluctuate.</p><p>But here&#8217;s the thing: there is enough evidence to support those compounds and they&#8217;re tasty&nbsp;anyway!</p><p>Ceylon Cinnamon, for example, is not only tasty but also seems to increase insulin sensitivity, and getting more glucose from the blood into cells. The other good news is, taking about 2 teaspoons a day would be enough you and do not need to ingest a whole cup or go through the cinnamon challenge to get those benefits. For example, <a href="https://www.ncbi.nlm.nih.gov/pubmed/17924872">In a randomized controlled trial</a>, healthy individuals supplemented with either 5g of cinnamon or 5g of placebo. Consuming just 5g of cinnamon seems to reduce total plasma glucose responses to glucose with effects lasting up to twelve hours. A <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3767714/">meta analysis shows</a> that cinnamon also improves fasting blood glucose, total cholesterol, triglycerides and other biomarkers. So no need to wait for pumpkin spice season to use cinnamon.</p><p>Another plant extract that is worth mentioning is <em>Berberine</em>. When it comes to reducing blood glucose, a <a href="http://www.ncbi.nlm.nih.gov/pubmed/23118793">large number of studies</a> suggests that the usage of berberine rivals oral hypoglycemic drugs such as Metformin in its effectiveness. Berberine seems to indirectly activate an enzyme known as AMPK while inhibiting PTP1B. As a result, this would increase the uptake of both carbs and fats into cells from the blood. However, I have not used Berberine myself because I am still skeptical about how it works on the molecular level and because most of the evidence comes from studies targeting individuals with type 2 diabetes. Please note that Berberine is known to inhibit the activity of certain enzymes which can lead to a host of drug interactions and that high doses can cause cramping and running&nbsp;pants.</p><p>I&#8217;ll personally stick with my Cinnamon on this&nbsp;one.</p><blockquote><p><em><strong>How to implement this:</strong></em><br>&#8212;Adding bitters with food or before having a meal.<br>&#8212;Drinking green tea if it&#8217;s not late&nbsp;yet.</p></blockquote><h3><strong>4 ) Using exercise throughout the&nbsp;day</strong></h3><p>By this I&nbsp;mean:</p><ul><li><p>exercising in a fasted state, before having any&nbsp;food.</p></li><li><p>Taking small exercise breaks throughout the whole day instead of one hour of exercise (usually referred to as<em> greasing the&nbsp;groove</em>).</p></li></ul><p><a href="https://www.ncbi.nlm.nih.gov/pubmed/20837645">A study on the effects of fasted exercise</a> (exercising before breakfast) suggests that exercising in a fasted state is better than exercising in a fed state in improving the tolerance to glucose and insulin sensitivity, in addition to facilitating muscle adaptations.</p><p>On the other hand, taking small exercise breaks during the day not only allows you to become proficient at certain movements (such as pull-ups, squats or dead-lifts), it also keeps your metabolism elevated throughout the day and frees you from the need of setting time for structured workouts.</p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/control-blood-glucose-with-these?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Thanks for reading, if you found it useful hit that heart button. It would mean a lot to me and it helps others see the post</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/p/control-blood-glucose-with-these?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.ismail.bio/p/control-blood-glucose-with-these?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.ismail.bio/subscribe?"><span>Subscribe now</span></a></p><p></p><blockquote><p><strong>Important Disclaimer: <br></strong>This post is for informational purposes only. <br>The content of this blog is not intended to be a substitute for professional medical advice, diagnosis, or treatment. You must consult with a health-care practitioner, before undertaking any of the exercises, habits, protocols, techniques or otherwise described herein. <br>This blog does not constitute the practice of medicine or any other professional health care services, including providing medical advice. The use of information on this post is at the user&#8217;s own risk. The author expressly disclaims responsibility for any adverse effects that may result from the use or application of the information contained herein.</p></blockquote><div><hr></div><p><a href="https://medium.com/biohackerblog/control-blood-glucose-with-these-uncommon-ways-6a6e3d68e906">Control blood glucose with these uncommon ways</a> was originally published in <a href="https://medium.com/biohackerblog">Biohacker Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded></item><item><title><![CDATA[Is GABA good for sleep?]]></title><description><![CDATA[A self-experiment using the Oura ring and a GABA supplement]]></description><link>https://blog.ismail.bio/p/is-gaba-good-for-sleep</link><guid isPermaLink="false">https://blog.ismail.bio/p/is-gaba-good-for-sleep</guid><dc:creator><![CDATA[Ismail Elouafiq]]></dc:creator><pubDate>Tue, 06 Jan 2026 13:45:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!2JMW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2JMW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2JMW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 424w, https://substackcdn.com/image/fetch/$s_!2JMW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 848w, https://substackcdn.com/image/fetch/$s_!2JMW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 1272w, https://substackcdn.com/image/fetch/$s_!2JMW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2JMW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2JMW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 424w, https://substackcdn.com/image/fetch/$s_!2JMW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 848w, https://substackcdn.com/image/fetch/$s_!2JMW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 1272w, https://substackcdn.com/image/fetch/$s_!2JMW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcae708ba-fbab-45de-99d5-7c55c5421d0f_564x284.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Time for another experiment. And this time it&#8217;s about&nbsp;sleep.</p><p>I have been using oral GABA to go faster to sleep. But I wasn&#8217;t sure it really helped. This is because the days I used GABA were days when I had trouble getting to sleep anyway, which made it hard to tell if GABA had any effect. So I decided to run an experiment and compare it to&nbsp;placebo.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Experiments is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>After this experiment, I stopped using GABA as a supplement, and you will understand why in the&nbsp;results.</p><p>The form of GABA naturally present in the brain, Gamma-Aminobutyric Acid, is well established as an amino acid that supports in reducing stress, and enhancing sleep. But, <em>using GABA as a supplement is not the same</em>. Several human clinical trials have been conducted, results regarding the role of natural and/or biosynthetic oral GABA intake on stress and sleep seem to be&nbsp;mixed.</p><h4>Summary of the results: GABA did not meet my expectations</h4><blockquote><p><em>I was expecting increased deep sleep, and total sleep, with GABA, but that did not seem to be the case. The results were: <br>&#10140; </em><strong>Less deep sleep</strong> <em>compared to placebo, as measured by the Oura ring.<br>&#10140; </em><strong>Faster sleep</strong> <em>compared to placebo, as measured by the Oura ring.<br>&#10140; </em><strong>Subjective feelings of drowsiness </strong><em>compared to&nbsp;placebo.</em></p></blockquote><blockquote><p><em>Note that the experiment is too small to truly make any conclusions on the statistical significance of the results. </em><br>That is why I stopped taking GABA for the purpose of enhancing sleep, but I still think there is potential for the use of GABA as a supplement for other purposes or in a different form than the existing supplements.</p></blockquote><blockquote><p><em>PS: if you&#8217;re interested in self-experimentation or want to get updates about the experiments I&#8217;m running <a href="https://blog.ismail.bio/subscribe?">feel free to join my mailing list here</a>: <a href="https://blog.ismail.bio/subscribe?">https://ismail.bio/subscribe</a></em></p></blockquote><h2>Method: How I took the GABA supplement</h2><p>How much GABA I took and how much time did it take to get a&nbsp;result.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!diDO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!diDO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 424w, https://substackcdn.com/image/fetch/$s_!diDO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 848w, https://substackcdn.com/image/fetch/$s_!diDO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 1272w, https://substackcdn.com/image/fetch/$s_!diDO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!diDO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!diDO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 424w, https://substackcdn.com/image/fetch/$s_!diDO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 848w, https://substackcdn.com/image/fetch/$s_!diDO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 1272w, https://substackcdn.com/image/fetch/$s_!diDO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F232408ef-9146-419e-ad90-6bb4b0de1626_1024x393.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">What each day contained: GABA vs.&nbsp;Placebo</figcaption></figure></div><ul><li><p><strong>Which GABA supplement I took: </strong><em>Thorne&#8217;s PharmaGABA-100 supplement</em><br>(note that this also contains: Calcium Laurate, Hypromellose Capsule, Magnesium Citrate and Microcrystalline Cellulose)</p></li><li><p><strong>How much GABA:</strong> 2 capsules with 100mg of GABA each (200mg in&nbsp;total).</p></li><li><p><strong>Placebo</strong>: I used acacia fiber as placebo. 2 x capsules on Placebo&nbsp;days.</p></li><li><p><strong>Blinding: </strong>I had a friend place the Placebo pills and GABA pills in similar jars, label them as A and B, and keep which one is A and which one is B under the jars (in a way that I could not see them). And for some extra &#8220;double blinding&#8221;, I did not check the meaning of A and B until I was done with the analysis. When this was done, I replaced the values in the visualisations below (GABA ended up being A, and Placebo being&nbsp;B).</p></li><li><p><strong>Timing: </strong>I took GABA 15min before going to&nbsp;bed.</p></li></ul><h2>Results</h2><p>Before discussing the main results, it is good to note that there was no difference in bedtime and total sleep time in both experiments. The main results were that on days I used GABA, my deep sleep seems to be lower while it still seemed like I went faster to&nbsp;sleep.</p><p><strong>Lower deep sleep with GABA supplementation</strong></p><p>The first result that surprised me was that my deep sleep seemed lower with GABA intake. This goes contrary to a lot of the research that claims that GABA supplementation increases deep non-rem sleep. However as discussed in a systematic review [Hepsomali et al. 2020] the GABA supplementation studies fail to show any beneficial effect of GABA intake other than sleep latency (if at&nbsp;all).</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xsEU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xsEU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 424w, https://substackcdn.com/image/fetch/$s_!xsEU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 848w, https://substackcdn.com/image/fetch/$s_!xsEU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 1272w, https://substackcdn.com/image/fetch/$s_!xsEU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xsEU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!xsEU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 424w, https://substackcdn.com/image/fetch/$s_!xsEU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 848w, https://substackcdn.com/image/fetch/$s_!xsEU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 1272w, https://substackcdn.com/image/fetch/$s_!xsEU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F001a83a4-6da9-4197-88ec-8780d4a18364_1024x383.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Lower deep sleep with Oral GABA supplementation</figcaption></figure></div><p>The graphs here do not show statistical significance, but they give a better idea of how much difference there was between GABA and&nbsp;placebo.</p><p><strong>Interpretation:</strong> why GABA may reduce deep&nbsp;sleep</p><p>I suspect this is due to the fact that after taking in GABA only increases plasma levels of GABA the first couple of minutes and then causes lower levels than the original baseline.</p><ul><li><p><em>~30 minutes after supplementation:</em> rapid increase of plasma GABA concentration. This may be responsible for the reduction in sleep&nbsp;latency.</p></li><li><p><em>~60 minutes after supplementation: </em>a rapid decrease of plasma GABA concentration which may explain a lowering of deep&nbsp;sleep.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gy8Z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gy8Z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 424w, https://substackcdn.com/image/fetch/$s_!gy8Z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 848w, https://substackcdn.com/image/fetch/$s_!gy8Z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 1272w, https://substackcdn.com/image/fetch/$s_!gy8Z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gy8Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!gy8Z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 424w, https://substackcdn.com/image/fetch/$s_!gy8Z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 848w, https://substackcdn.com/image/fetch/$s_!gy8Z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 1272w, https://substackcdn.com/image/fetch/$s_!gy8Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a0215ef-d0c1-4ffd-b6b1-428632c9cfee_937x393.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">What plasma GABA levels &#8220;may&#8221; look like with oral supplementation, based on a systematic review of <a href="https://pubmed.ncbi.nlm.nih.gov/33041752/">[Hepsomali et. al 2020]</a> (these are not actual plasma levels of GABA but an illustration of what it may look&nbsp;like)</figcaption></figure></div><p><strong>Faster to sleep with&nbsp;GABA</strong></p><p>On the upside, I was getting faster to sleep with GABA. While as you can see there is an outlier value where it shows much longer, but even when this outlier is taken away (figure in the middle) it still seems that I slept faster with&nbsp;GABA.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oH4X!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oH4X!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 424w, https://substackcdn.com/image/fetch/$s_!oH4X!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 848w, https://substackcdn.com/image/fetch/$s_!oH4X!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 1272w, https://substackcdn.com/image/fetch/$s_!oH4X!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oH4X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!oH4X!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 424w, https://substackcdn.com/image/fetch/$s_!oH4X!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 848w, https://substackcdn.com/image/fetch/$s_!oH4X!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 1272w, https://substackcdn.com/image/fetch/$s_!oH4X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F210b505b-c371-42a6-8735-9dc03f63df66_1024x308.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Changes in Sleep latency&nbsp;(Lower)</figcaption></figure></div><p>This is consistent with my subjective feeling, with existing research and with the interpretation above.</p><p>Would I sacrifice deep sleep over faster sleep? It feels tempting, but most of the time I would prefer not to do that. Especially when there are other alternatives.</p><h4><strong>Possible confounding factors</strong></h4><p>Other things may have interfered with this self-experiment.</p><p>It is possible that my sleep on a weekend day is different from the rest of the weekdays. This experiment was only 12 days long, so we should check how the weekends and weekdays were split between GABA days and Placebo&nbsp;days.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ITGS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ITGS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 424w, https://substackcdn.com/image/fetch/$s_!ITGS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 848w, https://substackcdn.com/image/fetch/$s_!ITGS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 1272w, https://substackcdn.com/image/fetch/$s_!ITGS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ITGS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!ITGS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 424w, https://substackcdn.com/image/fetch/$s_!ITGS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 848w, https://substackcdn.com/image/fetch/$s_!ITGS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 1272w, https://substackcdn.com/image/fetch/$s_!ITGS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374362b1-7eae-4efd-9878-c2303daecc24_1024x593.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Number of weekdays with GABA and number of weekends with GABA (you can see that weekends were mostly Placebo whereas weekdays were mostly GABA&nbsp;days)</figcaption></figure></div><p>As you can see, weekends consisted mostly of Placebo days, whereas weekdays consisted mostly of GABA days. It is possible that the results we saw earlier were impacted by that. In other words, that my deep sleep seemed longer during a Placebo day just because it was a&nbsp;weekend.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DOJx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DOJx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 424w, https://substackcdn.com/image/fetch/$s_!DOJx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 848w, https://substackcdn.com/image/fetch/$s_!DOJx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 1272w, https://substackcdn.com/image/fetch/$s_!DOJx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DOJx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!DOJx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 424w, https://substackcdn.com/image/fetch/$s_!DOJx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 848w, https://substackcdn.com/image/fetch/$s_!DOJx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 1272w, https://substackcdn.com/image/fetch/$s_!DOJx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fccd23eec-1c30-40b0-a3d3-7184b7f16c87_1024x303.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">The different ways my deep sleep could have been&nbsp;affected</figcaption></figure></div><p>Without doing any complex statistics, the relationship between deep sleep and weekend/weekdays did not seem as high as the relationship between GABA and&nbsp;Placebo.</p><p>As I mentioned earlier, the following variables did not seem to differ&nbsp;: bedtime, wake-up time had no difference, neither did total time in bed. I also compared subjective measures of exercise intensity as these can also have an effect, but there was no major difference.</p><h2>Conclusion</h2><p>In this case both my gut feeling and the emotionless data agreed, and I stopped taking&nbsp;GABA.</p><p>This shows the benefit of experimenting yourself and not basing everything on existing research. What works for most people, does not work for a few people, and you may be part of the few people. Remember that this does not mean no one would benefit from GABA supplementation. If anything, there probably are a lot of people who&nbsp;would.</p><p>This experiment could be improved if it lasts about 28 days and if we design it to take into account all the possible confounding factors (exercise, weekends&nbsp;etc.).</p><p>If you have done any statistics in the past, you will know that this visual analysis is not enough to make any conclusions. But if you have done any self-experimentation, you would also understand that there is a sweet spot between what is statistically relevant and keeping your&nbsp;sanity.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.ismail.bio/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Experiments is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>