News for hackers. Stuff that matters.

sbhat7

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

Re:Diagrams: A diagram editor for the Mac on Wednesday August 29, 2018 @11:08AM (#17868788)
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/

Re:Raft: Understandable Distributed Consensus on Friday September 05, 2014 @07:14AM (#8273248)
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.

Re:Raft: Understandable Distributed Consensus on Friday September 05, 2014 @06:09AM (#8273103)
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.

Re:Raft: Understandable Distributed Consensus on Friday September 05, 2014 @06:04AM (#8273079)
> 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".

Re:The Best Advice My Dad Ever Gave Me (for Demo Day) on Friday August 10, 2012 @07:23AM (#4365728)
Its a part of all blogs on svbtle.com
Re:Wooga releases mobile HTML5 Game as Open Source on Friday June 22, 2012 @04:22AM (#4145937)
There is an issue open[1], looks like a fix is in the works.

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

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.

Re:Kickstarter project for $100 - 1 kW - stirling engine on Monday November 14, 2011 @01:05PM (#3234966)
I suppose he is referring to this - http://www.thinkgeek.com/gadgets/9e84/
Re:Hacker News Fires Steve Yegge on Thursday July 28, 2011 @03:08AM (#2815738)
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.
Re:India's Leading Export: CEOs on Monday July 25, 2011 @03:34AM (#2801725)
Well, if you look at India's performance in the Olympics (http://en.wikipedia.org/wiki/India_at_the_Olympics), thats not necessarily true.
Another approach could perhaps be charging for the number of designs instead.
Re:How Digg is Built on Tuesday March 29, 2011 @04:29PM (#2384286)
Nice article. It'd be great to have some numbers that indicate the size/scale of the system and its components.
Re:Remnants of a Disappearing UI on Sunday February 13, 2011 @02:03PM (#2213496)
To go to full-screen mode and exit?
Re:LinkedIn forcing password resets due to Gawker hack on Tuesday December 14, 2010 @12:39PM (#2004949)
This would also mean they downloaded the copy of gawker's hacked database, which is probably why they didn't provide more details.
Re:Ask HN: What is a monad? on Sunday December 12, 2010 @01:01PM (#1997488)
Slides from functional programming class might clarify things a bit [PDF].

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

Re:Fluid Layout from Hicksdesign on Thursday June 24, 2010 @01:49AM (#1457400)
You missed the footer.

    The problem with natural selection is that there's no one to blame for the design of testicles
Re:Photoshop CS5's new "Content-aware Fill" on Thursday March 25, 2010 @01:01AM (#1217775)
"Any sufficiently advanced technology is indistinguishable from magic."
Re:Hacker News bans Google and all other search engines on Tuesday March 16, 2010 @12:59AM (#1195052)
"something 4 people use every 6 months doesn't tend to get optimized much"
Would it be possible to have AMAs and AMAAs here?
Re:Ask HN: Legal to stream music online in India ? on Monday February 08, 2010 @06:53AM (#1109539)
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.

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

https://www.grubhub.com/

Older »