-
Flask introduction & set up
Set up env (virtual environment)tutorial$ python -m venv env # Windows$ python3 -m venv env # Linux or macOSIn python, there is no central lib management tools like Maven in Java, and it is not possible to have different version of same lib, so ...…
-
Dead Letter Queue(DLQ) Handler Service
Dead Letter QueueA Dead Letter Queue (DLQ) is a service implementation utilised in message-based systems to store messages that could not be processed or delivered.For consumer, there may be scenarios in which incoming messages cannot be fully pro...…
-
Debug in distributed system (Splunk)
SplunkSplunkindex=application_na sourcetype=fs_newarch_qa source=*gfs-feaid-services*Response Time: index=application_na sourcetype=fs_newarch_prod source=*fs-utilities* eventType=END OR eventType=ERROR | timechart avg(duration)tps:index=applicat...…
-
Failure detection and handling in distributed system
Failure detectionIn distributed system, it requires at least two independent sources of information to mark a server dowm. One server is not enough. (It’s not enough to simply say because your node can’t contact another node that the other node is...…
-
System design Basic - scale up system
Scale Route1. Single server2. Database (separate Data tier and web traffic tier)Choose which database to use, Nosql or relational databaseNon-relational database might be the right choice if (easy to scale, no join operations): app requires super...…
-
kafka & redis
Kafka & Redis cacheKafka Workflow(Two type of events: bulk load & change data) DB2 mainframe | retrieve data bulk load | ...…
-
OOD learning
OODmanagement system OODGym, Parking lot, Hotel, Library, Restaurant, etc.When get the problem, think about if there is a management role in the system. If yes, it belongs to management system.This kind of questions are frequently asked in intervi...…
-
JavaScript questions
What is ES6?ECMAScript 6 is also known as ES6. It is used to create web applications. It is a programming language based on scripts that supports object-oriented and functional programming styles.ECMA is the standard, JS is the language in practic...…
-
Working English
Clarify things when you do not understandI am sorry, I wanted to confirm my understanding of your email below.Are you stating that xxxxx?I just want to ensure I understand your response correctly.Get POC from other propleIf you can't help on this...…
-
Daily English
Aug 12, 2024街边Almost stripped on the curb, 差点被马路牙子绊倒now I'm walking on the sidewalk, 人行道 (crosswalk 人行横道)street pole, 街边杆子pedestrain 行人alley 小巷dumpster 超大的那种垃圾箱,fire hydrant消防栓bike racks,停自行车的间隙lifeguard 救生员cones, 圆锥桶,路边封路用的beach unbrella 遮阳伞May 2...…