And the Consul API is rather nice.
1,074 karma · joined April 23, 2012
And the Consul API is rather nice.
Get a demonstration, then try on your own.
Or maybe even include a vim golf game as an exercise? E.g. get to some word in less than four key presses.
How did you manage to get this open sourced?
Do they have anything in their contracts telling you not to do that?
As the raw storage seems pretty optimal now, I suspect next we'll see a comeback of indices for more precise queries to get another jump in performance.
FWIW, I've been playing with parquet and Kudu lately and on a reasonably sized single machine you can run similar queries on similar scale data in <5 seconds.
How would I use it? How does a query look like?
Does the duration include travel time? I'm in London and it suggests flying to India and Peru for a 3 day weekend trip. I'd be nice to see how much time you'd actually have at the destination, given a certain amount of days off, especially for short trips.
There's an interesting post about the internals: http://www.righto.com/2015/11/macbook-charger-teardown-surpr...
If you put a message into Kafka and have it configured correctly, it will come out on the other end at least once. This is not the case for most of the competitors.
Since then the non-Java clients have massively improved. In particular https://github.com/edenhill/librdkafka is fantastic. There's also https://github.com/dpkp/kafka-python/, with support for consumer groups and all the other modern features.
The basic criticism of requiring a complex client is valid, however you cannot achieve the delivery guarantees that Kafka gives you without one. The alternative would be to have a local agent process like consul, but that wouldn't give you the throughput that Kafka gets.
Disclaimer: I've built a C# client for Kafka based on librdkafa (https://github.com/ah-/rdkafka-dotnet), so I'm biased.
Basically you make the transfer of money an event that is then atomically committed to an event log. The two bank accounts then eventually incorporate that state.
See http://www.grahamlea.com/2016/08/distributed-transactions-mi...
But I agree that often life is easier if you just keep things simpler. If you require strong consistency like with the user/profile don't make that state distributed. If you do make it distributed you need to live with less consistency.
Does that mean that your chunk sizes are kind of fixed? Do you think there's a way to retain that advantage and be able to coalesce smaller chunks into larger ones?
Say your smallest nodes are 4KB but for more efficient storage you might want to go up to 4MB chunks. Could that be done while retaining the same hash for the same underlying data?
Does the same data chunked differently have a different hash?