Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cozos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
cozos
7y ago
I took a database class in college and it mostly taught SQL syntax (which IMO can be learned from StackOverflow and such) and all the different intricacies of database normalization (3rd normal form, etc). Having worked as a programmer for
92.
▲
by
cozos
7y ago
String.format is slow compared to normal string concatenation (i.e. "foo" + "bar")! Bit me once when using String.format in a hot path. https://stackoverflow.com/questions/513600/should-i-use-ja
93.
▲
by
cozos
7y ago
These are more academic than practical (i.e. build a DB from scratch) but still interesting I think. https://github.com/rxin/db-readings
94.
▲
by
cozos
7y ago
5 miles at 45 minutes is 6.66 miles/hour. Unless most Americans are professional speed walkers I think that's jogging speed.
95.
▲
by
cozos
7y ago
I've used SQLAlchemy a bunch and found that it has excellent support for complex (for me anyways) query options. For example, avoiding N+1 selects with eager joins has been a breeze.
96.
▲
by
cozos
7y ago
As someone who has only known BufferedReader for his entire life, I found this comment to be extremely informative. Thanks!
97.
▲
by
cozos
7y ago
Insightful blog posts! IMO a better memory comparison would be between a Spark executor and a DataFusion ... container I guess (i.e. graphing query time vs spark.executor.memory). This would give you a better idea of memory TCO on a cluster
98.
▲
by
cozos
7y ago
Most "big data" distributed compute frameworks that come to mind are written in a JVM language, so the focus on Rust is interesting. So then, would Rust be better than a JVM language for a distributed compute framework like Apache
99.
▲
by
cozos
7y ago
These guys did a presentation about running/optimizing Vitess (the tech behind Planetscale) on Kubernetes. Cool stuff. https://www.slideshare.net/AmazonWebServices/running-a-highp... (Vitess is barely mentioned on
100.
▲
by
cozos
7y ago
I find this really interesting. Care to provide some comparisons?
101.
▲
by
cozos
8y ago
In other words, are you saying that distributed databases with local storage can greatly reduce network I/O with things like predicate pushdown, which is not possible when the database is built on top of a distributed file system?
102.
▲
by
cozos
8y ago
I've gotten pulled over on the SF <=> LA I-5 before for going 91 MPH (somewhere in the middle on a steep downhill). The policeman told me with a straight face that I should go no faster than 65 MPH.
103.
▲
by
cozos
8y ago
There was this really interesting discussion on a different thread [0] about how _any_ contact with child services drastically reduces the intelligence of a child. [0] https://news.ycombinator.com/item?id=18760039
104.
▲
by
cozos
8y ago
Functions are stateless and I believe can be better optimized. Enforcing statelessness is also a win in itself.
105.
▲
by
cozos
8y ago
Can you elaborate on what you mean by "the whole shared memory multithreading model breaking"? I would love to hear ;)
106.
▲
by
cozos
8y ago
120 APM is with "useless actions" filtered out. Professional Starcraft players typically do 300-400 APM when spam is counted.
107.
▲
by
cozos
8y ago
That's actually really cool. What was his plan like compared to the actual operation? Also, what kind of methodologies would one use to plan something like this?
108.
▲
by
cozos
9y ago
Thanks for the reply! For us, the ability to self-tune is one of Heron's most attractive features. Tuning components/executors in Storm was a big pain point. Have you guys ever tried using the Dhalion autoscaling combined with har
109.
▲
by
cozos
9y ago
My company is considering "upgrading" our Storm topologies to Heron. Given that Storm is Heron's predecessor, and Storm itself is maintained by the ASF, I wonder what this donation means for Heron. p.s. does anybody have expe
110.
▲
by
cozos
9y ago
I laughed so hard at the Local Optima example video
111.
▲
by
cozos
9y ago
Very interesting that drummers/trumpeters are so well paid, 20pence/day vs archers who only get paid 3pence/day! I guess that performing in the middle of a battle wasn't a top career pick for musicians.