Maloong
Maloong is a freelance and a full-stack developer based in China with a passion for building digital services/stuff he wants. He has a knack for all things launching products, from planning and designing all the way to solving real-life problems with code. When not online, he loves hanging out with his camera. My Slogan: "If you know everyone is different,you will know yourself better!"
Featured
Make a amazing Office Website
Posted on:August 15, 2024 at 01:31 PMZerotone is a software customization company, our service includes: UI Design, Web Development, Software System solutions, Mobila APP Development, Mini APP Development and Software Outsourcing Services. SO let's make a amazing Office Website for it
Let's write our own logging package
Posted on:August 14, 2024 at 03:21 PMLet's do it ourselves! I will show you how to quickly write a log package with basic functions, so that you can master the core design ideas of the log package through this short log package.
Log Functions
Posted on:July 17, 2024 at 12:11 PMAt present, although there are many excellent open source log packages for us to choose from, in a large system, these open source log packages may not be able to meet our customized needs. At this time, we need to develop our own log packages.
How to record logs?
Posted on:July 17, 2024 at 10:24 AMThe more logs there are, the better. In actual development, we often encounter a lot of useless logs, but not the logs we need; or the valid logs are overwhelmed by a large number of useless logs, making them very difficult to find.
Zap
Posted on:July 9, 2024 at 04:32 PMZap is Uber's open source log package, which is famous for its high performance. Many companies' log packages are modified based on zap.
Logrus
Posted on:July 8, 2024 at 12:35 PMLogrus is the famous log package which gets the most star in the Github. It is Powerful, efficient and highly flexible, and provides the custom plugins feature as well.
Glog
Posted on:July 4, 2024 at 04:53 PMGlog is developed by Google. It is another light log package just like the Standard log package, but it supplies more useful features.
Standard Go log package
Posted on:July 3, 2024 at 10:57 AMIt is out of the box with golang, when used it , we need create a log instance which is belong to *log.Logger class. We can use the variable std which is global and defined by the Go log package itself in the folder log and the file is log.go.
卷起来🐎🐲💪 -- JavaIO流
Posted on:March 24, 2023 at 05:34 PM按照流的流向分,可以分为输入流和输出流; 按照操作单元划分,可以划分为字节流和字符流; 按照流的角色划分为节点流和处理流。 Java Io流共涉及40多个类,这些类看上去很杂乱,但实际上很有规则,而且彼 此之间存在非常紧密的联系, Java I0流的40多个类都是从如下4个抽象类基类 中派生出来的。
The JVM(IIII) -- JVM故障处理工具
Posted on:March 22, 2023 at 04:45 PM虽然实际的业务使用中很少通过指令去监控 JVM 而是有一整套的非入侵全链路监控,在监控服务里与之方法调用时的 JVM 一并监控,可以让研发人员更快速的排查问题。但这些工具的实现依然是需要这些基础,在有了基础的知识掌握后,可以更好多使用工具。
The JVM(I)
Posted on:March 22, 2023 at 02:21 PMOracle has two products that implement Java Platform Standard Edition(Java SE) 8, Java SE Development Kit (JDK) 8 and Java SE Runtime Environment (JRE) 8.
The ThreadPool of Java(II)
Posted on:March 21, 2023 at 11:21 AMExecutors 是创建线程池的工具类,比较典型常见的四种线程池包括, newFixedThreadPool 、 newSingleThreadExecutor 、 newCachedThreadPool 、 newScheduledThreadPool。每一种都有自己特定的典型例子,可以按照每种的特 性用在不同的业务场景,也可以做为参照精细化创建线程池。但是一般大厂都不允许使用 Executors 创建线程池!这么创建的话,控制不好会出现 OOM。
Recent Posts
Make a amazing Office Website
Posted on:August 15, 2024 at 01:31 PMZerotone is a software customization company, our service includes: UI Design, Web Development, Software System solutions, Mobila APP Development, Mini APP Development and Software Outsourcing Services. SO let's make a amazing Office Website for it
Let's write our own logging package
Posted on:August 14, 2024 at 03:21 PMLet's do it ourselves! I will show you how to quickly write a log package with basic functions, so that you can master the core design ideas of the log package through this short log package.
Log Functions
Posted on:July 17, 2024 at 12:11 PMAt present, although there are many excellent open source log packages for us to choose from, in a large system, these open source log packages may not be able to meet our customized needs. At this time, we need to develop our own log packages.
How to record logs?
Posted on:July 17, 2024 at 10:24 AMThe more logs there are, the better. In actual development, we often encounter a lot of useless logs, but not the logs we need; or the valid logs are overwhelmed by a large number of useless logs, making them very difficult to find.