Weerapong Saipetch retweeted
How do companies ship code to production?
The diagram below illustrates the typical workflow.
Step 1: The process starts with a product owner creating user stories based on requirements.
Step 2: The dev team picks up the user stories from the backlog and puts them into a sprint for a two-week dev cycle.
Step 3: The developers commit source code into the code repository Git.
Step 4: A build is triggered in Jenkins. The source code must pass unit tests, code coverage threshold, and gates in SonarQube.
Step 5: Once the build is successful, the build is stored in artifactory. Then the build is deployed into the dev environment.
Step 6: There might be multiple dev teams working on different features. The features need to be tested independently, so they are deployed to QA1 and QA2.
Step 7: The QA team picks up the new QA environments and performs QA testing, regression testing, and performance testing.
Steps 8: Once the QA builds pass the QA team’s verification, they are deployed to the UAT environment.
Step 9: If the UAT testing is successful, the builds become release candidates and will be deployed to the production environment on schedule.
Step 10: SRE (Site Reliability Engineering) team is responsible for prod monitoring.
Over to you: what's your company's release process look like?
--
Subscribe to our weekly newsletter so you won't miss it: bit.ly/3KCnWXq
Weerapong Saipetch retweeted
Explaining 9 types of API testing. The method to download the high-resolution PDF is available at the end.
🔹 Smoke Testing
This is done after API development is complete. Simply validate if the APIs are working and nothing breaks.
🔹 Functional Testing
This creates a test plan based on the functional requirements and compares the results with the expected results.
🔹 Integration Testing
This test combines several API calls to perform end-to-end tests. The intra-service communications and data transmissions are tested.
🔹 Regression Testing
This test ensures that bug fixes or new features shouldn’t break the existing behaviors of APIs.
🔹 Load Testing
This tests applications’ performance by simulating different loads. Then we can calculate the capacity of the application.
🔹 Stress Testing
We deliberately create high loads to the APIs and test if the APIs are able to function normally.
🔹 Security Testing
This tests the APIs against all possible external threats.
🔹 UI Testing
This tests the UI interactions with the APIs to make sure the data can be displayed properly.
🔹 Fuzz Testing
This injects invalid or unexpected input data into the API and tries to crash the API. In this way, it identifies the API vulnerabilities.
Subscribe to our newsletter to download the 𝐡𝐢𝐠𝐡-𝐫𝐞𝐬𝐨𝐥𝐮𝐭𝐢𝐨𝐧 𝐜𝐡𝐞𝐚𝐭 𝐬𝐡𝐞𝐞𝐭. After signing up, find the download link on the success page: lnkd.in/egwCutXm
Weerapong Saipetch retweeted
Deno 1.35 has arrived:
- Deno.serve() a fast, convenient way to build web servers
- Anticipated npm packages support
- Improved auto-imports in LSP
- Standard library updates
- V8 11.6 and TypeScript 5.1.6
Find all the details in our full release notes: deno.com/blog/v1.35
Weerapong Saipetch retweeted
You can probably optimize your @Java programs to run 2-10x faster, by focusing on the bottlenecks.
Those bottlenecks are not where you think they are.
Use free tools such as async-profiler, VisualVM, JFR and vmstat to find them.
Let me show you how. 🧵
Weerapong Saipetch retweeted
Today @makagon and I published our first article on the Netflix Tech Blog! We've described how we leveraged Hexagonal Architecture principles to be prepared for changes in a distributed systems environment:
netflixtechblog.com/ready-fo…
Weerapong Saipetch retweeted
"Write your Own Virtual Machine"
Nice intro to VM implementation based on the LC-3 educational instruction set, by Justin Meiners and Ryan Pendleton.
justinmeiners.github.io/lc3-…
Bach, Violin Concerto in A minor, Lara St. John, 1st mvt., BWV 1041 fb.me/1Y3a6Yv3I









