Newsjacking is a great marketing tactic.
Especially when you can connect it nicely to your product.
โ
And GitGuardian, a tool for secrets management does it beautifully here.
They ran a story on how Toyota suffered from a data breach.
Because they didn't manage their GitHub secrets properly.
โ
Brilliant.
How to write a "What is {MY CORE KEYWORD}" article that gets to the top of HackerNews? ๐
First of all, almost no one succeeds at that as you write those articles for SEO distribution, not HN distribution.
To get an SEO-first article on HN your content quality bar needs to be super high.
But you can do it.
PlanetScale managed to get their "What is database sharding and how does it work?" on the orange page (kudos to Justin Gage!).
Here is what was interesting about that article:
๐ฆ๐๐ฝ๐ฒ๐ฟ ๐๐ผ ๐๐ต๐ฒ ๐ฝ๐ผ๐ถ๐ป๐ ๐ถ๐ป๐๐ฟ๐ผ.
โข โ No "In today's fast-paced data-driven world enterprises work with data" stuff.
โข โ
Justย ย "Learn what database sharding is, how sharding works, and some common sharding frameworks and tools."
๐๐ถ๐๐๐ถ๐ป๐ด ๐ธ๐ฒ๐๐๐ผ๐ฟ๐ฑ๐ ๐๐ต๐ถ๐น๐ฒ ๐ฏ๐๐ถ๐น๐ฑ๐ถ๐ป๐ด ๐ฟ๐ฎ๐ฝ๐ฝ๐ผ๐ฟ๐ ๐๐ถ๐๐ต ๐๐ต๐ฒ ๐ฑ๐ฒ๐ ๐ฟ๐ฒ๐ฎ๐ฑ๐ฒ๐ฟ.
๐ Speaking peer to peer, not authority-student:
โข "Youโve probably seen this table before, about how scaling out helps you take this users table, all stored on a single server:"
โข "And turn it into this users table, stored across 2 (or 1,000) servers:"
โข "But thatโs only one type of sharding (row level, or horizontal). "
๐จ๐๐ถ๐ป๐ด ๐ท๐ฎ๐ฟ๐ด๐ผ๐ป ๐ฎ๐ป๐ฑ ๐๐ป๐ฑ๐ฒ๐ฟ๐๐๐ฎ๐ป๐ฑ๐ถ๐ป๐ด ๐๐ผ๐๐ฟ ๐ฎ๐๐ฑ๐ถ๐ฒ๐ป๐ฐ๐ฒ
Things like:
โข "Partitioning has existed โ especially in OLAP setups"
โข "Sifting through HDFS partitions to find the missing snapshot "
๐๐ฐ๐๐๐ฎ๐น๐น๐ ๐ฒ๐ ๐ฝ๐น๐ฎ๐ถ๐ป๐ถ๐ป๐ด ๐๐ฒ๐ฐ๐ต๐ป๐ถ๐ฐ๐ฎ๐น๐น๐ ๐ต๐ผ๐ ๐๐ต๐ถ๐ป๐ด๐ ๐๐ผ๐ฟ๐ธ
๐ฅ Look at the section "How database sharding works under the hood" with subsections:
โข Sharding schemes and algorithms
โข Deciding on what servers to use
โข Routing your sharded queries to the right databases
โข Planning and executing your migration to a sharded solution
๐ ๐๐ผ๐ป๐๐: ๐ฝ๐น๐๐ด ๐ถ๐ป ๐๐ผ๐๐ฟ ๐ฝ๐ฟ๐ผ๐ฑ๐๐ฐ๐ ๐ด๐ฒ๐ป๐๐น๐
Section "Sharding frameworks and tools" shares open-source tools (every dev, but HN devs in particular like OS projects).
And there as an info box, you have the info that Planetscale comes with one of those OS projects deployed.
Just a beautifully executed piece of content marketing.
๐๐ผ๐ ๐๐ผ ๐ฐ๐ฟ๐ฒ๐ฎ๐๐ฒ ๐ด๐ผ๐ผ๐ฑ ๐๐ฒ๐ฐ๐ต๐ป๐ถ๐ฐ๐ฎ๐น ๐ฐ๐ผ๐ป๐๐ฒ๐ป๐ ๐๐ต๐ฎ๐ ๐๐ต๐ฒ ๐๐ฎ๐ฐ๐ธ๐ฒ๐ฟ ๐ก๐ฒ๐๐ ๐ฎ๐๐ฑ๐ถ๐ฒ๐ป๐ฐ๐ฒ ๐น๐ถ๐ธ๐ฒ๐?
The general tip is simple. Create content that the HN audience finds interesting.
๐ง๐ต๐ฎ๐ ๐๐๐ฝ๐ถ๐ฐ๐ฎ๐น๐น๐ ๐บ๐ฒ๐ฎ๐ป๐:
But how do you actually do that?
๐ข๐ป๐ฒ ๐ผ๐ณ ๐๐ต๐ฒ ๐ฝ๐น๐ฎ๐๐ฏ๐ผ๐ผ๐ธ๐ ๐๐ต๐ฎ๐ ๐๐ผ๐บ๐ฒ ๐๐ฒ๐ฐ๐ต๐ป๐ถ๐ฐ๐ฎ๐น ๐ณ๐ผ๐๐ป๐ฑ๐ฒ๐ฟ๐ ๐ฑ๐ฒ๐ฝ๐น๐ผ๐๐ฒ๐ฑ ๐๐ฎ๐ ๐๐ต๐ถ๐:
That was exactly what folks from CockroachDB did at the beginning. ย Heard about it on one of the episodes of the Unusual Ventures podcast with Peter Mattis from Cockroach Labs.
๐๐ ๐ฎ๐บ๐ฝ๐น๐ฒ๐ ๐๐ต๐ฎ๐ ๐ต๐ถ๐ ๐๐ต๐ฒ ๐๐ผ๐ฝ ๐ผ๐ณ ๐๐ก:
โข "CockroachDB Stability Post-Mortem: From 1 Node to 100 Nodes"
โข "Serializable, lockless, distributed: Isolation in CockroachDB"
โข "How CockroachDB Does Distributed, Atomic Transactions"
ย
Kudos Cockroach Labs team and thanks for sharing!
Hacker News developer audience doesn't love promotion to put it mildly.
But some dev tool companies manage to make this audience their biggest ally.
Fly.io is one of those companies.
And they had a super successful product launch a few years back. ย
So how did they do it?
Let's go through these in detail.
Who are you? Why should I listen?
What is the problem really?
What does your product do and how does it work?
Speak "dev to dev"
By doing it this way you have a chance of gaining love from the prolific HN crowd.
Fly.io definitely did, and is still reaping rewards with constant HN exposure.