Giter VIP home page Giter VIP logo

chasecs.github.io's People

Contributors

chasecs avatar

Stargazers

 avatar

Watchers

 avatar

chasecs.github.io's Issues

翻译:JavaScript Promises 实现原理详解(JavaScript Promises ... In Wicked Detail) | 编程日志

https://chasecs.github.io/2017/10/07/2017-10-07-simplified-chinese-translation-of-javascript-promises-in-wicked-detail/

Promise 是异步编程的一种解决方案,让 javascript 可以从杂乱回调函数中解脱出来。后来 ES6 标准把 Promise 纳入其中,原生提供了 Promise 对象。Promise 也成为 ES6 最主要的特性之一。网上介绍 promise 使用方法的文章很多,解释其原理却很少。这篇文章循序渐进地实现了一遍 promise,分析透彻,对了解 promise 的工作原理很有帮助。为了

redis 的使用场景及其数据类型 | 编程日志

https://chasecs.github.io/2019/08/09/redis-usage-and-its-datatype/

redis 的使用场景总结有以下几种: 缓存/数据存储。涉及大部分 redis 的数据类型, string,Hash ,Zset ,set 等 队列。利用 list 类型的 push pop 操作。 事件通知。利用 publish/subscribe 消息系统 1. 缓存/数据存储 主要应对大量读取请求、保存临时数据的等场景 保存临时数据场景:保存用户的session,把通过验证的用户数

Go 源码分析:scheduler 工作流程 - 编程札记 Programming Notes

https://chasecs.github.io/posts/go-scheduler-introduction/

注:本文涉及的源码为 go 1.13 版本
最近一直在看 Go 调度器的源码,查了不少资料,对 goroutine 的调度过程有了一些了解,也对 Go 如何支撑高并发、并行计算有个大概的认识。
Go 调度器(scheduler)负责把各个 goroutine 分配到相应的操作系统线程 (OS thread )上执行,是 Go runtime 的两大组成部分之一,另一个是内存分配/垃圾回收(memory allocator/garbage collector)1 。
调度器相关的代码主要在 runtime 的 proc.go , runtime1.go , runtime2.go 等几个文件,此外还有一些 Go 汇编代码,这些代码大部分在 2015 年成形,至今没有大的修改,目前看来还是比较稳定的。

gRPC Demo,如何用 go 开发 grpc 服务端/客户端应用 | 编程日志

https://chasecs.github.io/2019/08/20/grpc-go-a-working-demo/

demo 的代码仓库:github.com/chasecs/grpc-sorter 一、基础知识rpcRPC 是一种用于主要用于服务器通讯的 API 协议,于 2005 年左右发布,在它出现之前,常用的服务器 API 协议是 REST 和 SOAP 。 gRPC 其中一种 RPC 框架,同类的还有 HTTP RPC,JSON RPC,TCP RPC,关于其它 RPC 协议的介绍见 RPC。 pro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.