Eason·Dec 23, 2024Flutter’s deep link routingThere already plenty of articles teaching how to build up deep link for flutter app, so I’m not here to illustrate how the create deep…
Eason·Dec 3, 2024What will long transaction cost?When designing an application service which is based on a database, transaction is a good tool to achieve atomic operation. What is atomic…
Eason·Jul 30, 2024Design Pattern — Factory(Golang)Sometimes we will face some situations when designing a system which in side it have many kinds of object having same functions. For…
Eason·Jul 16, 2024Design Pattern — Decorator()Have you ever met some point that some object would add extra duties onto a method based on some conditions? For example, you’re designing…
Eason·Jul 8, 2024Design Pattern — ObserverHave you ever bumped into a circumstance that lots of objects want to get the update of one specific data? Let’s say, you need to create a…
Eason·Jul 1, 2024How and when to use design pattern — Strategy PatternIf you’re a software engineer with several years experience, maybe you’ve heard of “Design Pattern”. However, it’s not that common to…
Eason·Jun 25, 2024The most important principle of developing softwareThere are so many principles out there when it comes to software develop. For example: KISS principle, DRY principle, etc… But during all…
Eason·Jul 12, 2023How to prevent out of port in Docker swarmWhen it comes to deploy a web application, a common issue comes up: choose a port to export. If this is the only application you have and…
Eason·Jul 6, 2023The explanation of 2 Phase Commit, Saga, TC/CIn response to the trend of big data, it’s hard to keep all the data in one database server. Hence, it came up with “Partition”. The…