Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vonsnowman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Avoiding redundant container builds
(vonsnowman.com)
2 points
by
vonsnowman
11y ago
|
0 comments
2.
▲
by
vonsnowman
11y ago
A very valid concern. We will work on this.
3.
▲
by
vonsnowman
11y ago
A big advantage of LF-delimited over length-prefixed messages is netcat/telnet-friendliness. That was more valuable to us than being binary-clean as our use cases do not involve sending large binary messages.
4.
▲
by
vonsnowman
11y ago
Netstrings look neat although I find the use of a redundant comma delimiter somewhat confusing. Buffer overflow concerns are not applicable to SSMP however, as the spec explicitly restricts message size to a maximum of 1024 bytes.
5.
▲
by
vonsnowman
11y ago
Client auth is explained in more details in the spec: https://github.com/aerofs/ssmp Our most common use case is client certificates but there are provisions for alternate auth schemes.
6.
▲
by
vonsnowman
11y ago
base64 is the preferred way but any 8-bit encoding that doesn't use LF would also work. There is no support for a length header or chunking as SSMP is designed with small messages in mind.
7.
▲
by
vonsnowman
11y ago
Not currently but we'd love to do it if there's enough interest to justify a more formal standardization.
8.
▲
Open Sourcing the Stupid-Simple Messaging Protocol
(aerofs.com)
107 points
by
vonsnowman
11y ago
|
31 comments
9.
▲
by
vonsnowman
11y ago
At first glance: - golang-builder does not provide a convenient script, instead requiring manual docker invocations [more flexible but more cumbersome] - golang-builder uses volumes, which makes it very hard to use within a contai
10.
▲
Show HN: gockerize - easily build and package Go binaries into Docker
(aerofs.com)
46 points
by
vonsnowman
11y ago
|
2 comments
11.
▲
by
vonsnowman
11y ago
We're not doing anything too fancy. Basically, we spawn a container to build a statically linked binary and do a regular Dockerfile-based build inside that container. The result is an image which contains only a single binary (any mayb
12.
▲
by
vonsnowman
11y ago
> This isn't so much Java vs. Go as it is JIT/interpreted vs. AOT-compiled. The numbers are entirely typical across a wide range of such comparisons. > [...] while an app written in C++, Rust, or Go will take 2MB. Agreed. As
13.
▲
by
vonsnowman
11y ago
Hehe, yes, I'm afraid I have a proclivity for terrible puns. I do think they're somewhat less cringe-worthy that the link-bait titles that are all the rage these days (or at least endearingly cringeworthy).
14.
▲
by
vonsnowman
11y ago
Basically Ubuntu 15.04 docker image + openjdk8 + mysqlclient + the service itself
15.
▲
by
vonsnowman
11y ago
The footprint of this particular service could have been optimized in Java but: 1. the JVM itself imposes a high floor (hotspot, many shared libs loaded, ...) 2. the Java language is full of overhead at every level (boxed types are a
16.
▲
by
vonsnowman
11y ago
As mentioned in the blog post, this was a hackathon project originally, hence the motivation to start with a very small server. The other servers that went through a rewrite also ended up being significantly smaller in go but that's a
17.
▲
by
vonsnowman
11y ago
At this point we have 6 microservices written in go in the appliance: - team-server probe: already mentioned in the blog post. Determines if any installed Team Server is down. - ca: as mentioned in the blog post, as simple Certif
18.
▲
A little Golang way
(aerofs.com)
201 points
by
vonsnowman
11y ago
|
186 comments
19.
▲
by
vonsnowman
12y ago
Go all the way to appendix B for the serious part. It's interesting how, besides the obvious jokes in every other sentence, the paper is otherwise almost plausible.
20.
▲
by
vonsnowman
12y ago
I value coworkers whose company I enjoy and who genuinely care about making customers happy. There's a wide spectrum between detached paycheck collector and over-invested lifer that fails to notice anything outside of work. I have noth
21.
▲
by
vonsnowman
12y ago
Such anger. I don't recall claiming to make the world a better place. We've changed our focus since I joined and to be honest I was more excited about the original vision but I'll take corporate file sharing over online adver
22.
▲
by
vonsnowman
12y ago
Don't get me wrong, the terms of the H1B are pretty terrible but that should not detract from Yuri's point that quotas and other immigration restrictions have a serious impact on smaller companies' ability to hire the best em
23.
▲
by
vonsnowman
12y ago
Or, you know, keep the person they've been training for 2 years and that is now the most knowledgeable about some sizable chunks of the product...
24.
▲
by
vonsnowman
12y ago
FYI, I am the employee mentioned in that post and your statement is just hilarious. Obviously, a young French guy with disposable income, no dependents and earthly possessions that fit in a large backpack and a suitcase is not representativ