. Net Core Configuration Etcd data source

preface . Net Core provides us with a powerful Configuration configuration system, which is easy to use and highly extensible. Through this Configuration system, we can load data sources such as Json, Xml, Ini into the program, or expand other forms of storage sources by ourselves. What we need to do today is to extend the Etcd data source ope ...

Posted on Fri, 19 Jun 2020 07:09:51 -0400 by mouli

Two methods of closure and high frequency event performance optimization (throttling, anti shake)

Format of code development - pay attention to conflicts and dependencies There are many ways to write a project, such as modular development, namespace, closure Closure is actually a kind of writing Closure: it is a function structure unique to JavaScript (a nested use of functions) The formation of clo ...

Posted on Fri, 19 Jun 2020 00:52:31 -0400 by wpsd2006

JsonConvert was too superficial, and finally had a problem

One: Background 1. Storytelling Before starting this article, I really want to do a questionnaire to find out how many people are like me. My knowledge of JsonConvert is limited to the methods of SerilizeObject and DeserializeObject (), so that I can work together and not be alone._Perhaps these two methods can basically solve 80% of the scenar ...

Posted on Thu, 18 Jun 2020 21:11:52 -0400 by baiju

Explain by example if you create and use filters in Vue

Author: Ed ZyndaTranslator: Front-end witSource:scotch.io Look after it and get used to itThis article GitHub https://github.com/qq44924588... I've included more categories of articles I've praised in the past, and I've also sorted out a lot of my documents and tutorial materials.Welcome to Star and Perfection. You can review the interview wi ...

Posted on Thu, 18 Jun 2020 20:25:06 -0400 by yjanni

How can I halve Redis memory usage?

This article has been included GitHub There are also Internet factory interview questions, interview strategies, efficient learning materials and so on In this article, I will try to explain how to reduce data storage by more than 50%. Our 2.5GB Redis ElastiCache is almost full, and if it reaches its limit in some way, our system will start to ...

Posted on Thu, 18 Jun 2020 12:34:50 -0400 by diode

Understanding some of the concepts of search, aggregation in Elasticsearch through kibana

1. Corresponding entity in Java public class Person { String name; int age; } 2. Data in kibana { "_index": "person_index", "_type": "person_type", "_id": "i674x3IBsOhWggMeikEo", "_score": 1, "_source": { "age": 9, "name": "L ...

Posted on Thu, 18 Jun 2020 12:13:46 -0400 by huzefahusain

Using nsq to generate pdf service with puppeter under node (eggjs)

This article mainly introduces how to use nsq in nodeJs, and other implementations will be output in subsequent articles. cause Some time ago, I made a node service to generate pdf from web pages. In the process of generating puppeter and canvas, the consumption of memory is relatively large, the generation time of pages with large internal cap ...

Posted on Thu, 18 Jun 2020 05:38:47 -0400 by John Canyon

Simple intelligent home central control system based on Wio Terminal (initial version)

After continuous learning, the early generation of simple smart home central control system has been completed, and the functions filled in when applying for the project have been completed, but some functions are not implemented with Wio Terminal (on the one hand, because the code volume is too large, ...

Posted on Thu, 18 Jun 2020 03:12:19 -0400 by paparts

Please don't write a full screen try catch anymore!

background During the software development process, it is inevitable to handle all kinds of exceptions. For me, at least half of the time is spent dealing with all kinds of exceptions, so there will be a lot of try {...} catch {...} finally {...} code blocks in the code, which not only has a lot of redundant code, but also affects the readabil ...

Posted on Wed, 17 Jun 2020 18:14:51 -0400 by elite_prodigy

How to implement a composer package of your own

Preface For small development partners, code packages are a common part of the development process.For example, PHP has composer, Java has maven, front-end has npm, yarn, Mac has brew, Linux has yum.Using these packages, we can easily manage the external code components introduced by the code, help us to improve development efficiency, and help ...

Posted on Wed, 17 Jun 2020 12:44:53 -0400 by paul_20k