CS = CurioSity Flashcards

CS = Computer Science = CurioSity

1
Q

What is the meaning of canary ? Is canary necessary for a rollout deployment ?

A

Will there really be downtime if the canary service is not deployed and n>1 pods are running ?

Historical:
Because canaries were once used in coal mining to alert miners when toxic gases reached dangerous levels. Like the canary in a coal mind, the end user who is selected to receive new code in a canary test is unaware he is being used to provide an early warning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does the sed command line mean?

A

Stream EDitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

pub/sub ?

A

publisher / suscriber

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Pub/Sub topic ?

A

A named resource to which messages are sent by publishers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

autospec (in patch)

A

more restrictive when patch( … , autospec=True)

eg. same signature function, output of the same type ect…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ETL ?

A

Extract Transform Load

ETL is short for extract, transform, load, three database functions that are combined into one tool to pull data out of one database and place it into another database.

Extract is the process of reading data from a database. In this stage, the data is collected, often from multiple and different types of sources.
Transform is the process of converting the extracted data from its previous form into the form it needs to be in so that it can be placed into another database. Transformation occurs by using rules or lookup tables or by combining the data with other data.
Load is the process of writing the data into the target database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

scio

A

An API written in Scala that Spotify uses for Apache Beam and Google Cloud Dataflow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

scalding

A

Scalding is a Scala library that makes it easy to specify Hadoop MapReduce jobs. Scalding is built on top of Cascading, a Java library that abstracts away low-level Hadoop details. Scalding is comparable to Pig, but offers tight integration with Scala, bringing advantages of Scala to your MapReduce jobs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

REPL ?

A

Read-Eval-Print Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Maven

A

Maven is a build automation tool used primarily for Java projects. Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CQRS ?

A

command query responsibility segregation

<a>link</a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

TCP

A

TCP (Transmission Control Protocol) is a connection oriented stream over an IP network. It guarantees that all sent packets will reach the destination in the correct order. This imply the use of acknowledgement packets sent back to the sender, and automatic retransmission, causing additional delays and a general less efficient transmission than UDP.

UDP is a connection-less protocol. Communication is datagram oriented. The integrity is guaranteed only on the single datagram. Datagrams reach destination and can arrive out of order or don’t arrive at all. It is more efficient than TCP because it uses non ACK. It’s generally used for real time communication, where a little percentage of packet loss rate is preferable to the overhead of a TCP connection.

In certain situations UDP is used because it allows broadcast packet transmission. This is sometimes fundamental in cases like DHCP protocol, because the client machine hasn’t still received an IP address (this is the DHCP negotiaton protocol purpose) and there won’t be any way to establish a TCP stream without the IP address itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

._ah ?

A

apphosting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Java SE, EE

A

Standard Edition, Enterprise Edition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

pom.xml ?

A

A Project Object Model or POM is the fundamental unit of work in Maven

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Web Server Gateway Interface

A

WSGI is the Web Server Gateway Interface. It is a specification that describes how a web server communicates with web applications, and how web applications can be chained together to process one request.

17
Q

Difference btw Forward and Reverse proxy

A

Differences Between Forward Proxy and Reverse Proxy. The main difference between the two is that forward proxy is used by the client such as a web browser whereas reverse proxy is used by the server such as a web server. Forward proxy and the client can be in the same internal network, or it can be on the Internet.

18
Q

Prefork worker model

A

“pre”-fork”:

so that time is not wasted forking only when a worker is needed

19
Q

lsof

A

command meaning “list open files”, which is used in many Unix-like systems to report a list of all open files and the processes that opened them.