Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joevandyk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
631.
▲
by
joevandyk
17y ago
so you kinda skipped the code review and refactoring parts, right?
632.
▲
by
joevandyk
17y ago
Yikes. I assume they didn't have offsite backups, and some dude did a 'rm -rf *' or ran a 'delete from table cascade' command.
633.
▲
by
joevandyk
17y ago
How can you say it's bad without knowing how knowing what each request is doing? Github isn't a microbenchmark. A concrete example: I can say that one of my rails sites handles 850 dynamic requests per second running on a single small 1 cpu
634.
▲
by
joevandyk
17y ago
I think we all understand the difference between threads and processes and where context switching fits in. In Linux 2.6, there's not a lot of difference between switching between processes and threads. From the github dude: "Our Ruby appli
635.
▲
by
joevandyk
17y ago
The limiting factor of concurrency in a Rails application is the slowness of Ruby, not processes vs threads. If the bottleneck of Ruby were fixed, then the next bottleneck would be the database.
636.
▲
by
joevandyk
17y ago
The github developers are great ruby developers, and I'd be very surprised if they would be as productive in the short term in a different language. I do not see a business case for switching platforms for them. You seem hung up on the num
637.
▲
by
joevandyk
17y ago
The 16 worker processes only handle dynamic requests, not static. With proper http caching, ESI, etc, it's quite likely that amount amount of concurrency is more than enough for their needs. Say that when all the workers are being utilized
638.
▲
by
joevandyk
17y ago
that is correct.
639.
▲
by
joevandyk
17y ago
You run "touch #{RAILS_ROOT}/tmp/restart.txt". That will restart the rails processes. No connections are dropped, and I've not seen any downtime.
640.
▲
by
joevandyk
17y ago
not sure why this is here, it's not really worth reading yet.
641.
▲
by
joevandyk
17y ago
Same here. Pretty big bug. Had to load up Safari. Someone report the bug, I'm too lazy.
642.
▲
by
joevandyk
17y ago
I'm looking at cassandra as a possible solution for things like this.
643.
▲
by
joevandyk
17y ago
How is postgresql hard to install and manage? Postgresql is used in some absolutely huge places. I know of some that are terabytes in size. There's tons of support options for postgresql, not sure what you are talking about. I'm guessing y
644.
▲
by
joevandyk
17y ago
This would help us out as well.
645.
▲
by
joevandyk
17y ago
I've been self-employed for 2.5 years. I have an LLC. I got a mortgage last month.
646.
▲
by
joevandyk
17y ago
* I would hold off on adding this to your iphone for now. It's very slow and buggy.
647.
▲
by
joevandyk
17y ago
i wonder if that guy's in love with his public image. :D
648.
▲
by
joevandyk
17y ago
no naps? booooo
649.
▲
by
joevandyk
17y ago
I dunno, Java FX looks better suited for webapps.
650.
▲
by
joevandyk
17y ago
Thanks, I hadn't heard of the griffon project before. I do need to learn a lisp. Clojure's probably the most practical one to learn.
651.
▲
by
joevandyk
17y ago
Why exclude slicehost and linode? they have APIs for starting/stopping slices.
652.
▲
Should I learn Scala or Clojure next?
4 points
by
joevandyk
17y ago
|
6 comments
653.
▲
by
joevandyk
17y ago
obviously because the entire Ruby community hated him.
654.
▲
by
joevandyk
17y ago
I'd work with him. He's smart and not dogmatic. People act differently online than in person.
655.
▲
by
joevandyk
18y ago
Good point, we will be making adjustments to the front page shortly.
656.
▲
by
joevandyk
18y ago
Need? No. Want? Maybe.
657.
▲
by
joevandyk
18y ago
You will be able to use your own domain shortly.