How to Build Chat into a Flask App with API: A Comprehensive Guide
https://dev.to/bytesupreme/how-to-build-chat-into-a-flask-app-with-api-a-comprehensive-guide-25n2
Introduction In today's digital landscape, seamless communication is paramount. Users expect...
#flask #webdev #javascript #python
▶️join: @readmemdd
How to Build Chat into a Flask App with API: A Comprehensive Guide
https://dev.to/bytesupreme/how-to-build-chat-into-a-flask-app-with-api-a-comprehensive-guide-25n2
Introduction In today's digital landscape, seamless communication is paramount. Users expect...
#flask #webdev #javascript #python
▶️join: @readmemdd
DEV Community
How to Build Chat into a Flask App with API: A Comprehensive Guide
Introduction In today's digital landscape, seamless communication is paramount. Users expect...
Top VS Code Extensions to Boost Your Productivity
https://dev.to/mezgoodle/top-vs-code-extensions-to-boost-your-productivity-2oic
Introduction Visual Studio Code (VS Code) is a versatile and powerful code editor that has...
#extensions #python #vscode #javascript
▶️join: @readmemdd
Top VS Code Extensions to Boost Your Productivity
https://dev.to/mezgoodle/top-vs-code-extensions-to-boost-your-productivity-2oic
Introduction Visual Studio Code (VS Code) is a versatile and powerful code editor that has...
#extensions #python #vscode #javascript
▶️join: @readmemdd
DEV Community
Top VS Code Extensions to Boost Your Productivity
Introduction Visual Studio Code (VS Code) is a versatile and powerful code editor that has...
A Go-inspired approach to handling fetch API
https://dev.to/mmvergara/a-go-inspired-approach-to-handling-fetch-api-3oad
Javascript error handling can sometimes be confusing especially in using fetch, if you are using...
#javascript #webdev #api #go
▶️join: @readmemdd
A Go-inspired approach to handling fetch API
https://dev.to/mmvergara/a-go-inspired-approach-to-handling-fetch-api-3oad
Javascript error handling can sometimes be confusing especially in using fetch, if you are using...
#javascript #webdev #api #go
▶️join: @readmemdd
DEV Community
A Go-inspired approach to handling fetch API
Javascript error handling can sometimes be confusing especially in using fetch, if you are using...
13 open-source tools that will make you 99% more likely to land any AI job 🪄✨
https://dev.to/composiodev/13-open-source-tools-that-will-make-you-99-more-likely-to-land-any-ai-job-3049
I’ve been in the AI space for quite some time, back when the top language models were BERT and T5....
#javascript #python #ai #opensource
▶️join: @readmemdd
13 open-source tools that will make you 99% more likely to land any AI job 🪄✨
https://dev.to/composiodev/13-open-source-tools-that-will-make-you-99-more-likely-to-land-any-ai-job-3049
I’ve been in the AI space for quite some time, back when the top language models were BERT and T5....
#javascript #python #ai #opensource
▶️join: @readmemdd
DEV Community
13 open-source tools that will make you 99% more likely to land any AI job 🪄✨
I’ve been in the AI space for quite some time, back when the top language models were BERT and T5....
Why I Like Golang and Why It's the Best Language for Me.
https://dev.to/aliahadmd/why-i-like-golang-and-why-its-the-best-language-for-me-25d8
When I first started exploring programming languages, I was overwhelmed by the sheer number of...
#go #webdev #javascript
▶️join: @readmemdd
Why I Like Golang and Why It's the Best Language for Me.
https://dev.to/aliahadmd/why-i-like-golang-and-why-its-the-best-language-for-me-25d8
When I first started exploring programming languages, I was overwhelmed by the sheer number of...
#go #webdev #javascript
▶️join: @readmemdd
DEV Community
Why I Like Golang and Why It's the Best Language for Me.
When I first started exploring programming languages, I was overwhelmed by the sheer number of...
Securing IoT Data Integrity with Go IoT Platform
https://dev.to/beck_moulton/securing-iot-data-integrity-with-go-iot-platform-42gf
Translation: Go IoT Development Platform is a free, efficient, and scalable Internet of Things (IoT)...
#go #webdev #iot #javascript
▶️join: @readmemdd
Securing IoT Data Integrity with Go IoT Platform
https://dev.to/beck_moulton/securing-iot-data-integrity-with-go-iot-platform-42gf
Translation: Go IoT Development Platform is a free, efficient, and scalable Internet of Things (IoT)...
#go #webdev #iot #javascript
▶️join: @readmemdd
DEV Community
Securing IoT Data Integrity with Go IoT Platform
Translation: Go IoT Development Platform is a free, efficient, and scalable Internet of Things (IoT)...
What is the PHP CodeSniffer?
https://dev.to/dgihost/what-is-the-php-codesniffer-3fea
PHP CodeSniffer is a popular tool used for detecting violations of coding standards in PHP code. It...
#php #laravel #tutorial #javascript
▶️join: @readmemdd
What is the PHP CodeSniffer?
https://dev.to/dgihost/what-is-the-php-codesniffer-3fea
PHP CodeSniffer is a popular tool used for detecting violations of coding standards in PHP code. It...
#php #laravel #tutorial #javascript
▶️join: @readmemdd
DEV Community
What is the PHP CodeSniffer?
PHP CodeSniffer is a popular tool used for detecting violations of coding standards in PHP code. It...
How To Run Cron Jobs in Laravel
https://dev.to/danish/how-to-run-cron-jobs-in-laravel-38i4
In this tutorial I will show you how we can run cron jobs in Laravel, but on top of all we would keep...
#webdev #laravel #php #javascript
▶️join: @readmemdd
How To Run Cron Jobs in Laravel
https://dev.to/danish/how-to-run-cron-jobs-in-laravel-38i4
In this tutorial I will show you how we can run cron jobs in Laravel, but on top of all we would keep...
#webdev #laravel #php #javascript
▶️join: @readmemdd
DEV Community
How To Run Cron Jobs in Laravel
In this tutorial I will show you how we can run cron jobs in Laravel, but on top of all we would keep...
I saved my team 20 hours by automating support emails with this AI tool 🤔
https://dev.to/composiodev/i-saved-my-team-20-hours-by-automating-support-emails-with-this-ai-tool-13o6
TL;DR At Composio, we have been receiving a lot of emails lately regarding tech support,...
#webdev #javascript #python #ai
▶️join: @readmemdd
I saved my team 20 hours by automating support emails with this AI tool 🤔
https://dev.to/composiodev/i-saved-my-team-20-hours-by-automating-support-emails-with-this-ai-tool-13o6
TL;DR At Composio, we have been receiving a lot of emails lately regarding tech support,...
#webdev #javascript #python #ai
▶️join: @readmemdd
DEV Community
I saved my team 20 hours by automating support emails with this AI tool 🤔
TL;DR At Composio, we have been receiving a lot of emails lately regarding tech support,...
11 best open-source web crawlers and scrapers in 2024
https://dev.to/apify/11-best-open-source-web-crawlers-and-scrapers-in-2024-16pe
Free software libraries, packages, and SDKs for web crawling? Or is it a web scraper that you...
#webscraping #javascript #python #opensource
▶️join: @readmemdd
11 best open-source web crawlers and scrapers in 2024
https://dev.to/apify/11-best-open-source-web-crawlers-and-scrapers-in-2024-16pe
Free software libraries, packages, and SDKs for web crawling? Or is it a web scraper that you...
#webscraping #javascript #python #opensource
▶️join: @readmemdd
DEV Community
11 best open-source web crawlers and scrapers in 2024
Free software libraries, packages, and SDKs for web crawling? Or is it a web scraper that you...
My Hacktoberfest 2024 Journey: A Month of Code, Growth, and Unforgettable Lessons 🚀
https://dev.to/tasbi03/my-hacktoberfest-2024-journey-a-month-of-code-growth-and-unforgettable-lessons-2n8e
October was a rollercoaster of coding, learning, and (let's be real) the occasional struggle....
#hacktoberfestchallenge #javascript #python #opensource
▶️join: @readmemdd
My Hacktoberfest 2024 Journey: A Month of Code, Growth, and Unforgettable Lessons 🚀
https://dev.to/tasbi03/my-hacktoberfest-2024-journey-a-month-of-code-growth-and-unforgettable-lessons-2n8e
October was a rollercoaster of coding, learning, and (let's be real) the occasional struggle....
#hacktoberfestchallenge #javascript #python #opensource
▶️join: @readmemdd
DEV Community
My Hacktoberfest 2024 Journey: A Month of Code, Growth, and Unforgettable Lessons 🚀
October was a rollercoaster of coding, learning, and (let's be real) the occasional struggle....
TCP vs UDP protocol
https://dev.to/james_b/tcp-vs-udp-protocol-308
TCP and UDP operate at the transport layer of the Internet Protocol Suite and are responsible for...
#webdev #javascript #beginners #devops
▶️join: @readmemdd
TCP vs UDP protocol
https://dev.to/james_b/tcp-vs-udp-protocol-308
TCP and UDP operate at the transport layer of the Internet Protocol Suite and are responsible for...
#webdev #javascript #beginners #devops
▶️join: @readmemdd
DEV Community
TCP vs UDP protocol
TCP and UDP operate at the transport layer of the Internet Protocol Suite and are responsible for...
Most Commonly Asked DSA Interview Questions
https://dev.to/notarena/most-commonly-asked-dsa-interview-questions-1k2n
Q: How do you reverse a linked list? Answer: Reversing a linked list involves changing the...
#devops #dsa #interview #javascript
▶️join: @readmemdd
Most Commonly Asked DSA Interview Questions
https://dev.to/notarena/most-commonly-asked-dsa-interview-questions-1k2n
Q: How do you reverse a linked list? Answer: Reversing a linked list involves changing the...
#devops #dsa #interview #javascript
▶️join: @readmemdd
DEV Community
Most Commonly Asked DSA Interview Questions
Q: How do you reverse a linked list? Answer: Reversing a linked list involves changing the...
TypeScript vs Go: Choosing Your Backend Language
https://dev.to/encore/typescript-vs-go-choosing-your-backend-language-2bc5
🤔 Picking between Go and TypeScript for your backend? Let's take a look at each language to see which...
#go #typescript #javascript #webdev
▶️join: @readmemdd
TypeScript vs Go: Choosing Your Backend Language
https://dev.to/encore/typescript-vs-go-choosing-your-backend-language-2bc5
🤔 Picking between Go and TypeScript for your backend? Let's take a look at each language to see which...
#go #typescript #javascript #webdev
▶️join: @readmemdd
DEV Community
TypeScript vs Go: Choosing Your Backend Language
🤔 Picking between Go and TypeScript for your backend? Let's take a look at each language to see which...
اخیرا در یک پروژه برای شرکتی بودم که تقریبا 1.3 میلیون ! درخواست در "یک دقیقه" دارن 📢
اولین باری Performance پروژه که داشتیم رو APIها کار میکردیم
همچین تجربهای نداشتم قبلا با این حجم از درخواست ولی . . . شد
تقریبا میشه گفت یکی از تجربههای پر از استرسم بود ولی تجربیات خوبی به دست آورم
از K6 برای تست پرفورمنس استفاده کردیم که در مرحله اول خیلی ساده بکارش بردیم ولی دیدم واقعا تست کردن فراتر از ایناس
ما قبل از تست باید زمینه های مختلفی رو برای تست درنظر میگرفیتم که به 4 حیطه رسیدیم:
در زمینه اول باید Traffic رو با Response time پروژه رو تعریف میکردیم که چه انتظاراتی داریم
اومدیم 300 تا Virtual user رو تعریف کردیم که باید کمتر از 200 میلی ثانیه Repones داده میشد و این تست رو برای مدت زمان 5 دقیقه درنظر گرفتیم و تونستیم به نقض های خوبی برسیم تا قبل اینکه به Pipeline ارسال کنیم به این تست Load Test میگن
در زمینه دوم
قبلش بگیم فقط تست بالایی که کافی نبود متاسفانه مجبور بود از ابعاد دیگه هم بررسی کنیم
بعضی وقتها درApplication های شما بیشتر از انتطاراتی که داری برای شما Request میاد که ما منتظر این نبودیم این تست بشه و میانگین گرفته بشه چون زمان خیلی کم بود اومدیم تعداد virtual user اها افزایش دادیم البته با level های مختلفی تقسیم کردیم و هدف ها رو روی مثلا 500 , 800, 1000 گذاشتیم که در شرایط مختلف ما چه رویکردی داشته باشیم و حتی تعریف کردیم اگر یوزری هم نبود یعنی صفر مطلق! Duration رو 1m در نظر بگیر که به این نوع تست Stress test میگن که بیشتر برای اینکه ببینید Application شما در رفتار به اصطلاح حاد چه رویکردی باید ارایه بده منظورم Response time هستش
در زمینه سوم
که مثال ساده بگم مثلا شما نیاز دارید برای فروش بلیط کنسرت شخص معروف سایت بزنید درنظر بگیرید چه حجمی قراره به سمت شما بیاد در یک مدت زمان مشخص! ما اینم در نظر گرفتم پس عملا Stress test و Load test زیاد کاربردی ندارن چون Sudden increase دارید
ما طی تحقیقاتی که داشتیم به test Spike رسیدیم
اومدیم stage ها مختلفی تعیین کردیم که مثلا اگر به 50 هزارتا رسید Duration رو به 10s ارتقا بدیم و البته حالت Cool down رو در نظر گرفتیم
در زمینه چهارم
یک مشکل بزرگ داشتیم به نام Memory leak که چالش سخت و جذابی بود
عملا 3 تست بالایی هم برای ما دراین زمینه کاربردی نداشتیم و مجبور به این شدیم از Soak test استفاده کنیم چون Resource usage برای ما خیلی مهم بود و بالا بود!
ما باید Success rate رو همزمان با Memory usage CPU در نظر میگرفتیم تا Weak link رو پیدا میکردیم
البته این زمینه بیشتر در معماری های Microservice باید بهش زیاد دقت کرد
خیلی سعی کردم ساده توضیح بدم امیدوارم تونسته باشم این تجربه رو به خوبی نوشته باشم
#javascript #api #k6
▶️join: @readmemdd
اولین باری Performance پروژه که داشتیم رو APIها کار میکردیم
همچین تجربهای نداشتم قبلا با این حجم از درخواست ولی . . . شد
تقریبا میشه گفت یکی از تجربههای پر از استرسم بود ولی تجربیات خوبی به دست آورم
از K6 برای تست پرفورمنس استفاده کردیم که در مرحله اول خیلی ساده بکارش بردیم ولی دیدم واقعا تست کردن فراتر از ایناس
ما قبل از تست باید زمینه های مختلفی رو برای تست درنظر میگرفیتم که به 4 حیطه رسیدیم:
در زمینه اول باید Traffic رو با Response time پروژه رو تعریف میکردیم که چه انتظاراتی داریم
اومدیم 300 تا Virtual user رو تعریف کردیم که باید کمتر از 200 میلی ثانیه Repones داده میشد و این تست رو برای مدت زمان 5 دقیقه درنظر گرفتیم و تونستیم به نقض های خوبی برسیم تا قبل اینکه به Pipeline ارسال کنیم به این تست Load Test میگن
در زمینه دوم
قبلش بگیم فقط تست بالایی که کافی نبود متاسفانه مجبور بود از ابعاد دیگه هم بررسی کنیم
بعضی وقتها درApplication های شما بیشتر از انتطاراتی که داری برای شما Request میاد که ما منتظر این نبودیم این تست بشه و میانگین گرفته بشه چون زمان خیلی کم بود اومدیم تعداد virtual user اها افزایش دادیم البته با level های مختلفی تقسیم کردیم و هدف ها رو روی مثلا 500 , 800, 1000 گذاشتیم که در شرایط مختلف ما چه رویکردی داشته باشیم و حتی تعریف کردیم اگر یوزری هم نبود یعنی صفر مطلق! Duration رو 1m در نظر بگیر که به این نوع تست Stress test میگن که بیشتر برای اینکه ببینید Application شما در رفتار به اصطلاح حاد چه رویکردی باید ارایه بده منظورم Response time هستش
در زمینه سوم
که مثال ساده بگم مثلا شما نیاز دارید برای فروش بلیط کنسرت شخص معروف سایت بزنید درنظر بگیرید چه حجمی قراره به سمت شما بیاد در یک مدت زمان مشخص! ما اینم در نظر گرفتم پس عملا Stress test و Load test زیاد کاربردی ندارن چون Sudden increase دارید
ما طی تحقیقاتی که داشتیم به test Spike رسیدیم
اومدیم stage ها مختلفی تعیین کردیم که مثلا اگر به 50 هزارتا رسید Duration رو به 10s ارتقا بدیم و البته حالت Cool down رو در نظر گرفتیم
در زمینه چهارم
یک مشکل بزرگ داشتیم به نام Memory leak که چالش سخت و جذابی بود
عملا 3 تست بالایی هم برای ما دراین زمینه کاربردی نداشتیم و مجبور به این شدیم از Soak test استفاده کنیم چون Resource usage برای ما خیلی مهم بود و بالا بود!
ما باید Success rate رو همزمان با Memory usage CPU در نظر میگرفتیم تا Weak link رو پیدا میکردیم
البته این زمینه بیشتر در معماری های Microservice باید بهش زیاد دقت کرد
خیلی سعی کردم ساده توضیح بدم امیدوارم تونسته باشم این تجربه رو به خوبی نوشته باشم
#javascript #api #k6
▶️join: @readmemdd
Real-Time Notifications with Server-Sent Events (SSE) in Laravel and Vue.js
https://dev.to/ayowandeapp/real-time-notifications-with-server-sent-events-sse-in-laravel-and-vuejs-40pf
Server-Sent Events (SSE) is a great solution for enabling real-time notifications or updates in your...
#webdev #tutorial #laravel #javascript
▶️join: @readmemdd
Real-Time Notifications with Server-Sent Events (SSE) in Laravel and Vue.js
https://dev.to/ayowandeapp/real-time-notifications-with-server-sent-events-sse-in-laravel-and-vuejs-40pf
Server-Sent Events (SSE) is a great solution for enabling real-time notifications or updates in your...
#webdev #tutorial #laravel #javascript
▶️join: @readmemdd
DEV Community
Real-Time Notifications with Server-Sent Events (SSE) in Laravel and Vue.js
Server-Sent Events (SSE) is a great solution for enabling real-time notifications or updates in your...
🎯 Stack Overflow 2024 Developer Survey 🎯
https://dev.to/streetfacts/stack-overflow-2024-developer-survey-h9h
👁️ Programming, scripting, and markup languages JS had an additional 1.31% gain, maintaining it's...
#javascript #developer #python #aws
▶️join: @readmemdd
🎯 Stack Overflow 2024 Developer Survey 🎯
https://dev.to/streetfacts/stack-overflow-2024-developer-survey-h9h
👁️ Programming, scripting, and markup languages JS had an additional 1.31% gain, maintaining it's...
#javascript #developer #python #aws
▶️join: @readmemdd
DEV Community
🎯 Stack Overflow 2024 Developer Survey 🎯
👁️ Programming, scripting, and markup languages JS had an additional 1.31% gain, maintaining it's...
7 Must-Try Open-Source Tools for Python and JavaScript Developers 🚀
https://dev.to/arindam_1729/7-must-try-open-source-tools-for-python-and-javascript-developers-4c56
Open-source tools are something almost every developer uses, whether while learning to code or...
#javascript #webdev #python #beginners
▶️join: @readmemdd
7 Must-Try Open-Source Tools for Python and JavaScript Developers 🚀
https://dev.to/arindam_1729/7-must-try-open-source-tools-for-python-and-javascript-developers-4c56
Open-source tools are something almost every developer uses, whether while learning to code or...
#javascript #webdev #python #beginners
▶️join: @readmemdd
DEV Community
7 Must-Try Open-Source Tools for Python and JavaScript Developers 🚀
Open-source tools are something almost every developer uses, whether while learning to code or...
Big Decimal Arithmetic Across Programming Languages: Bridging the Gap
https://dev.to/frorning/big-decimal-arithmetic-across-programming-languages-bridging-the-gap-n71
Handling high-precision arithmetic is essential in domains like finance, cryptography, and scientific...
#javascript #go #python #java
▶️join: @readmemdd
Big Decimal Arithmetic Across Programming Languages: Bridging the Gap
https://dev.to/frorning/big-decimal-arithmetic-across-programming-languages-bridging-the-gap-n71
Handling high-precision arithmetic is essential in domains like finance, cryptography, and scientific...
#javascript #go #python #java
▶️join: @readmemdd
DEV Community
Big Decimal Arithmetic Across Programming Languages: Bridging the Gap
Handling high-precision arithmetic is essential in domains like finance, cryptography, and scientific...
JSON for Biggners
https://dev.to/ahmedraza_fyntune/json-for-biggners-j7p
What is JSON? JSON stands for JavaScript Object Notation. It's a lightweight data format...
#json #javascript #php #laravel
▶️join: @readmemdd
JSON for Biggners
https://dev.to/ahmedraza_fyntune/json-for-biggners-j7p
What is JSON? JSON stands for JavaScript Object Notation. It's a lightweight data format...
#json #javascript #php #laravel
▶️join: @readmemdd
DEV Community
JSON for Biggners
What is JSON? JSON stands for JavaScript Object Notation. It's a lightweight data format...