preface
Dear friends, hello!
Here are some of the most interesting articles from the past week.
Backend featured articles
Selected article 1 –Golang quality articles collection
Introduction: Half-knowledge of Golang? Here are hundreds of nuggets Golang quality articles!
Selected article 2 –A Bug, let me find the Java world. AJ (cone)!
Introduction: If you take the bug you write seriously, analyze in depth how it came about, and reproduce it a little bit further, you might get unexpected results. What bugs did the author encounter? What’s new?
Selected article 3 – Encryption principle: symmetric encryption VS asymmetric encryption
Introduction: The author introduces the principle of encryption through an example of SMS fraud, and introduces symmetric encryption and asymmetric encryption. In the process of introduction, the author vividly demonstrates how to establish shared keys and how to generate public and private keys through pigment mixing tricks.
Selected article 4 – The request failed. Should I try again? Shouldn’t you?
Introduction: Since the network is unreliable, there are often requests that fail. To solve this problem, the usual approach is to add retry mechanism, after the request failed to ensure the success of the request, so as to improve the stability of the service. However, most people do not want to easily retry, because it is often more risky to retry, too many retries will cause more stress on the called service, magnifying the original problem. Should the failed request be retried?
Selected article 5 – Order by and Group by optimization
Introduction: This is an article about data query optimization, how to improve performance? What is the optimization strategy for Order BY? How do group by optimizations work? The author gives a detailed introduction in this article.
Mobile selected articles
Selected article 1 –Android 12 Developer Preview 3
Introduction: In Android 12, the operating system is smarter, easier to use, more powerful, and always has privacy and security at its core. Android 12 offers new tools to help you create a better experience, whether you’re using your phone, laptop, tablet, TV, or car. Notable new features in Android 12 Developer Preview 3 include: a new app launch experience; New video and camera features, better unlocking of underlying hardware capabilities, new precise alarm clock permissions and more.
Selected article 2 –Flutter routing framework FluroRouter using source code analysis
Introduction: This paper introduces the use and principle analysis of Flutter enterprise-level route FluroRouter in detail, including some design patterns and ideas.
Selected article 3 –Watermelon video stability management system construction II: Raphael principle and practice
Introduction: Raphael is a native memory leak detection tool developed by watermelon Video Basic technology team, which is widely used in the native memory leak treatment of bytedance’s major apps with significant benefits. The tool is now open source, and this article will analyze the details of Raphael through principles, solutions and practices.
Selected article 4 –Flutter Text: Help me up
Introduction: The Text in Flutter has always been a bit disappointing, and people often compare it to the native platform. When does the Flutter stand up? See what the author of the article has to say.
Selected article 5 –Android version of Kotlin coroutine entry into the actual combat
Introduction: The author struggled for a long time when writing this article, and did not know what form to explain Kotlin coroutine knowledge. When the author studied, he also wasted a variety of knowledge and read a lot of articles, which can be summarized into three kinds:
- Speak too shallow, three or two words with the past, after watching only dull.
- Speak too deep, from beginning to end are dizzy, the final summary is three sentences: WHERE AM I, what am I doing, the phone is really fun.
- It’s fine, but when it comes to actual development you start rolling over and scratching your head: Why didn’t it turn out the way I expected
So what does the author tell you about Kotlin coroutines?
Front End Selection article
Selected article 1 –A few elegant operator usage tricks in JavaScript
Introduction: As ECMAScript progresses, there will be many new features, such as destruction, arrow functionality, and modules, that will dramatically change the way JavaScript is written. Some people may like it, some may not, but like every new feature, we will eventually get used to it. The new version of ECMAScript introduces three new logical assignment operators: the air transport operator AND the AND AND OR operators. These operators are designed to make our code cleaner AND cleaner, AND the authors share some elegant JavaScript operator tips.
Selected article 2 –Initial experience of front-end recording and playback system
Introduction: Generally, when the front end does abnormal monitoring and error reporting, it will collect JavaScript error information and relevant data in the process of website interaction in the way of data burying point, and then locate the specific error code file and line and column information according to SourceMap. But in some cases, it is difficult to reproduce the bug, if you can record the operation process of error, convenient to reproduce the scene, then how to achieve such a recording playback function?
Selected article 3 –Front-end performance – Avoid the need for backflow and redraw
Introduction: The author is curious about what the pixel workflow in the browser looks like, when it started, and what the end result is. Based on these questions, refer to a lot of foreign language materials, written in this paper, is a carefully led good article, worth reading.
Selected article 4 –How to implement parallel downloading of large files in JavaScript?
Introduction: How do you implement concurrency control in JavaScript? In this article, the author analyzes in detail how async-pool library uses the promise. all and promise. race functions to implement concurrency control for asynchronous tasks. The author also explains how to use the async-pool asyncPool function provided by the library to implement parallel downloading of large files.
Selected article 5 –How to deal with the disconnection of the browser?
Foreword: Good disconnection processing will make people very comfortable: LOL disconnection reconnection, King of Glory disconnection reconnection, can ensure that the game continues. But bad disconnection processing or even no processing can cause bugs: for example, the author’s project has a bug and the business people are very upset. What’s going on?
Speak your mind
What do you think of this article? Feel free to share your thoughts in the comments section