-
Creational Patterns
ABSTRACT FACTORYProvide an interface for creating families of related or dependent objectsScenario Client should behavior the same regardless of how its products are created, composed. UI application doesn’t care about how the button is ...…
-
Design Pattern Overview
Starting learning design patterns by reading book Design Patterns - Elements of Reusable Object-oriented Softerware. I think I have been seeing the design patterns a lot in my daily life and use them from time to time, like factory, iterator, but ...…
-
Two-phase commit and caller assigned key
Come across two very interesting service design tops which I think is very useful. They are related to each other so I list them in one article.ScenarioWhen a service/client need to make a call to another remote service. It can be creating a new o...…
-
Use Knowledge Engine (Expert System) in backend service
I have covered some basic idea of knowledge (expert system) engine, including the Pros/Cons here Knowledge Engine. This time, I want to take one more step and use it in a real life backend service.It is very useful for handling long running operat...…
-
Stock Tracer Design
Overview github demoPersonal Project to track history data for stocks. Including: Frontend UI: dislapy quotes table and allow adding new stocks Backed Service: serving UI api query Woker: refresh quotes datalanguage framework python flask ...…