How much memory do you need to run 1 million concurrent tasks?

Recently, Xiaoha is doing it with his friends Separate front-end and back-end blog projects, hands-on teaching, back-end + front-end full-stack development, hand-typing from 0 to 1, 1v1 Q&A, until the project is online, more projects will be added in the future , Click me to join [Original author]: Piotr Ko?aczkowski [Original address]: Click to read […]

Why has the performance dropped so much after the company’s services were containerized?

Thisisacommunitythatmaybeusefultoyou One-to-onecommunication/interviewbrochure/resumeoptimization/jobsearchquestions,welcometojointhe”YudaoRapidDevelopmentPlatform“KnowledgePlanet.ThefollowingissomeinformationprovidedbyPlanet: “ProjectPractice(Video)”:Learnfrombooks,“practice”frompastevents “InternetHighFrequencyInterviewQuestions”:Studyingwithyourresume,springblossoms “ArchitecturexSystemDesign”:Overcomingdifficultiesandmasteringhigh-frequencyinterviewscenarioquestions “AdvancingJavaLearningGuide”:systematiclearning,themainstreamtechnologystackoftheInternet “Must-readJavaSourceCodeColumn”:Knowwhatitisandwhyitisso Thisisanopensourceprojectthatmaybeusefultoyou DomesticStarisa100,000+opensourceproject.Thefront-endincludesmanagementbackend+WeChatapplet,andtheback-endsupportsmonomerandmicroservicearchitecture. FunctionscoverRBACpermissions,SaaSmulti-tenancy,datapermissions,mall,payment,workflow,large-screenreports,WeChatpublicaccount,etc.: Bootaddress:https://gitee.com/zhijiantianya/ruoyi-vue-pro Cloudaddress:https://gitee.com/zhijiantianya/yudao-cloud Videotutorial:https://doc.iocoder.cn Source:juejin.cn/post/7268663683881828413 background Pressuretestresults Performancebeforecontainerization Performanceaftercontainerization Performancecomparisonresults CauseAnalysis Architecturaldifferences Performanceanalysis Softirqcause OptimizationStrategy ipvlanL2mode ipvlanL3mode Cilium Summarize Background Asmoreandmorecompaniesembracecloudnative,evolvingfromoriginalsingleapplicationstomicroservices,thedeploymentmethodofapplicationshasalsochangedfromvirtualmachinestocontainers,andthecontainerorchestrationcomponentk8shasbecomestandardformostcompanies.However,aftercontainerization,wefoundthattheperformanceoftheapplicationwasworsethantheoriginalperformanceonthevirtualmachine.Whyisthis? Backendmanagementsystem+userappletimplementedbasedonSpringBoot+MyBatisPlus+Vue&Element,supportingRBACdynamicpermissions,multi-tenancy,datapermissions,workflow,three-partylogin,payment,SMS,mallandotherfunctions Projectaddress:https://github.com/YunaiV/ruoyi-vue-pro Videotutorial:https://doc.iocoder.cn/video/ Pressuretestresults Performancebeforecontainerization Theapplicationisdeployedinavirtualmachine.Weusethewrktooltoperformstresstesting.Thestresstestingresultsareasfollows: Pressuretestresults Judgingfromthestresstestresults,theaverageRTis1.68msandtheqpsis716/s.Let’stakealookattheresourceusageofthemachine.TheCPUisbasicallyfull. Thecpuisbasicallyfull Performanceaftercontainerization Usethewrktooltoperformastresstest.Theresultsareasfollows: Pressuretestresults Judgingfromthestresstestresults,theaverageRTis2.11msandtheqpsis554/s.Let’slookattheresourceusageofthemachine.TheCPUisbasicallyfull. Thecpuisbasicallyfull Performancecomparisonresults Performancecomparison Virtualmachine Container RT 1.68ms 2.11ms QPS 716/s 554/s ? […]

Why does application performance drop so much after containerization?

Click on “Programmer Technology Master” above, follow and select “Set as Star” Reply “join the group” to get the qualification to join the group discussion! 1. Background As more and more companies embrace cloud native, evolving from original single applications to microservices, the deployment method of applications has also changed from virtual machines to containers, […]

Why has the performance dropped so much after the company’s services were containerized?

Click to follow the official account, Java dry goodsdelivered in time Quan Xiaoha Tutorial Network: www.quanxiaoha.com Source: juejin.cn/post/ 7268663683881828413 background Pressure test results Performance before containerization Performance after containerization Performance comparison results Cause Analysis Architectural differences Performance analysis Softirq cause Optimization Strategy ipvlan L2 mode ipvlan L3 mode Cilium Summarize Background As more and more […]

Why does application performance drop so much after containerization?

This is a community that may be useful to you One-to-one communication/interview brochure/resume optimization/job search questions, welcome to join the “Yudao Rapid Development Platform” Knowledge Planet. The following is some information provided by Planet: “Project Practice (Video)”: Learn from books, “practice” from past events “Internet High Frequency Interview Questions”: Studying with your resume, spring blossoms […]

How much do you know about K8s Pod security?

Write in front Simply organized, the blog post covers: The origin of PSP Development of PSAs PSA usage awareness Does not involve usage, used to understand Pod security API resources If you don’t understand enough, please help me correct it. For everyone, there is only one true responsibility: to find yourself. Then stick to it […]

How much memory is needed to run 1 million concurrent tasks in different languages?

A Programmer’s Path to Growth Internet/Programmer/Technology/Data Sharing focus on It will take about 8 minutes to read this article. From: https://pkolaczk.github.io/memory-consumption-of-async Text In this blog post, I delve into how asynchronous and multithreaded programming compare in terms of memory consumption, across popular languages like Rust, Go, Java, C#, Python, Node.js, and Elixir. A while back, […]

How much do you know about various ways of writing catch?

I believe that in order to maintain the code and catch errors in the project, it is necessary to use catch in the project. Let us take a look at various catch writing methods today, and in the front-end field, asynchronous problems often appear, so Promise You should memorize it by heart. Today, let’s take […]