fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#varnishcache

1 post1 participant0 posts today
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://noc.social/@ck" class="u-url mention">@<span>ck</span></a></span> this is not wrong, but also not the best advice either. varnishd should not be restarted to reload the vcl, use varnishadm vcl.load and vcl.use for that, or a script like <a href="https://github.com/varnishcache/pkg-varnish-cache/blob/master/systemd/varnishreload" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/varnishcache/pkg-va</span><span class="invisible">rnish-cache/blob/master/systemd/varnishreload</span></a></p><p><a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a></p>
Elena Rossini on GoToSocial ⁂<p><span class="h-card"><a href="https://fosstodon.org/@slink" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>slink</span></a></span> <span class="h-card"><a href="https://mastodon.social/@jandi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jandi</span></a></span> <span class="h-card"><a href="https://bsd.network/@overunderlay" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>overunderlay</span></a></span> <span class="h-card"><a href="https://social.stealthy.club/@esoteric_programmer" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>esoteric_programmer</span></a></span> <span class="h-card"><a href="https://fosstodon.org/@bsdphk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>bsdphk</span></a></span> awww thank you Nils! ❤️​<br><br>You have no idea how grateful I am for <a href="https://aseachange.com/tags/varnishcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a>. It's a real gem, protecting my site against the Mastodon stampede. Nothing else worked before.<br><br>Bravissimo for the great work on it 🙌​</p>
Elena Rossini on GoToSocial ⁂<p><span class="h-card"><a href="https://mastodon.social/@jandi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jandi</span></a></span> thank you for letting me know about the two LEGENDS responsible for <a href="https://aseachange.com/tags/varnishcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> (aka my favorite discovery in this 7-month self-hosting journey) 🙌✨❤️</p><p><span class="h-card"><a href="https://bsd.network/@overunderlay" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>overunderlay</span></a></span> <span class="h-card"><a href="https://social.stealthy.club/@esoteric_programmer" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>esoteric_programmer</span></a></span> <span class="h-card"><a href="https://fosstodon.org/@bsdphk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>bsdphk</span></a></span> <span class="h-card"><a href="https://fosstodon.org/@slink" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>slink</span></a></span></p>
Elena Rossini on GoToSocial ⁂<p>🏕️ my adventures in <a href="https://aseachange.com/tags/selfhosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>selfhosting</span></a> - day 212 (consolidating edition) 🎛<br><br>If you followed my (mis)adventures yesterday and all the issues I had with caching and <a href="https://aseachange.com/tags/cdn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CDN</span></a> for my <a href="https://aseachange.com/tags/wordpress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wordpress</span></a> site, well, I found a solution.<br><br>💫​ Something that had been in front of me the whole time<br>💫​ ZERO additional costs<br><br>Ta-da: 👻​<br><br>🔗​: <a href="https://news.elenarossini.com/my-so-called-sudo-life/my-adventures-in-self-hosting-day-212-consolidating-edition/" rel="nofollow noopener" target="_blank">https://news.elenarossini.com/my-so-called-sudo-life/my-adventures-in-self-hosting-day-212-consolidating-edition/</a><br><br><a href="https://aseachange.com/tags/ghost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ghost</span></a> <a href="https://aseachange.com/tags/varnishcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a><br></p>
Elena Rossini on GoToSocial ⁂<p>Update no.2: It turns out, I cannot install <a href="https://aseachange.com/tags/varnishcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> on my shared hosting plan because that requires <a href="https://aseachange.com/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nginx</span></a> and my plan doesn't support it...<br><br>The only option I have - to manually install Varnish - is to move my <a href="https://aseachange.com/tags/wordpress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wordpress</span></a> site from my shared hosting plan to a <a href="https://aseachange.com/tags/vps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VPS</span></a>.<br><br>I already have 2 VPS's so it would cost me nothing but this takes a bazillion steps and I honestly don't want to do it 😐​ I love the Dashboard / ease of use of my shared hosting plan vis-à-vis Wordpress.<br><br>Plan C is seeing if things are different with BunnyCDN.<br><br>Plan Z is moving all my blogging efforts to Ghost but I don't want do to that. I'll try anything to protect my Wordpress site against the Mastodon stampede.<br><br>Edit: for context, I have had this Wordpress site since 2010 (15 years now!) so I don't want to mess with it.<br><br>cc: <span class="h-card"><a href="https://fosstodon.org/@cleantext" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cleantext</span></a></span> and <span class="h-card"><a href="https://tech.lgbt/@ck0" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ck0</span></a></span> (who asked about this)</p>
Elena Rossini on GoToSocial ⁂<p>Never a dull day in this <a href="https://aseachange.com/tags/selfhosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>selfhosting</span></a> journey: editing important <a href="https://aseachange.com/tags/dns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DNS</span></a> records while your child is on summer holiday - and may come see you every few minutes - is a very interesting exercise in concentration.<br><br>Special thanks to nonna (grandma) for helping with childcare this morning 😅​<br><br>I'm hoping I'm successful in setting up a more solid <a href="https://aseachange.com/tags/cdn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CDN</span></a> for my personal website because I keep DDOS'ing myself (from a simple Mastodon reply to a federated Wordpress post - 8k followers will do that).<br><br>Wish me luck!<br><br>P.S.: another moment of gratitude / deep appreciation for <a href="https://aseachange.com/tags/varnishcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> which has been providing rock solid caching to my <a href="https://aseachange.com/tags/ghost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ghost</span></a> site. Now I need to take care of my <a href="https://aseachange.com/tags/wordpress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wordpress</span></a> site with a pro CDN solution (Varnish isn't an option sadly bc of the Wordpress setup / I don't have direct access to the server)</p>
Poul-Henning Kamp<p><span class="h-card" translate="no"><a href="https://infosec.exchange/@david_chisnall" class="u-url mention">@<span>david_chisnall</span></a></span> </p><p>I&#39;ll take one for <a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a> too!</p>
Nils Goroll 🕊️:varnishcache:<p>With the merge of <a href="https://github.com/varnishcache/varnish-cache/pull/4209" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/varnishcache/varnis</span><span class="invisible">h-cache/pull/4209</span></a> <a href="https://fosstodon.org/tags/VarnishCache" class="mention hashtag" rel="tag">#<span>VarnishCache</span></a> is now prepared for using asynchronous I/O also on the network side.</p><p>Stay tuned.</p><p> <a href="https://fosstodon.org/tags/io_uring" class="mention hashtag" rel="tag">#<span>io_uring</span></a></p>
N-gated Hacker News<p>🚫 Oh wow, an article that’s a 403 Error <a href="https://mastodon.social/tags/tribute" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tribute</span></a> to a Bell Labs legend! Truly the pinnacle of modern <a href="https://mastodon.social/tags/journalism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>journalism</span></a> – if only I could access it! 🔍 Maybe the legacy is hidden in the Varnish cache server? 🙃<br><a href="https://spectrum.ieee.org/dsp-pioneer-jim-boddie" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">spectrum.ieee.org/dsp-pioneer-</span><span class="invisible">jim-boddie</span></a> <a href="https://mastodon.social/tags/403Error" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>403Error</span></a> <a href="https://mastodon.social/tags/BellLabs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BellLabs</span></a> <a href="https://mastodon.social/tags/VarnishCache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> <a href="https://mastodon.social/tags/TechLegacy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechLegacy</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
Elena Rossini on GoToSocial ⁂<p>🏕️ my adventures in <a href="https://aseachange.com/tags/selfhosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>selfhosting</span></a> - day 186 (bandwidth edition)🚦<br><br>A moment of gratitude for <a href="https://aseachange.com/tags/varnishcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> and how incredibly it has protected my self-hosted <a href="https://aseachange.com/tags/ghost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ghost</span></a> blog from the so-called "Mastodon stampede" / "Mastodon hug of death":<br><br>Yesterday I published a page on my site with the French-language version of the Fediverse promo video <a href="https://news.elenarossini.com/fedivers-video/" rel="nofollow noopener" target="_blank">https://news.elenarossini.com/fedivers-video/</a><br><br>Then I posted a message on my Mastodon account about it, asking people to boost it, so that people in the Francophone world could see it.<br><br>How many boosts did I get? 1300 so far (you people are amazing).<br><br>Well, my Ghost blog is still standing and super fast. Varnish is INCREDIBLE and I could not recommend it more.<br><br>Oh and my VPS with PeerTube is also still standing because I embedded the French version of the video on my Ghost site, so that hundreds of Mastodon servers attempted to fetch the cover image of the POST and not the cover image of the video.<br><br>Bandwidth consumption (for my VPS with GoToSocial and PeerTube) so far this month: 0.457 TB (my limit is 8 TB)<br><br>Bandwidth consumption for my VPS with Ghost: 0.06 TB (limit: 4 TB)<br><br>So far so good 😅​<br><br><a href="https://aseachange.com/tags/mysocalledsudolife" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MySoCalledSudoLife</span></a></p>
Poul-Henning Kamp<p>I&#39;m 100% on board with this:</p><p><a href="https://gitlab.gnome.org/GNOME/libxml2/-/issues/913" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">gitlab.gnome.org/GNOME/libxml2</span><span class="invisible">/-/issues/913</span></a></p><p>Both that the security theater is that. (In <a href="https://fosstodon.org/tags/VarnishCache" class="mention hashtag" rel="tag">#<span>VarnishCache</span></a> we could not get a CVE under embargo because we did not have enough bugs calling for a CVE!)</p><p>But also that unpaid FOSS maintainers dont owe anybody nothing:</p><p><a href="https://queue.acm.org/detail.cfm?id=3674985" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">queue.acm.org/detail.cfm?id=36</span><span class="invisible">74985</span></a></p>
N-gated Hacker News<p>🚨 "Breaking news: The Iberian Blackout wasn't caused by renewables... or was it?" 💡 Turns out, it was all a clever plot by the Varnish cache server to make us question reality. 🤔 Who knew error messages could be so enlightening?<br><a href="https://spectrum.ieee.org/spain-grid-failure" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">spectrum.ieee.org/spain-grid-f</span><span class="invisible">ailure</span></a> <a href="https://mastodon.social/tags/BreakingNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BreakingNews</span></a> <a href="https://mastodon.social/tags/IberianBlackout" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IberianBlackout</span></a> <a href="https://mastodon.social/tags/VarnishCache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> <a href="https://mastodon.social/tags/RealityCheck" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RealityCheck</span></a> <a href="https://mastodon.social/tags/TechHumor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechHumor</span></a> <a href="https://mastodon.social/tags/ErrorMessages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ErrorMessages</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
Nils Goroll 🕊️:varnishcache:<p><a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a> uses miniobj.h by <span class="h-card" translate="no"><a href="https://fosstodon.org/@bsdphk" class="u-url mention">@<span>bsdphk</span></a></span> which puts an unsigned int magic value at the start of each &quot;thing pointed to&quot;, which is really helpful to guard against stray pointers, use-after-free and whatnot.</p><p>today i ran sth like</p><p>od -A None -t x4 -w 4 | grep -E &lt;all possible magics&gt; | sort | uniq -c | sort -rn</p><p>on a 170gb core dump to make sure that i do not overlook a memory leak. not particularly efficient, but very reliable through simplicity.</p>
N-gated Hacker News<p>🚫🚫 Behold, the <a href="https://mastodon.social/tags/groundbreaking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>groundbreaking</span></a> innovation you can't read about! 403 Forbidden—because who needs access to cutting-edge tech when you can have a Varnish cache error instead? 🤷‍♂️🔒<br><a href="https://spectrum.ieee.org/sf6-gas-replacement" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">spectrum.ieee.org/sf6-gas-repl</span><span class="invisible">acement</span></a> <a href="https://mastodon.social/tags/403Forbidden" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>403Forbidden</span></a> <a href="https://mastodon.social/tags/VarnishCache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VarnishCache</span></a> <a href="https://mastodon.social/tags/TechInnovation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechInnovation</span></a> <a href="https://mastodon.social/tags/AccessDenied" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AccessDenied</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://toot.community/@jorijn" class="u-url mention">@<span>jorijn</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@inawhilecrocodile" class="u-url mention">@<span>inawhilecrocodile</span></a></span> the built-in malloc based stevedore has various issues specific to the underlying implementation, but independent of that, it needs more memory than configured and it has an lru fairness issue. all of these issues are solved with <a href="https://gitlab.com/uplex/varnish/slash" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">gitlab.com/uplex/varnish/slash</span><span class="invisible"></span></a> <a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a></p>
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://toot.community/@jorijn" class="u-url mention">@<span>jorijn</span></a></span> using uds with <a href="https://fosstodon.org/tags/kubernetes" class="mention hashtag" rel="tag">#<span>kubernetes</span></a> is not an issue. just configure a file system shared between multiple containers of the same pod and put the uds &quot;file&quot; there.<br />fwiw, this is also the way to use varnishadm/varnishstat/varnishlog from a different container than where varnishd runs.<br />learning curve: yes, but it makes you more competent also :)<br /><a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a></p>
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://toot.community/@jorijn" class="u-url mention">@<span>jorijn</span></a></span> <span class="h-card" translate="no"><a href="https://floss.social/@monospace" class="u-url mention">@<span>monospace</span></a></span> i did also use nginx and have no hard arguments against it besides &quot;project governance&quot; maybe. but a relevant benefit of using <a href="https://fosstodon.org/tags/haproxy" class="mention hashtag" rel="tag">#<span>haproxy</span></a> in tcp mode is to avoid any double processing of http, which otherwise is prone to desync bugs. tcp mode simply adds/removes the tls pipe, nothing more, nothing less. all the http processing remains in <a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a> only.</p>
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://toot.community/@jorijn" class="u-url mention">@<span>jorijn</span></a></span> it&#39;s a long story with much detail. but there is one relevant argument: not to have complex tls code in the same address space as varnishd itself: <a href="http://varnish-cache.org/docs/trunk/phk/ssl.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">http://</span><span class="ellipsis">varnish-cache.org/docs/trunk/p</span><span class="invisible">hk/ssl.html</span></a> and <a href="http://varnish-cache.org/docs/trunk/phk/ssl_again.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">http://</span><span class="ellipsis">varnish-cache.org/docs/trunk/p</span><span class="invisible">hk/ssl_again.html</span></a> .</p><p>what we are working on right now (unpublished WIP) uses the keyless tls idea, which cloudflare made popular (but did not invent, iirc): <a href="https://www.cloudflare.com/en-gb/learning/ssl/keyless-ssl/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">cloudflare.com/en-gb/learning/</span><span class="invisible">ssl/keyless-ssl/</span></a></p><p><a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a></p>
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://toot.community/@jorijn" class="u-url mention">@<span>jorijn</span></a></span> yes, as of today, the recommended way is to use <a href="https://fosstodon.org/tags/haproxy" class="mention hashtag" rel="tag">#<span>haproxy</span></a> as a combined tls onloader/offloader with the PROXY2 protocol such that haproxy has &quot;zero&quot; configuration: see <a href="http://varnish-cache.org/docs/trunk/users-guide/vcl-backends.html#connecting-through-a-proxy" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">http://</span><span class="ellipsis">varnish-cache.org/docs/trunk/u</span><span class="invisible">sers-guide/vcl-backends.html#connecting-through-a-proxy</span></a> and .via in <a href="http://varnish-cache.org/docs/trunk/reference/vcl-backend.html#vcl-backend-7" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">http://</span><span class="ellipsis">varnish-cache.org/docs/trunk/r</span><span class="invisible">eference/vcl-backend.html#vcl-backend-7</span></a><br />this also works with dns: <a href="https://github.com/nigoroll/libvmod-dynamic/blob/master/src/vmod_dynamic.vcc" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/nigoroll/libvmod-dy</span><span class="invisible">namic/blob/master/src/vmod_dynamic.vcc</span></a></p><p>that said, we will do something about this eventually <a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a></p>
Nils Goroll 🕊️:varnishcache:<p><span class="h-card" translate="no"><a href="https://social.linux.pizza/@selea" class="u-url mention">@<span>selea</span></a></span> until recently, the default h2 status in <a href="https://fosstodon.org/tags/varnishcache" class="mention hashtag" rel="tag">#<span>varnishcache</span></a> (unintentional)</p><p><a href="https://github.com/varnishcache/varnish-cache/pull/4284" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/varnishcache/varnis</span><span class="invisible">h-cache/pull/4284</span></a></p>