Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
beau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
beau
9y ago
Each request takes a second or two to complete. If you lose the connection, the client can send the same request again (with exponential back off).
32.
▲
by
beau
9y ago
Even with HTTP/2, sending a GET request is not free. Most of the benefit is that we can show the user results as they come in. Each query gets over 50 responses in random order from DNS, in-memory indexes of zone files, slower fuzzy se
33.
▲
by
beau
9y ago
Sure, but why keep state when you don't need to? Now that HTTP/2 is ubiquitous, sending new GET requests is no more expensive than sending bytes through a WebSocket.
34.
▲
by
beau
9y ago
IIRC, earlier versions of WebKit wouldn't emit data from each chunk when I sent a custom content type. Or maybe there was some conflict with gzip, I forget. Now that those browsers are gone, maybe ndjson? jsons?
35.
▲
by
beau
9y ago
You should get the iOS app: https://itunes.apple.com/us/app/instant-domain-search/id1068... It uses the streaming API, and will work well for you.
36.
▲
by
beau
9y ago
I do gzip the streamed JSON. Try: $ curl -H "Accept-Encoding: gzip" --trace - " https://instantdomainsearch.com/services/vanity/apple?hash=8...
37.
▲
by
beau
9y ago
I tried this a long time ago. At the time, certain queries were hard for a server to answer. Other clients connected to the zombie server stalled until something timed out. With HTTPS, a load balancer can direct new queries to servers that
38.
▲
by
beau
9y ago
It's also easy to load them into Google's BigQuery: https://cloud.google.com/bigquery/docs/loading-data#supporte...
39.
▲
by
beau
9y ago
I made this choice because so many tools support newline-delimited text. A quick search showed that others (Twitter, eBay) made the same choice, so I went with the flow. *Thank you for NSBlog, it's great!
40.
▲
by
beau
9y ago
Thanks!
41.
▲
by
beau
9y ago
curl is a streaming parser. Most tools know what to do with a newline.
42.
▲
by
beau
9y ago
It works for Twitter: https://developer.twitter.com/en/docs/tutorials/consuming-st...
43.
▲
by
beau
9y ago
It is a pragmatic choice. Most languages can consume newline-delimited text natively. Do you really think getline() is going away?
44.
▲
Use streaming JSON to reduce latency on mobile
(instantdomainsearch.com)
189 points
by
beau
9y ago
|
84 comments
45.
▲
by
beau
9y ago
Everyone should be firing.
46.
▲
Use streaming JSON to reduce latency on mobile
(instantdomainsearch.com)
4 points
by
beau
10y ago
|
0 comments
47.
▲
by
beau
10y ago
Instant Domain Search did. People visiting the site tend to be ready to buy a domain, and Go Daddy does an amazing job of converting that intent into an actual sale. Most if Snipshot's users tended to use the tool to crop and apply fil
48.
▲
by
beau
10y ago
That's surprising. Network Solutions was caught doing something like this ( http://domainnamewire.com/2008/01/08/network-solutions-faces... ) but I've never seen any evidence that Go Daddy does anythi
49.
▲
by
beau
10y ago
Looks like you need to request an SLA credit manually: https://support.google.com/cloud/contact/cloud_platform_sla Details: https://cloud.google.com/compute/sla
50.
▲
Unsubscribe from junk email
(unsubscribefrom.com)
3 points
by
beau
11y ago
|
2 comments
51.
▲
by
beau
11y ago
It's hard to find an available .com. But that doesn't mean you can't get one: https://instantdomainsearch.com/aftermarket/
52.
▲
by
beau
11y ago
.com is dominant. Even domai.nr changed their name to domainr.com. Over 90% of users at https://instantdomainsearch.com/ buy .com names.
53.
▲
Levenshtein Automata (2010)
(blog.notdot.net)
61 points
by
beau
11y ago
|
34 comments
54.
▲
by
beau
12y ago
CloudFront charges about $600 per month for "Dedicated IP Custom SSL": http://aws.amazon.com/cloudfront/custom-ssl-domains/ CloudFront only has a couple dozen edge locations: https://aws.amazo
55.
▲
Build your own CDN on AWS with Route 53
(instantdomainsearch.com)
6 points
by
beau
12y ago
|
2 comments
56.
▲
by
beau
13y ago
In my experience building http://instantdomainsearch.com/ I found that the "slow" part was actually the network round-trip to the server. WebSockets don't make packets move across the network any faster. We c
57.
▲
by
beau
14y ago
I've owned an electric car for about two years now. The article missed a few points: 1. The regenerative braking means you do not need to replace your brakes nearly as often. (Tires are a different story.) 2. There are far fewer moving part
58.
▲
by
beau
15y ago
This is a great start. I built Instant Domain Search (IDS) almost 7 years ago, and have learnt a lot from the experience. Some quick thoughts: 1. There are no margins in the domain industry. Start thinking about building a hosting company.
59.
▲
by
beau
15y ago
Yeah, I think the article should have a code sample.
60.
▲
by
beau
16y ago
I'm having a great time at Facebook.
More ›