Git Product home page Git Product logo

performancedemo's Introduction

PerformanceDemo

该项目是《高性能架构之道》书籍的配套示例

示例1

使用继承Thread类的方法创建并运行新线程示例。

示例2

基于Runable接口创建并运行新线程示例。

示例3

基于Callable接口创建、运行新线程,并获取新线程的运行结果。

示例4

线程池的使用示例。

示例5

ThreadLocal使用示例。

示例6

多线程协作之分总式同步示例,基于CountDownLatch实现。

示例7

多线程协作之栅栏式同步示例,基于CyclicBarrier实现

示例8

多线程协作之总分总式同步示例,基于ForkJoinPool实现

示例9

信号量Semaphore示例

示例10

基于Python实现的协程示例

示例11

BIO、NIO、AIO示例

示例12

数据库脚本,用于演示数据库索引的示例

示例13

长连接示例

示例14

页面缓存示例

performancedemo's People

Contributors

yeecode avatar

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.