Live data from Hacker News

A persistent key-value server in 40 lines and a sad fact (2014)

java-is-the-new-c.blogspot.com

21–30 of 36 posts

Re: A persistent key-value server in 40 lines and a sad fact (2014)

#22
post #9
post #3

Earlier quoted context omitted.

Don't look at the "moving gif's" (sic.). Then it will be easier to read.

Except that's now how human visual perception works. Movement is distracting and one of the main reason people hate banner ads (which historically have been extremely attention grabbing, occasionally resorting to strobing for maximum attention). Our brains are geared for paying attention to things that move, especially things that move irregularly (like poorly looped gifs).

We're particularly attracted to movements outside the focus point, that's what makes it distracting. The retina cells (mainly rods) further away from the fovea are bad at distinguishing things, but excellent at detecting rapid movements.

It helps noticing prey when hunting or predators when being hunted. It does not help when trying to read some text.

Re: A persistent key-value server in 40 lines and a sad fact (2014)

#25
post #14

Earlier quoted context omitted.

Don't know your "real" world. In my real world, the AWS instance takes several minutes to come up - I can spare some milliseconds on thr JVM startup.

In my real world the containers we spin up come up in seconds, but container restart is far more rare than restarting services.

If the time to restart your process or host affects the overall operation and performance of your service you're doing it wrong.

Re: A persistent key-value server in 40 lines and a sad fact (2014)

#26
post #5

Earlier quoted context omitted.

Startup time in a server is a non-issue... Those processes keep running the whole time.

Yeah, and memory is infinite, and all disks are free, and the computing fairies make all the processors super fast. But back in the real world, startup time is a valid concern.

What are you doing that you frequently starts / shuts down an application to the order where 70ms is a problem?

Re: A persistent key-value server in 40 lines and a sad fact (2014)

#28
post #26

Earlier quoted context omitted.

Yeah, and memory is infinite, and all disks are free, and the computing fairies make all the processors super fast. But back in the real world, startup time is a valid concern.

What are you doing that you frequently starts / shuts down an application to the order where 70ms is a problem?

Not just frequently starting/stopping applications but a persistence engine at that.

Re: A persistent key-value server in 40 lines and a sad fact (2014)

#29
post #5

Earlier quoted context omitted.

Startup time in a server is a non-issue... Those processes keep running the whole time.

Yeah, and memory is infinite, and all disks are free, and the computing fairies make all the processors super fast. But back in the real world, startup time is a valid concern.

How many reboots per second are you having to endure? Maybe you should make your server process crash less often.

Re: A persistent key-value server in 40 lines and a sad fact (2014)

#30
post #2

PS. The moving gif's make it very hard to read.

If you're using Firefox, go into about:config and change image.animation_mode to none, then reload the page.

Or just use any browser's inspector to delete them.
Post reply on HN