Developer Advocate
Open in Telegram
1 035
Subscribers
No data24 hours
No data7 days
-130 days
Posts Archive
1 035
https://www.youtube.com/watch?v=YDhJ953D6-U
Live in 4 hours
November 11 at 7:30 PM
آماده این ؟ 😈
https://www.dotnetconf.net/
@DeveloperAdvocate 🥑
1 035
AI Value Creators: Beyond the Generative AI User Mindset
We've arrived in a new era—GenAI is reshaping industries and decision-making processes across the board. As a result, understanding their potential and pitfalls has become crucial. But in order to stay ahead of the curve, you'll need to develop fresh perspectives on leveraging AI beyond mere technical know-how. Geared toward business leaders and tech professionals alike, this book demystifies the strategic integration of AI into business practices, ensuring you're equipped not just to participate but to lead in this new landscape.
@DeveloperAdvocate 🥑
1 035
Repost from مهندسی داده
آشنایی با مکانیزم همروندی در پستگرس و ضرورت اجرای منظم Vacuum
یکی از پرسشهای کلیدی در طراحی پایگاه داده این است که:
🔍 وقتی چندین تراکنش بهصورت همزمان قصد تغییر رکوردهای مشابه را دارند، سیستم چگونه تصمیم میگیرد کدام تغییر اعمال شود؟
پستگرس برای پاسخ به این چالش از مکانیزم MVCC (Multi-Version Concurrency Control) استفاده میکند - روشی که اجازه میدهد تراکنشها بدون قفلهای سنگین، همزمان روی دادهها کار کنند.
مکانیزم MVCC در پستگرس
در این مدل، هنگام تغییر یک رکورد، نسخهی جدیدی از همان ردیف (tuple) در جدول درج میشود یعنی به ازای تراکنشهای مختلفی که قصد تغییر یک رکورد را دارند، تعداد نسخه های زیادی از آن رکورد به صورت همزمان ایجاد میشود؛ اگر در همان صفحه (page) فضای کافی وجود داشته باشد، نسخه(ها)ی جدید در همانجا ذخیره میشود، وگرنه در صفحهی دیگری قرار میگیرد.
برخلاف تصور رایج، کل صفحه کپی نمیشود - بلکه فقط ردیف(های) جدید افزوده میشود و نسخهی قبلی بهعنوان «مرده» (dead tuple) علامتگذاری میشود.
اگر تراکنش commit شود، نسخهی جدید قابل مشاهده میشود؛ در غیر این صورت، ردیفهای جدید هرگز برای سایر تراکنشها دیده نمیشوند.
✨ مفهوم Page در پستگرس چیست؟
در PostgreSQL، دادهها مستقیماً بهصورت خطی روی دیسک ذخیره نمیشوند، بلکه در قالب واحدهایی به نام Page (صفحه) سازماندهی میشوند.
هر Page معمولاً حجمی برابر با ۸ کیلوبایت دارد و شامل چندین tuple (یا همان ردیف داده) است.
وقتی دادهای جدید درج میشود، PostgreSQL ابتدا بررسی میکند که آیا در یکی از صفحات موجود فضای کافی برای آن وجود دارد یا نه:
✅ اگر فضا کافی باشد، ردیف جدید در همان صفحه قرار میگیرد.
📦 اگر صفحه پر باشد، ردیف جدید در صفحهای دیگر ذخیره میشود و ممکن است اندازهٔ فایل جدول افزایش پیدا کند.
در واقع، Page واحد پایهٔ ذخیرهسازی و بازیابی دادهها در پستگرس است؛ همهٔ عملیات خواندن و نوشتن در نهایت در سطح صفحات انجام میشود.
🔹 نکته جالب اینجاست که ساختار داخلی جداول در پستگرس بهصورت #Heap (پشتهای/درهم/بدون هیچ ترتیب خاصی) پیادهسازی شده است؛ یعنی برخلاف ساختارهای مرتبشده مثل B-Tree، ردیفها بهترتیب خاصی ذخیره نمیشوند : هر رکورد «هرجا که یک پیج، فضای خالی داشته باشد» درج میشود.🎯 ضرورت فرآیند VACUUM با گذر زمان، رکوردهای قدیمی (dead tuples) باید پاکسازی شوند تا فضای جدول بیدلیل افزایش نیابد. این وظیفه بر عهدهی فرآیند #VACUUM است.
فرآیند VACUUM فضای اشغالشده توسط تاپلهای مرده (رکوردهایی که بازنویسی شدهاند و نسخه قدیمی آنها باید پاک شود) را برای استفادهی مجدد در همان فایل آزاد میکند اما اگر بخواهیم این فضای آزاد شده از حذف رکوردهای مرده از سایز فایل کم شوند و به سیستم عامل برگردند، نیاز به VACUUM FULL داریم که میتواند آن فضا را واقعاً به سیستمعامل بازگرداند.در کارگاه عملی این جلسه، با استفاده از PostgreSQL 18 در محیط Docker و ابزار DBeaver، گامبهگام بررسی کردیم که: 🔰مکانیزم MVCC چگونه نسخههای مختلف رکوردها را مدیریت میکند، 🔰و VACUUM چگونه فضا را بازیابی و از wraparound جلوگیری میکند. 🎥 مشاهده ویدئوی کامل در یوتیوب: 👉 https://youtu.be/TtHSDJgFI6g 📌 نکته: در محیطهای تولیدی، هرگز autovacuum را غیرفعال نکنید - این گزینه فقط برای اهداف آموزشی در این کارگاه موقتاً خاموش شده بود. Sepahram Data Eng. School دوره کاربردی پستگرس : https://sepahram.ir/courses/postgresql
1 035
System Design on AWS: Building and Scaling Enterprise Solutions 1st Edition
Enterprises building complex and large-scale applications in the cloud face multiple challenges. From figuring out the right tools to estimating the right provisioning, nearly every solution comes with a complicated set of choices and trade-offs. AWS provides a one-stop shop for building and scaling these applications, and this practical guide helps you decide which pieces to use and how to fit them together.
Authors Jayanth Kumar and Mandeep Singh equip software architects and engineers with essential AWS and system design knowledge to help you make good decisions and overcome the challenges of designing and scaling enterprise software architecture. By diving into specific use cases, you'll understand how these principles and resources can be applied to real-world problems.
@DeveloperAdvocate 🥑
1 035
Repost from RavinAcademy
💻 آموزش رو از همینالان شروع کن!
📹 ویدیوی 9️⃣ از 1️⃣1️⃣ معرفی رشتۀ امنیت سایبری در المپیک فناوری
📣 تا پایان المپیک فناوری میتونی بستههای آموزشی آکادمی راوین رو با ٪۳۰ تخفیف ویژه تهیه کنی.
📦 بستۀ آموزشی مسیر پایۀ امنیت سایبری: rvnc.ir/p1
📦 بستۀ آموزشی مسیر تست نفوذ: rvnc.ir/p2
📦 بستۀ آموزشی مسیر لایۀ ۱ مرکز عملیات امنیت: rvnc.ir/p3
🎯 این بستهها شامل مجموعهای از دورههای ویدیویی آکادمی راوینه که بلافاصله بعد از ثبتنام، در دسترس قرار میگیرن. فرصت استفاده از این تخفیف، تا جمعه ۹ آبان ۱۴۰۴ هست.
✨ علاوهبر تخفیف ویژه، امکان ثبتنام اقساطی هم برات در نظر گرفته شده. اگر به همۀ دورههای یک بستۀ آموزشی نیاز نداری، میتونی دورههایی رو که میخوای، با ٪۲۵ تخفیف ثبتنام کنی.
🔺 راههای ارتباط با آموزش آکادمی راوین برای ثبتنام اقساطی:
☎️ شمارۀ ثابت: ۹۱۶۹۳۰۲۳-۰۲۱ (داخلی ۱)
📱 شمارۀ موبایل: ۵۹۳۳۴۲۴-۰۹۰۴
📲 در تلگرام
@RavinAcademy
1 035
LLMOps: Managing Large Language Models in Production
Here's the thing about large language models: they don't play by the old rules. Traditional MLOps completely falls apart when you're dealing with GenAI. The model hallucinates, security assumptions crumble, monitoring breaks, and agents can't operate. Suddenly you're in uncharted territory. That's exactly why LLMOps has emerged as its own discipline.
LLMOps: Managing Large Language Models in Production is your guide to actually running these systems when real users and real money are on the line. This book isn't about building cool demos. It's about keeping LLM systems running smoothly in the real world.
@DeveloperAdvocate 🥑
1 035
Using Generative AI for SEO: AI-First Strategies to Improve Quality, Efficiency, and Costs
Generative AI has brought artificial intelligence into the mainstream. The natural language capabilities of this technology provide digital marketers with exciting new ways to use AI in their day-to-day operations. Yet few SEO practitioners understand how to integrate this capability into their business.
Using Generative AI for SEO is the first authoritative book dedicated to helping SEO practitioners effectively incorporate generative AI into their work. No matter where you are in your SEO journey, it's critical to get started so that your organization can gain a competitive advantage. This book provides the necessary background, knowledge, skills, and practical examples to get you working quickly and confidently with this essential new tool.
@DeveloperAdvocate 🥑
1 035
The Design of Web APIs, Second Edition 2nd Edition
This fully revised second edition of The Design of Web APIs teaches you the principles and techniques you need to design easy-to-consume public and private web APIs. In it, you’ll learn how to:
• Analyze requirements to identify API capabilities for versatile, reusable designs
• Create HTTP-based REST APIs with CRUD, batch/bulk, or long operations
• Design interoperable, user-friendly APIs with seamless operations and data flow
• Ensure secure, efficient APIs while overcoming limitations and constraints
• Modify APIs without breaking compatibility, evaluating consequences carefully
• Future-proof your APIs and choose effective versioning strategies
• Document REST APIs using OpenAPI and JSON Schema for seamless implementation
• Streamline and standardize API design decisions with rationale and automation
@DeveloperAdvocate 🥑
1 035
AI-Native Software Delivery: Proven Practices to Produce High-Quality Software Faster
AI coding assistants are helping teams create software faster than ever. But to turn that speed into real innovation, organizations must go beyond writing code and deliver software quickly, securely, and reliably.
While AI-assisted coding is now mainstream, what happens after the code is written is still catching up. AI-Native Software Delivery is your practical guide to applying AI across the entire delivery lifecycle, from commit to production and beyond.
Written for software engineers, DevOps leaders, and tech executives, this book explores how leading teams are using AI to streamline CI/CD, manage cloud costs, strengthen security, and eliminate operational toil. The book also uncovers the risks of brittle automation and shows you how to avoid building systems that don't scale.
@DeveloperAdvocate 🥑
