HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cobookman

no profile record

comments

cobookman
·5 年前·discuss
Store the content on the bitcoin blockchain. Expensive but it'll be available for 500+ years
cobookman
·5 年前·discuss
I find that the model S doesn't have enough 'premium' to be justified over a model 3.

That is unless you're looking at the model S plaid, but I can't envision huge demand for a car starting at 129k.
cobookman
·6 年前·discuss
I find that this is super convenient that this is happening during COVID restrictions.

I'm not needing a taxi/uber/lyft for leaving the bar. I'm not going out to a restaurant with friends. I'm not traveling for work/fun and needing an lift to the hotel.

My usage of uber/lyft/taxis went from 100s per month down to 0. If this change happened in 2019, I'd of had significant changes to my daily routine. Today, this changes nothing.
cobookman
·7 年前·discuss
Was thinking the same thing. Sounds expensive to repair. Leading to higher insurance premiums
cobookman
·8 年前·discuss
> and serialization is often only a few percent of that

A few percent is a huge performance win. For example shaving 5% off the latency of twitter / facebook's apis is huge. Thing about the compute, energy and bottom line impacts.

I do agree for many protobuf is overkill, there's way lower hanging fruit that will give a greater latency reduction.
cobookman
·8 年前·discuss
"""

When using Protobuf on a non-compressed environment, the requests took 78% less time than the JSON requests. This shows that the binary format performed almost 5 times faster than the text format. And, when issuing these requests on a compressed environment, the difference was even bigger. Protobuf performed 6 times faster, taking only 25ms to handle requests that took 150ms on a JSON format.

"""

https://auth0.com/blog/beating-json-performance-with-protobu...
cobookman
·8 年前·discuss
don't forget that gRPC multiplexes requests to various RPCs over an existing HTTP2 connection.
cobookman
·8 年前·discuss
You can have conditional protobuf fields / messages.

Checkout:

- Any: https://developers.google.com/protocol-buffers/docs/proto3#a...

- OneOf: https://developers.google.com/protocol-buffers/docs/proto3#o...

I believe Any is the equivalent to having a proto in format of:

```

message MyMessage {

    string type = 1;

    bytes data = 2;
}

```