Kevin's Blog

我拿时间换回了什么

System design

Understanding Redis

Understanding Redis in System Design refer from author Nerd For Tech 在这篇文章中,我将解释系统设计中的Redis. 在一个依赖Redis作为设计主要部分的遗留系统中遇到了很多问题,在阅读和了解Redis之后,明白了这些问题. What is a redis Redis是一个开源的、基于内存数据结构存储,被用作...

Deep Into NodeJs

Node's Common Built-in Libraries

Node’s Common Built-in Libraries refer from jscomplete.com, author Samer Buna Working with the Operating System Let’s explore some of the common built-in modules that come with Node. Node pro...

Deep Into NodeJs

Node for Web

Node for Web refer from jscomplete.com, author Samer Buna The Basic Streaming HTTP Server HTTP is a first class citizen in Node. In fact, node started as a web server and evolved into the mu...

Deep Into NodeJs

Node for Networking

Node for Networking refer from jscomplete.com, author Samer Buna TCP Networking with the Net Module Just build a demo for network example by using net’s module.Usethe net’s module, create se...

Deep Into NodeJs

Node's Event-driven Architecture

Node’s Event-driven Architecture refer from jscomplete.com, author Samer Buna Callbacks, Promises, and Async/Await The original way Node handled asynchronous calls is with callbacks. This wa...

Deep Into NodeJs

Concurrency Model and Event Loop

Concurrency Model and Event Loop refer from jscomplete.com, author Samer Buna Introduction One of the most important concepts to understand about Node. js is its concurrency model for handli...

Deep Into NodeJs

NodeJs != JavaScript

NodeJs != JavaScript refer from jscomplete.com, author Samer Buna nodejs is popular, and nowadays it can work in Server side framework,Mobiles and IoT also can devlop Desktop applications And...

NPM IN DEEP

NPM 内部机制、核心原理和安装机制

NPM NPM 内部机制和核心原理 npm 不同于Ruby的Gem,Python的pip 全局安装,具备自己的泽设哲学。 即可全局,也可以local。 npm install安装机制 npm install 执行之后,首先,检查并获取 npm 配置,这里的优先级为:命令行设置的npmp配置 > env环境变量配置 > 项目级的 .npmrc 文件 > 用户...

CSS-LAYOUT

掌握 css 布局需要掌握的基本规则和布局方式

一个元素总宽高为50px,要怎么在调整边框大小的时候,不需要重新计算和设置width/height呢? 为什么给一些元素设置宽高,但是却不生效? 如何将一个元素固定在页面的某个位置,具体怎么做? 为什么将某个元素z-index设置为9999999,但是它依然被其他元素遮挡住了呢? 页面布局的基本规则 盒模型 内联元素与块状元素 ...

React-Infinite-Scroll-and-Lazy-Loading

React中使用 Intersection Observer来实现无限Scroll 和图片懒加载

“React 中使用HTML Intersection Observer来实现无线Scroll 和图片懒加载! 使用React实现无限滚动和图像懒加载 参考博文 AUTHOR: Chidi Orji 简述 在本教程中,我们将学习如何使用HTML Intersection Observer API来实现React组件中的无限滚动和图片懒加载。在这个过程中,我们将学习如何使用Rea...