As Javascript developers, we implement asynchronous programming (async/await) in our codes. Constantly processing user inputs, call APIs to get data, or simultaneously run heavy-loaded computations might cause our servers go down. However, these tasks are essential to programming and required in real life.
To a simple code, it is common to use events in Javascript or jQuery libraries. When there is no appropriate way to expand the simple code and to solve asynchronous issues, in order to realise modern web users, the ultimate code will become very messy and difficult to maintain. …
A Remote Procedure Call (RPC) is a subroutine in distributed computing. The remote implementation of RPC is similar to local calls but usually not identical. RPC usually requires that the object name, function name, or parameter are passed to remote servers, and the servers then return the processed result(s) back to client-side (request-response). RPC can be communicated through TCP, UDP, or HTTP protocols.
As the growing demand in microservices, developers start to split their codes into small chunks and make it “micro”. To connect all these small chunks, a good API design could save you a lot of time.
Are you using the correct HTTP protocol? Roy Fielding (co-founder of HTTP protocol) has pointed out that most people are misusing it. For example, to delete a record: delete/{id}
or to update a record: update/{id}
, these are some bad designs for APIs.
For modern web services, Roy Fielding suggested REST APIs (Representational State Transfer Application Programming Interface). …
DevOps should be familiar with containerisation concept nowadays. This technology helps softwares to run on operating system (OS), yet separated from OS. The concept of container is similar to virtual machine (VM), only difference is that VM split by OS, but container split by code module.
Docker and its derived ecosystem consist of various tools to manage lifecycle of container. For instance, Docker Command Line Interface (CLI) could fulfil the requirement to manage a single container, but it is not useful when it comes to multiple containers. To overcome this limitation, we move to orchestration tool. …
Go is a strongly and statically typed programming language. However, some features in Go make it seemed to be dynamically typed. For instance, if you are not sure what type you’ll be receiving, you may implement interface
type for an open-ended type.
Remember that only interface
has reflect
.
Note thatinterface
allows polymorphism in Go. No particular implementation is enforced. It could be string
, int64
, float32
, or even a collection ( array
/ map
). When a computer runs a code (runtime), reflect
helps to examine, introspect, and modify its own structure and behaviour. …
AWS (Amazon Web Services) is a cloud provider which provides a series of web services and pay based on usage. It is one of the most famous cloud providers in the market now. Companies are slowly migrating to cloud due to its flexibility, reliability, scalability, stability, security and low maintenance level required. AWS is very common amongst company globally, hence it is essential for DevOps and developers to understand AWS.
“Why are we fail to cut down costs, again?” uttered in the meeting when CEOs and COOs of major banks sat together. Multiple reasons led to unsuccessful company-wide cost reduction strategies, department heads usually give excuses that controlling expenses will affect growth in sales figure and bring negative impacts to customer experience. So it’s tough to lower down costs within existing expenses. In general, attempts to cut the rebounding costs always failed.
Does this sound familiar: “I started frontend development by completing part-time courses”
You might be looking to improve your fundamental knowledge of computer science, especially on data structure and algorithms. Today we’ll go through some common data structures and implement them in JavaScript.
Hopefully this piece will complement your skills!
With Alibaba Cloud (“Alicloud”), Revenue Monster can provide merchants with one-stop FinTech solutions to enable a broad range of new mobile payment services, transforming Malaysian economics while comply with local central bank (BNM) regulations.
About Revenue Monster
Revenue Monster is a FinTech company in Malaysia which provides digital payment solutions for merchant to accept multiple e-wallets, one integration for all. Revenue Monster has set footprints in emerging markets in Malaysia, Singapore, Thailand, Philippines and the greater China. Revenue Monster partners include WeChat Pay, AliPay, Touch ‘n Go, Boost, Presto Pay, Maybank QR, Grab Pay etc. …
About