Comparing two or more concepts is fun, and probably the best way to truly understand them.
Service Discovery is for internal, while DNS is for external. Consul supports both, but Zookeeper is only for Service Discovery.
Homogeneous array vs Heterogeneous array
- Homogeneous arrays: values of the same type,
[1, 2, 3]
- Heterogeneous arrays: values of different types,
['hello', 12, true]
Homogeneity vs Heterogeneity
- Homogeneity: statistical properties of any one part of an overall dataset are the same as any other part.
- Heterogeneity is the state of being heterogeneous. It is the nature of opposition, or contrariety of qualities.
- Dimensions in data management and data warehousing contain relatively static data about such entities as geographical locations, customers, or products
- Fact tables contain the data corresponding to a particular business process. Each row represents a single event associated with that process and contains the measurement data associated with that event.For example, a database may contain a fact table that stores sales records.
- a dimension table is one of the set of companion tables to a fact table.
- CPU: Fewer cores, but each core is much faster and much more capable; great at sequential tasks
- GPU: More cores, but each core is much slower and “dumber”; great for parallel tasks
- VM: virtual machine, a full image of a source machine, including the OS, disk config, network and even virtual processors
- docker: virtual environment, lite VM
- mechanisms: low level, how processes are implemented
- policy: high level, how processes are scheduled
- A daemon is a background, non-interactive program
- A server is a program which responds to requests from other programs over some inter-process communication mechanism
- Static website: individual web pages include static content. They may contain client-side scripts.
Dynamic website: relies on server-side processing, the content may be dynamically generated(e.g. loaded from database)
- examples: server-side scripts such as PHP, JSP, or ASP.NET, Node.js, Dyango etc.
both are garbage collected, and natively compiled languages
These 2 terms are relative, if we are talking about web/app or job titles, client side(like UI) is front end, server side is back end; the external API layer can be the front end of the internal services; for the reverse proxy, everything else is back end; compiler also has its front end and back end
- Authentication: verify your identity(you say you are X, and you are indeed X)
- Authorization: given your identity, check your access(if you are indeed X, do you have permission to read/write Y)
- 401 is actually "Unauthenticated", not unauthorized
- 403 is actually unauthorized...
- 301: "the page is moved and you should visit the new url in the future"; search engine(Google) will update its index, so if you are moving or renaming your websites, this should be used
- 302: "go to this url for now, but come back here in the future"; this will not update Google's index
- monomorphic(strict signature)
- polymorphic(... in signature)
function createElement( type, config, ...children, )
- isomorphic: backend and frontend js?
- data processing tools like Pig(a good name for lazy evaluation) only materialize changes when the final action is called, and only related code will be executed.
- Tensorflow 2.0 changed from Lazy to Eager so it is easier to debug.