Sunday, December 30, 2018
iOS : RXSwift
https://www.lynda.com/Swift-tutorials/Observables/645029/709224-4.html
The sooner that you get values into the observable stream, the sooner the upper layers can manage subscriptions as opposed to providing closures and delegates. This simplifies your code keeping your classes free from protocols, delegates, and closures while containing subscriptions. Your layers know less about how something is implemented, i.e. protocols and delegates, and they're instead reacting to the state. This will simplify the logic in your classes and keep them focused more on setting your internal state and not triggering actions on something that they don't need to know about.
Saturday, December 15, 2018
Sunday, December 2, 2018
Elastic Search
https://aws.amazon.com/blogs/database/get-started-with-amazon-elasticsearch-service-how-many-shards-do-i-need/
Number of Shards = Index Size / 30GB
3 Data Nodes
2 Index
3 Shards per index
1 Replica per Shard
0. Best practices of Elasticsearch: Amazon Elasticsearch Service: https://www.youtube.com/watch?v=WuonfW-zQJ8 1. Get started with Amazon Elasticsearch Service: T-shirt-size your domain: https://aws.amazon.com/blogs/database/get-started-with-amazon-elasticsearch-service-t-shirt-size-your-domain/ 3. Improve the Operational Efficiency of Amazon Elasticsearch Service Domains with Automated Alarms Using Amazon CloudWatch https://aws.amazon.com/blogs/big-data/improve-the-operational-efficiency-of-amazon-elasticsearch-service-domains-with-automated-alarms-using-amazon-cloudwatch/ 4. Viewing Amazon Elasticsearch Service Error Logs: https://aws.amazon.com/jp/blogs/big-data/viewing-amazon-elasticsearch-service-error-logs/ 5. Viewing Amazon Elasticsearch Service Slow Logs https://aws.amazon.com/blogs/database/viewing-amazon-elasticsearch-service-slow-logs/
Subscribe to:
Posts (Atom)