# \[Tech Preview\] Hashstore backend for storage nodes

**URL:** <https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724>\
**Category:** STORJLINGS\
**Tags:** hashstore\
**Created:** [December 5, 2024, 3:24pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724 "2024-12-05T15:24:20Z")\
**Posts on this page:** 20\
**Page:** 22

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [April 25, 2025, 8:10am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/427 "2025-04-25T08:10:53Z")

</div>

> [@Roxor](#):
>
> And understand Storj is concerned a similar customer may start using the public nodes and hitting the same bottlenecks.

Why should we be concerned? First of all similar customers have already started using the public network. Just on a smaller scale. We expect these customers to scale up over time. If storj select nodes can handle the load (thanks to hashstore) the public network should also be able to handle it. I don’t see the problem. Sure there will be some node operators complaining about hashstore. We don’t force them to migrate. Everyone can use what ever they think works best.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [April 25, 2025, 8:25am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/428 "2025-04-25T08:25:32Z")

</div>

I could explain once more time. The hashstore backend has been designed for the Storj Select use cases, not the Storj Global (where the patterns are not predictable), also it significantly speedups simple setups without any tunings, so just Ansible/TF and you are done, they works perfect…

It can be useful for the Storj Global as well, especially for a limited not tuned systems, and may work well even on a hardware, which is not usable for anything else…

---

<div class="post-metadata">

**Author:** ![Roxor](https://storj.bcdn.literatehosting.com/letter_avatar/roxor/32/6_449c533f586939b6e5f246632a46421f.png) [@Roxor](https://forum.storj.io/u/Roxor)\
**Post date:** [April 25, 2025, 12:32pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/429 "2025-04-25T12:32:47Z")

</div>

> [@littleskunk](#):
>
> Why should we be concerned? First of all similar customers have already started using the public network. Just on a smaller scale.

If they’re not the same scale, they aren’t a “similar customer” - as the problem exhibits at scale. And are you asking me… to remind you… of how you just reminded us… of the reason for the concern? OK, I’ll scroll up. 😜

> [@littleskunk](#):
>
> It sounds like you all have forgotten … [snip]… The lesson learned was no matter how potent your server is the moment it has to deal with short TTL it can only delete the data as slow as the hard drive allowes it. Hashstore is the solution for that. Just that this low TTL data goes into the storj select network for now. The mistake you are making here is assuming storj select has the same kind of load as your personal node.

_You_ described it. Then I said I “understand Storj is concerned a similar customer may start using the public nodes and hitting the same bottlenecks.” And you came back and asked why I thought there was a concern? 🤔

I think we’re talking about the same thing. Hashstore hopes to be a solution for performance issues that currently _are_ a problem on Select, that _could_ affect Global. But Global SNOs don’t see it because nobody is paying for the same churn today.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [April 25, 2025, 2:49pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/430 "2025-04-25T14:49:11Z")

</div>

> [@littleskunk](#):
>
> So you complain about hashstore consuming some extra space while talking about installing additional SSDs? Is this some kind of joke?

No, I’m talking about deferred deletions that now have to be handled by HDDs, will will be slower, outside of that niche usecase where all TTL data is grouped togethe.

So it would work fast only in that niche usecase, where entire log can be deleted at once. For all other scenarios it would be slower. And yet, that niche usecase is also handled sufficiently fast by the filesystem. So, I still don’t see why did storj spent engineering resources developing the hash store.

No, ssd has already been part of the array. What array does not have an SSD today to accelerate random IO? Come on.

---

<div class="post-metadata">

**Author:** ![alpharabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alpharabbit/32/1129_2.png) [@alpharabbit](https://forum.storj.io/u/alpharabbit)\
**Post date:** [April 25, 2025, 2:59pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/431 "2025-04-25T14:59:40Z")

</div>

> [@arrogantrabbit](#):
>
> What array does not have an SSD today to accelerate random IO?

Who uses arrays for storj? The recommended setup is one disk per node. 😉

---

<div class="post-metadata">

**Author:** ![ACarneiro](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/acarneiro/32/1129_2.png) [@ACarneiro](https://forum.storj.io/u/ACarneiro)\
**Post date:** [April 25, 2025, 4:33pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/432 "2025-04-25T16:33:21Z")

</div>

I think Storj is trying to simplify running nodes insofar as possible in order to make the entry barrier for SNOs lower.  
People like me can just about manage to run a node. People like you can seriously optimise it by using your filesystem and O/S “tricks” but I dare say you’re quite a few knowledge notches above the average.  
I suspect that’s why you may be frustrated that Storj seems to be aimed at “potato nodes”.

---

<div class="post-metadata">

**Author:** ![Roxor](https://storj.bcdn.literatehosting.com/letter_avatar/roxor/32/6_449c533f586939b6e5f246632a46421f.png) [@Roxor](https://forum.storj.io/u/Roxor)\
**Post date:** [April 25, 2025, 5:03pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/433 "2025-04-25T17:03:00Z")

</div>

It’s interesting that hashstore is being mentioned as a fix for Select issues. Those are the facilities you’d expect to have the expertise to tune filesystems to workloads. Instead… they apparently meet the audit requirements for SOC 2… but run potato environments? And it’s the public/global SNOs that are tuning for speed (like with SSD caching layers)?

In the end I can’t complain: just do the best I can with the hardware I already own. Apparently more appropriate for Storj than the commercial providers… 😉

---

<div class="post-metadata">

**Author:** ![alpharabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alpharabbit/32/1129_2.png) [@alpharabbit](https://forum.storj.io/u/alpharabbit)\
**Post date:** [April 25, 2025, 5:24pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/434 "2025-04-25T17:24:05Z")

</div>

From a commercial provider you get what you paid for. Easy like that… 😉

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [April 25, 2025, 5:27pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/435 "2025-04-25T17:27:36Z")

</div>

> [@Roxor](#):
>
> Apparently more appropriate for Storj than the commercial providers… 😉

Apperently still the wrong conclusion. Can we get back to hashstore please. Your assumptions about storj select are wrong and off topic now…

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [April 25, 2025, 5:50pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/436 "2025-04-25T17:50:42Z")

</div>

> [@arrogantrabbit](#):
>
> So it would work fast only in that niche usecase, where entire log can be deleted at once.

I would say it is the other way around. Piecestore works fine in some usecases and the public network might be matching that for the time beeing. The moment the customer behavior changes hashstore will show its advantages. It is not just TTL data. There are a few scenarios in which hashstore will outperform piecestore. See it more as a trade. With piecestore all maintenance jobs will get slower the more data the node is holding. There is no limit on that. If a customer goes nuts and uploads billions of small files that will kill piecestore nodes. Hashstore can handle this with a known pricetag. And I bet that pricetag will be even cheaper than adding SSDs to prevent piecestore from failling.

---

<div class="post-metadata">

**Author:** ![EasyRhino](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/easyrhino/32/1133_2.png) [@EasyRhino](https://forum.storj.io/u/EasyRhino)\
**Post date:** [April 25, 2025, 6:01pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/437 "2025-04-25T18:01:37Z")

</div>

I wish there were select operators sharing their experiences, it would be interesting to see what kinds of setups and challenges they have.

---

<div class="post-metadata">

**Author:** ![alpharabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alpharabbit/32/1129_2.png) [@alpharabbit](https://forum.storj.io/u/alpharabbit)\
**Post date:** [April 25, 2025, 6:52pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/438 "2025-04-25T18:52:05Z")

</div>

> [@EasyRhino](#):
>
> I wish there were select operators sharing their experiences

Isn’t select just providing storage while nodes are operated by storj?

---

<div class="post-metadata">

**Author:** ![Roxor](https://storj.bcdn.literatehosting.com/letter_avatar/roxor/32/6_449c533f586939b6e5f246632a46421f.png) [@Roxor](https://forum.storj.io/u/Roxor)\
**Post date:** [April 25, 2025, 7:35pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/439 "2025-04-25T19:35:12Z")

</div>

I thought Select was all vanilla vendor-run Storj nodes… just that the Satellites knew their Identities were Select… so they got their own traffic and the /24 rule was ignored. But I can’t point to a link that says that.

---

<div class="post-metadata">

**Author:** ![mrbro](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mrbro/32/7828_2.png) [@mrbro](https://forum.storj.io/u/mrbro)\
**Post date:** [April 25, 2025, 10:47pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/440 "2025-04-25T22:47:42Z")

</div>

Unrelated to the current discussion at hand, but I just finished converting my 6TB node to hashstore. It completed a few days ago, but it left 52 piece files in the blobs directory. Any idea why it left these 52? I tried restarting the server and I do have the file walker enabled (which completes very fast now). They are all dated 9/18/2024 and are 0 bytes in size. I assume it’s safe to delete these? Perhaps orphaned pieces from an unsafe shutdown or something?

```auto
[root@storj blobs]# pwd
/mnt/storagenode/storage/blobs
[root@storj blobs]# find . -type f | wc -l
52

[root@storj blobs]# find . -type f | xargs ls -al
-rw-r--r--. 1 storj storj 0 Sep 18 2024 ./ukf<snip>/2m/venh<snip>.sj1
-rw-r--r--. 1 storj storj 0 Sep 18 2024 ./ukf<snip>/3o/f5b7<snip>.sj1
-rw-r--r--. 1 storj storj 0 Sep 18 2024 ./ukf<snip>/5q/62ag<snip>.sj1
-rw-r--r--. 1 storj storj 0 Sep 18 2024 ./ukf<snip>/5u/eixk<snip>.sj1

```

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [April 26, 2025, 7:54am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/441 "2025-04-26T07:54:18Z")

</div>

If they are zero size, they are definitely corrupted and cannot be migrated, you may delete them.

---

<div class="post-metadata">

**Author:** ![Mr.Clouds](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mr.clouds/32/7813_2.png) [@Mr.Clouds](https://forum.storj.io/u/Mr.Clouds)\
**Post date:** [April 26, 2025, 9:36am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/442 "2025-04-26T09:36:48Z")

</div>

What are the chances of corrupting a whole 1GB Hashstore file after an unsafe shutdown?

---

<div class="post-metadata">

**Author:** ![mike](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mike/32/1127_2.png) [@mike](https://forum.storj.io/u/mike)\
**Post date:** [April 26, 2025, 10:25am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/443 "2025-04-26T10:25:11Z")

</div>

> [@Mr.Clouds](#):
>
> What are the chances of corrupting a whole 1GB Hashstore file after an unsafe shutdown?

Generally, unsafe shutdowns (powerloss/crash/etc) are prone to cause corruptions or at least in most cases metadata issues.

This is especially true for filesystems like EXT\*, NTFS, ExFAT… This is in contrast to filesystems like ZFS, ReFS.. which does CoW (copy on write) which in most cases protects from these issues.

---

<div class="post-metadata">

**Author:** ![Mr.Clouds](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mr.clouds/32/7813_2.png) [@Mr.Clouds](https://forum.storj.io/u/Mr.Clouds)\
**Post date:** [April 26, 2025, 11:27am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/444 "2025-04-26T11:27:21Z")

</div>

If something unfortunate happens, we lose 1GB file data coz of corruption? Then instant disqualify?

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/6_449c533f586939b6e5f246632a46421f.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [April 26, 2025, 2:35pm UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/445 "2025-04-26T14:35:16Z")

</div>

You must loose at least 4% of data to be DQed.  
We already rised this problem, though. The recommendations are: use UPS.  
The hashstore is too riscky to be run without one.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [April 27, 2025, 2:30am UTC](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724/446 "2025-04-27T02:30:38Z")

</div>

Split this topic on April 27, 2025, 2:30am UTC

2 posts were split to a new topic: [Failed to create storage node peer: hashstore: invalid header:](https://forum.storj.io/t/failed-to-create-storage-node-peer-hashstore-invalid-header/29845)

[Previous page](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724.md?page=21)

[Next page](https://forum.storj.io/t/tech-preview-hashstore-backend-for-storage-nodes/28724.md?page=23)
