rostayob
rostayob on Hacker News
I talk about the cancelability state and how it can help us shortly after that statement:
https://mazzo.li/posts/stopping-linux-threads.html#controlle... . In hindsight I should have made a forward reference to that section when talking about C++. My broad point was that combining C++ exceptions and thread cancellation is fraught with danger and imo best avoided.
As I note in the blog post in various places if one can organize the code so that cancellation is explicit things are indeed easier. I also cite eventfd as one way of doing so. What I meant to convey is that there's no easy way to cancel arbitrary code safely.
Cancellation points and cancellability state are discussed in the post. In a C codebase that you fully control pthread cancellation _can_ be made to work, but if you control the whole codebase I'd argue you're better off just structuring your program so that you yield cooperatively frequently enough to ensure prompt termination.
(I'm the author)
I don't really claim that Lanczos interpolation as presented is the "best" 2D interpolation there is. It is definitely popular though, and I couldn't find a source explaining how it is derived, so I thought it'd be an interesting topic for a blog post.
There was no battle actually, everybody (well, my boss and my boss's boss) was very supportive of open sourcing. And thanks for the kind words!
We do use Reed-Solomon codes, as the blog post explains.
No, we have our custom compressor as well but it's outside the filesystem.
The question is whether there are single Ceph deployments are that large. I believe Hetzner uses Ceph for its cloud offering, and that's probably very large, but I'd imagine that no single tenant is storing hundreds of PBs in it. So it's very easy to shard across many Ceph instances. In our use-case we have a single tenant which stores 100s of PBs (and soon EBs).
I'm not fully up to date since we looked into this a few years ago, at the time the CERN deployments of Ceph were cited as particularly large examples and they topped out at ~30PB.
Also note that when I say "single deployment" I mean that the full storage capacity is not subdivided in any way (i.e. there are no "zones" or "realms" or similar concepts). We wanted this to be the case after experiencing situations where we had significant overhead due to having to rebalance different storage buckets (albeit with a different piece of software, not Ceph).
If there are EB-scale Ceph deployments I'd love to hear more about them.
(Disclaimer: I'm one of the authors of TernFS and while we evaluated Ceph I am not intimately familiar with it)
Main factors:
* Ceph stores both metadata and file contents using the same object store (RADOS). TernFS uses a specialized database for metadata which takes advantage of various properties of our datasets (immutable files, few moves between directories, etc.).
* While Ceph is capable of storing PBs, we currently store ~600PBs on a single TernFS deployment. Last time we checked this would be an order of magnitude more than even very large Ceph deployments.
* More generally, we wanted a system that we knew we could easily adapt to our needs and more importantly quickly fix when something went wrong, and we estimated that building out something new rather than adapting Ceph (or some other open source solution) would be less costly overall.
Posted by
rostayob on Thursday September 18, 2025 @10:36AM
from the xtxmarkets.com dept.
Posted by
rostayob on Sunday September 22, 2024 @01:20PM
from the mazzo.li dept.
I am, but I only type the messages I need to type. Which aren't that many. If there's some long explanation to be had I call or I leave a voice message. And yes, I am aware of the fact that everybody hates voice messages, but it's only fair if somebody requires my immediate attention :).
Typing is painful, but not disastrous actually. It's perfectly serviceable.
Note that I was fairly careless with it, and I'm pretty clumsy. It probably fell 20+ times. But still, it feels very cheap (and I suppose it makes sense given the price).
I've been using this phone as my full time phone for 1 year. It's a great compromise for people that ideally would not want a smartphone, but need to have one since many life situations require it.
I basically only use it for WhatsApp and music, but when some other need arises, it can do everything a normal smartphone can do.
The only problem is that the build quality is not good. The audio jack of the first one I bought (off the initial kickstarter) broke after 6 months or so. I bought another one, and the up volume button recently broke. But otherwise, no complaints.
Posted by
rostayob on Monday July 01, 2024 @06:43PM
from the mazzo.li dept.
Posted by
rostayob on Friday December 08, 2023 @04:49AM
from the github.com dept.
This post is an excuse to explain VM concepts, rather than a tutorial, something I maybe could have made clearer.
Posted by
rostayob on Monday June 19, 2023 @10:09AM
from the jaspervdj.be dept.
Posted by
rostayob on Thursday December 01, 2022 @08:22PM
from the aras-p.info dept.
Posted by
rostayob on Sunday November 06, 2022 @09:01AM
from the mazzo.li dept.
Posted by
rostayob on Friday October 07, 2022 @07:32AM
from the mazzo.li dept.
Posted by
rostayob on Monday September 05, 2022 @06:06AM
from the github.com dept.
Posted by
rostayob on Monday August 01, 2022 @09:48AM
from the corsix.org dept.
Posted by
rostayob on Thursday June 16, 2022 @06:33PM
from the youtube.com dept.
Posted by
rostayob on Thursday June 16, 2022 @12:25PM
from the github.com dept.
Posted by
rostayob on Saturday June 11, 2022 @05:18AM
from the en.wikipedia.org dept.