A place to talk trash

  • Home
    • Algorithm
    • Backend
    • Computer
    • Frontend
    • Uncategorized
  • About

Archive: 2018/1

2018

Backend

2018-01-01

Java 计数器的「线程安全」和「非线程安全」实现

计数器是一个很常见的需求,这里使用 Java 实现了计数器的线程安全和非线程安全版本 ICounter 接口1234public interface ICounter<E> { void add(E e); long get(E e);} Counter 非线程安全版本12345678910111213141516171819202122232425

follow:

recents

  • Backend

    HTTP Graceful Cancelation

    2024-04-24

  • Backend

    Rate Limiter In Action

    2023-12-29

  • Backend

    How to Build a Scalable Live Streaming Interactive Service - Part II

    2022-03-27

  • Backend

    How to Build a Scalable Live Streaming Interactive Service - Part I

    2022-01-15

  • Uncategorized

    Me and My Game Life

    2021-10-02

categories

  • Algorithm4
  • Backend9
  • Computer6
  • Frontend2
  • Uncategorized3

archives

  • April 20241
  • December 20231
  • March 20221
  • January 20221
  • October 20211
  • September 20211
  • April 20201
  • March 20201
  • February 20191
  • January 20191
  • November 20183
  • October 20182
  • March 20181
  • February 20181
  • January 20181
  • December 20171
  • March 20163
  • December 20152

tag cloud

Algorithm Android Backend Cache Cancel Cancelation Computer Concurrent Data Structure DevOps Distributed FileSystem HTTP HTTP/2 HttpClient InnoDB Java Linux Live LiveStreaming Lock Lua MySQL Nginx Redis Ubuntu XHR macOS

links

  • 莫大艺术家
  • 阿城

© 2024 XhinLiang

Powered by Hexo. Theme by PPOffice