Better HN
topnewbestaskshowjobs
Log inSign up

sbhat7

275 karma · joined Sep 13, 2009 (17y ago) · 38 submissions

sukumar at thinkapi.com
Submissions

comment 7y ago · link · parent

Deployment of a new version would depend upon your setup. Assuming a setup similar to the author, you can have a new Docker images with the new version of your code and run it in parallel. All you have to do after that is point the traffic from the old version to the new version (By just running `docker compose`).

If you have a more complex setup, e.g. if by using Kubernetes, you can do things like run both the version at the same time, person A/B testing or have canary deployments to ensure the new version works .

Time for deployment would be most likely in seconds unless the setup is complex/convoluted.

Schema modifications are another beast. For small use cases, you could run a specialized one time container that performs the modifications, but once you need high availability, you'd have to consider a more complex approach. See https://queue.acm.org/detail.cfm?id=3300018

comment 8y ago · link · parent

I've used FMC[1] with decent results. C4 modelling[2] is another option, but I personally haven't used it yet.

1. http://www.fmc-modeling.org/quick-intro

2. https://c4model.com/

3.

VictorOps acquired by Splunk(victorops.com ↗)

1 points · by sbhat7 · 8y ago · discuss

4.

Show HN: Fuge, an Erlang Port of GitHub's Scientist Library(github.com ↗)

6 points · by sbhat7 · 10y ago · discuss

comment 12y ago · link · parent

To add a new node to the network, it

* needs to have the same data as the other nodes

* needs a round of Raft to notify its presence to other nodes

So you can only add new nodes (automatically) when you have a 'live' system.

majority = ceil((2n + 1)/2) : so by getting the number of available nodes in the partition, nodes can figure out if they are in the majority or minority cluster.

See section 6 in the paper for details of its implementation.

comment 12y ago · link · parent

From 9.1 section in the paper,

> Each student watched one video, took the corresponding quiz, watched the second video, and took the second quiz. About half of the participants did the Paxos portion first and the other half did the Raft portion first in order to account for both individual differences in performance and experience gained from the first portion of the study. We compared participants’ scores on each quiz to deter- mine whether participants showed a better understanding of Raft.

comment 12y ago · link · parent

> To give an example, say I have n machines in datacenter A, and n*.99 in datacenter B. datacenter A gets destroyed, permanently. Does datacenter B now reject all (EDIT: where reject = not commit) requests until a human comes along to tell it that datacenter A isn't coming back?

Of CAP, you are now choosing CP with Raft. So yes, the system is unavailable until an external agent fixes it. In other words, the system needs to have a majority of nodes online to be "available".

comment 12y ago · link · parent

Google web cache: http://webcache.googleusercontent.com/search?q=cache:8LyCs4h...

9.

Elli: Performance oriented web server written in Erlang(wooga.com ↗)

65 points · by sbhat7 · 14y ago · 20 comments

comment 14y ago · link · parent

Previous and relevant discussions:

http://news.ycombinator.com/item?id=3622059

https://groups.google.com/forum/?fromgroups#!topic/redis-db/...

comment 14y ago · link · parent

Its a part of all blogs on svbtle.com

comment 14y ago · link · parent

There is an issue open[1], looks like a fix is in the works.

1. https://github.com/wooga/Pocket-Island/issues/2

comment 14y ago · link · parent

http://webiphany.com/resume/cv.html

comment 14y ago · link · parent

Not sure if they added this now, but there is a send e-mail form at the top of the page that just does this.

Also, looks like its all the standard info that can be detected in general. More specific things like n/w info might be harder to get.

comment 15y ago · link · parent

I suppose he is referring to this - http://www.thinkgeek.com/gadgets/9e84/

comment 15y ago · link · parent

My friend used to work for a large multi-national. In his company, each of the departments were like companies in itself. The formalities for quitting the job and changing departments were the same. So most of the time the only way to get off a bad project was to quit the company.

comment 15y ago · link · parent

Well, if you look at India's performance in the Olympics (http://en.wikipedia.org/wiki/India_at_the_Olympics), thats not necessarily true.

comment 15y ago · link · parent

http://waxy.org.nyud.net/2011/06/kind_of_screwed/

comment 15y ago · link · parent

Another approach could perhaps be charging for the number of designs instead.

comment 15y ago · link · parent

Nice article. It'd be great to have some numbers that indicate the size/scale of the system and its components.

comment 15y ago · link · parent

To go to full-screen mode and exit?

comment 15y ago · link · parent

This would also mean they downloaded the copy of gawker's hacked database, which is probably why they didn't provide more details.

comment 15y ago · link · parent

Slides from functional programming class might clarify things a bit [PDF].

http://www.it.uu.se/edu/course/homepage/avfunpro/ht10/notes/...

comment 16y ago · link · parent

You missed the footer.

    The problem with natural selection is that there's no one to blame for the design of testicles

comment 16y ago · link · parent

"Any sufficiently advanced technology is indistinguishable from magic."

comment 16y ago · link · parent

"something 4 people use every 6 months doesn't tend to get optimized much"

comment 16y ago · link · parent

Python.

http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Compute...

comment 16y ago · link · parent

Would it be possible to have AMAs and AMAAs here?

comment 16y ago · link · parent

Almost all music streamed and played in India online is illegal. PPL India (http://www.pplindia.org/aboutus.html) cracks down on such websites.

One needs to obtain specific license from PPL for streaming music online and such a license is quite expensive.

comment 17y ago · link · parent

The link is pointing to an image. This is the actual link

https://www.grubhub.com/

12