Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
amix
16y ago
Our node.js solution uses around 10x less memory than the Netty solution. It also serves many more req. pr. sec on a lot of open connections. Of course, Netty might have improved since we used it and we might have used it wrongly. Generally
242.
▲
by
amix
16y ago
It should be noted that this post was written over one year ago and we are not using polling any longer, but comet solution. We wanted to do realtime notifications and polling isn't a way to do this. We tried different options and in the en
243.
▲
by
amix
16y ago
My favorite quote on this matter is from Gandhi: "An eye for an eye makes the whole world blind."
244.
▲
by
amix
16y ago
Arguments from authority are a fallacy and I am not saying that I trust blindly someone just because they are an expert. I am just stating that domain experts on HN generally have some really insightful comments :)
245.
▲
by
amix
16y ago
The thing I love about HN are the comments from domain-experts - e.g. tptacek on security, grellas posts on law or a direct response from a founder/creator. These kind of comments always seem to be very insightful. I don't value general dis
246.
▲
by
amix
16y ago
Slightly off-topic: Varnish has some really beautiful C code. It's so good you can get the source code in book form. Check out: http://ing.dk/modules/xphoto/cache/40/31740_460_400.jpg http://phk.freebsd.dk/misc/_book2.pdf ;)
247.
▲
by
amix
16y ago
In the recent years the booster for me has been the "Command-T" plugin, which makes it super fast to open files. I can _highly_ recommend this plugin, even if it's a bit harder to install than most other Vim plugins. Check out https://winc
248.
▲
by
amix
16y ago
Scaling depends a lot of how much data you got, how much data you generate and how much you plan to grow. Given the size of Basecamp and 37 Signal's future projection I doubt it would be wise to hope that they can scale vertically - - becau
249.
▲
by
amix
16y ago
You don't want to scale vertically once you hit millions of users and most other web companies like Google, Facebook, Yahoo and Microsoft have proven that horizontally scaling without big iron is the way to go. Currently the only way to sca
250.
▲
by
amix
16y ago
The strategy you usually take with scaling a relational database is sharding, partitioning and de-normalization. And given that Basecamp has millions of users I don't imagine their database structure to be pretty or normalized. This said, i
251.
▲
by
amix
16y ago
Like Joel Spolsky said it: "They followed the single worst strategic mistake that any software company can make: They decided to rewrite everything from scratch" - http://www.joelonsoftware.com/articles/fog0000000069.html I think rewriti
252.
▲
by
amix
16y ago
I did something very similar a while back (redis_wrap): http://amix.dk/blog/post/19508
253.
▲
by
amix
16y ago
Instead of making things more simple they have made a lot of things more complex and "configureable". I think Rails 3 is a great example of over-design and over-engineering. I don't really think web-frameworks need to be this complex. If pe
254.
▲
by
amix
16y ago
Java isn't really that good fit for real-time web applications as it usually eats a lot memory - especially if you compare it to C/C++ or node.js (V8). A while ago I rewrote a system from Java (that used JBoss Netty) to node.js. The node.j
255.
▲
by
amix
16y ago
If you like this you should read "Crossing the Chasm" and "Inside the Tornado" - they go into greater depths of how to find a niche, how to pivot and how the general market forces work.
256.
▲
by
amix
16y ago
Developers care about perfomance and if Python 3 becomes faster than Python 2 then I think people will begin to port their stuff to Python 3.
257.
▲
by
amix
16y ago
I love this kind of transparency. Making it much easier to be a founder :)
258.
▲
by
amix
16y ago
It's a bad call to compare to Desktop Linux. A better comparison is looking at "iOS vs. Android" as "Mac OS vs. Windows" - - The strategy for iOS is very similar to the strategy of Mac OS and the strategy of Android is similar to the strate
259.
▲
by
amix
16y ago
The presentation of this framework is quite good, but I don't really like the semantics of Vows - I find them too unnatural and complex, this is probably more rooted against BDD than Vows. What's wrong with testing the old way (e.g. like py
260.
▲
by
amix
16y ago
I think you guys have a cool service. I was about to setup nagios+Clickatell for service notifications, but 30 mins into the configs from hell I dropped this idea and started to work on a custom solution. Happy hacking, I am keeping an eye
261.
▲
Monitor anything and get free notifications on your iPhone (via notifo.com)
(amix.dk)
23 points
by
amix
16y ago
|
5 comments
262.
▲
by
amix
16y ago
Yesterday there was an interesting link on HN comparing NLP in Python vs. other languages: http://nltk.googlecode.com/svn/trunk/doc/howto/nlp-python.ht... . I think this article shows the clearness of the Python language - - and this clear
263.
▲
by
amix
16y ago
If it isn't broken, don't fix it and I don't think textual configurations are broken, i.e. you are solving a problem that really isn't a problem. Based on my experience with Flipper (a MySQL master-master tool), SQL configurations are very
264.
▲
by
amix
16y ago
I use Fabric (fabfile.org) to automate deployments. It works pretty good and I don't see how it is going to work better with a relational database. Regarding your question: I don't really know or care what version a nginx config is written
265.
▲
by
amix
16y ago
nginx does restart, but without taking the site down which is the most important aspect and the most important feature. Brining us to another point, I have deployed a lot of servers that use textual configurations and I can't really see wha
266.
▲
by
amix
16y ago
I like how nginx configuration works. It's simple, it's a DSL, it's a text file that's viewable by anyone, you can version it easily, you can comment in it, you can quickly take backups or revert back to old configurations, you can send a k
267.
▲
by
amix
16y ago
Before our node.js solution we actually ran Java along with a highly optimized JBoss Netty comet implementation and it had a hard time scaling since it used _a lot_ of memory. Generally, our Java solution used around 10 times more memory th
268.
▲
by
amix
16y ago
At Plurk.com we use node.js to provide comet updates to over 300.000 active clients at _once_. It's not a toy and it scales much better than most of other web-stacks I have tried. Read more here: http://amix.dk/blog/post/19490#Plurk-Instan
269.
▲
by
amix
16y ago
Their site should be so easy to scale as most of it is static data that can be cached by something like Varnish.
270.
▲
by
amix
16y ago
Thanks a lot for the feedback, I appreciate it and I'll try to follow some of your suggestions. Btw. you can quickly type labels by just typing @ :)
More ›