The study below runs 10 benchmark problems in 28 languages. It measures the runtime, memory usage, and energy consumption of each language. The abstract of the paper is shown below.
/2 โThis paper presents a study of the runtime, memory usage and energy consumption of twenty seven well-known software languages. We monitor the performance of such languages using ten different programming problems, expressed in each of the languages.
/3 Our results show interesting findings, such as, slower/faster languages consuming less/more energy, and how memory usage influences energy consumption.
/1 Choosing the right database is often the most important decision we'll ever make.
We are talking about a database for a real growing business, where a bad choice would lead to extended downtime, customer impact, and even data loss.
This take is probably a bit controversial.
/2 The thread was written by @sahnlam and illustrated by me.
/3 ๐ ๐ข๐ซ๐ฌ๐ญ, ๐๐ซ๐ ๐ฐ๐ ๐ฉ๐จ๐ฌ๐ข๐ญ๐ข๐ฏ๐ ๐ญ๐ก๐๐ญ ๐ฐ๐ ๐ง๐๐๐ ๐ ๐๐ข๐๐๐๐ซ๐๐ง๐ญ ๐๐๐ญ๐๐๐๐ฌ๐? Is the existing database breaking at the seams? Maybe the p95 latency is through the roof. Maybe the working set is overflowing the available memory.
/1 What is GraphQL? Is it a replacement for the REST API?
The diagram below shows the quick comparison between REST and GraphQL.
/2 ๐นGraphQL is a query language for APIs developed by Meta. It provides a complete description of the data in the API and gives clients the power to ask for exactly what they need.
๐นGraphQL servers sit in between the client and the backend services.
/3 ๐นGraphQL can aggregate multiple REST requests into one query. GraphQL server organizes the resources in a graph.
๐นGraphQL supports queries, mutations (applying data modifications to resources), and subscriptions (receiving notifications on schema modifications).
/1 What happens behind the scenes when we ๐ฌ๐ก๐จ๐ฉ ๐จ๐ง๐ฅ๐ข๐ง๐?
Disclaimer: I have limited knowledge of the eCommerce system. The diagram below is based on my research. Please suggest better names for the components or let me know if you spot an error.
/2 The diagram below shows the 4 key business areas in a typical e-commerce company: procurement, inventory, eComm platform, and transportation.
1๏ธโฃ Procurement
Step 1 - The procurement department selects suppliers and manages contracts with them.
/3 Step 2 - The procurement department places orders with suppliers, manages the return of goods, and settles invoices with suppliers.