Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
linepogl
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
linepogl
7d ago
Apart from the performance issues, it also prevents a bug. If some files get deleted between the first and the second pass, then you end up with unexpected behaviour and probably a crash.
2.
▲
by
linepogl
3y ago
And yet, the idempotent solution in the article is not idempotent. The author proposes a solution that needs three steps: query a cache, execute, update the cache. These are not atomic and, therefore, not thread-safe. As a result, if a seco