HackerTrans
トップ新着トレンドコメント過去質問紹介求人

amanj41

no profile record

コメント

amanj41
·昨年·議論
Used this for some knowledge graph visualization work. Really clean UI and some nice features out of box for interactivity
amanj41
·昨年·議論
Yes that is common. I was more talking about the case where someone perhaps introduces a bug causing a nil pointer dereference on some requests, so the panic is not explicitly called in code. In which case you would definitely want the recover in place.
amanj41
·昨年·議論
I think a good usecase for recover is in gRPC services for example. One wouldn't want to kill the entire service if some path gets hit leading to a panic while handling one request.
amanj41
·2 年前·議論
Graph DBs are generalized relationship stores. SQL can work for querying graphs, but graph DB DSLs like Cypher become very powerful when you're trying to match across multiple relationship hops.

For example, to find all friend of a friend or friends of a friend of a friend: `MATCH (user:User {username: "amanj41"})-[:KNOWS*2..3]->(foaf) WHERE NOT((user)-[:KNOWS]->(foaf)) RETURN user, foaf`
amanj41
·2 年前·議論
yes there's that idiosyncrasy, as well as client ideally needing to read the previous clock from the DB before writing an update for that key unless it's ok with the write being viewed as concurrent. Plus the extra memory overhead to store the clocks in the client.
amanj41
·2 年前·議論
Vector clocks are very cool. Having read through how they were initially used in Riak, I was blown away that such an implementation could scale. I guess this is why Cassandra took a different approach?
amanj41
·2 年前·議論
Not sure if ClickHouse needs ZK but FWIW Kafka has a raft implementation which now obviates need for ZK
amanj41
·2 年前·議論
Wasn't Madoff's plan the whole time to pocket investor money for himself, whereas Sam's was to arrogantly (and illegally) gamble it with the thought being he could return the principal from Alameda back to FTX in future? Genuine question, I'm not super informed on these.