분류 전체보기
-
Two-way bindingFramework/SPA 2020. 4. 10. 16:15
1. Overview Data binding in AngularJS is the synchronization between the model and the view. It means if a value of a scope model changes it automatically updates the same value in the view and similarly if the value in the view changes it automatically updates the value in the scope model. 2. Description 2.1 Data Model AngularJS applications usually have a data model. The data model is a collec..
-
MongoDB ArbiterDB/Nosql 2020. 4. 10. 16:13
1. Overview Arbiters are mongod instances that are part of a replica set but do not hold data (i.e. do not provide data redundancy). An arbiter does not store data, but until the arbiter’s mongod process is added to the replica set, the arbiter will act like any other mongod process and start-up with a set of data files and with a full-sized journal. They can, however, participate in elections. ..
-
Tail RecursionAlgoDS/Algorithm 2020. 4. 8. 12:44
1. Motivation Recursion is a frequently adopted pattern for solving some sort of algorithm problems that need to divide and conquer a big issue and solve the smaller but the same issue first. For example, calculating Fibonacci accumulating sum and calculating factorials. In these kinds of issues, recursion is more straightforward than their loop counterpart. Furthermore, recursion may need less ..
-
Uniform Resource Identifier(URI), Uniform Resource Locator(URL), and Uniform Resource Name(URN)Web/Network 2020. 3. 29. 00:13
1. Overview URI (uniform resource identifier) identifies a resource (text document, image file, etc) URL (uniform resource locator) is a subset of the URIs that include a network location URN (uniform resource name) is a subset of URIs that include a name within a given space, but no location 2. Description 2.1 Uniform Resource Locator(URL) URL contains information about how to fetch a resource ..
-
Cluster Management, Registration, and DiscoveryDistributedSystem/Manager 2020. 3. 26. 13:42
1. Service Registry and Service Discovery 1.1 Motivation when a group of computers startup the only device they are aware of is themselves even if they're all connected to the same network the formal logical cluster the different nodes need to find out about each other somehow they need to learn who else is in the cluster and most importantly how to communicate with those other nodes the obvious..
-
Comparable, Comparator, and Collection SortStaticPL/JAVA 2020. 3. 15. 19:24
1. Overview Comparable Comparator Comparable interface is used to sort the objects with natural ordering. Comparator in Java is used to sort the attributes of different objects. Comparable interface compares “this” reference with the object specified. Comparator in Java compares two different class objects provided. Comparable is present in java.lang package. A Comparator is present in the java...
-
Command Query Responsibility Segregation (CQRS)Modeling/Architecture 2020. 3. 10. 08:58
1. Overview The Command and Query Responsibility Segregation (CQRS) pattern separates read and update operations for a data store. Implementing CQRS in your application can maximize its performance, scalability, and security. The flexibility created by migrating to CQRS allows a system to better evolve over time and prevents update commands from causing merge conflicts at the domain level. 1.1 M..
-
HadoopDistributedSystem/HadoopEcyosystem 2020. 3. 9. 21:57
1. Overview Hadoop is a framework that allows you to first store Big Data in a distributed environment, so that, you can process it parallelly. There are basically two components in Hadoop: 1.1 Hadoop Distributed File System (HDFS) HDFS allows dumping any kind of data across the cluster 1.2 Yet Another Resource Negotiator (YARN) YARN allows parallel processing of the data stored in HDFS 2. Hadoo..