<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: anhphan</title>
    <description>The latest articles on DEV Community by anhphan (@anhphan2024).</description>
    <link>https://dev.to/anhphan2024</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1354160%2F07774b6c-91ac-451d-842f-b9f853ab106f.png</url>
      <title>DEV Community: anhphan</title>
      <link>https://dev.to/anhphan2024</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anhphan2024"/>
    <language>en</language>
    <item>
      <title>SCRUM Team Role</title>
      <dc:creator>anhphan</dc:creator>
      <pubDate>Sun, 08 Sep 2024 14:56:20 +0000</pubDate>
      <link>https://dev.to/anhphan2024/scrum-team-role-1lk</link>
      <guid>https://dev.to/anhphan2024/scrum-team-role-1lk</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgnk1fh0sjvvjqxohi90o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgnk1fh0sjvvjqxohi90o.png" alt="Image description" width="800" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  scrum
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>winglang</title>
      <dc:creator>anhphan</dc:creator>
      <pubDate>Fri, 26 Apr 2024 02:51:38 +0000</pubDate>
      <link>https://dev.to/anhphan2024/winglang-4j72</link>
      <guid>https://dev.to/anhphan2024/winglang-4j72</guid>
      <description>&lt;h1&gt;
  
  
  Infrastructure and code in one language
&lt;/h1&gt;

&lt;p&gt;A unified programming model that combines both infrastructure and application code into a single programming language.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Compiles to IaC (TF, CDK, etc.) &amp;amp; Javascript&lt;/li&gt;
&lt;li&gt;Infrastructure resources are first-class citizens&lt;/li&gt;
&lt;li&gt;Automatic IAM policies and other cloud mechanics&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Local simulation
&lt;/h1&gt;

&lt;p&gt;Stay in your creative flow with minimal context switching and immediate feedback&lt;br&gt;
‍&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run your cloud application in your local environment&lt;/li&gt;
&lt;li&gt;Visualize, interact, and debug locally&lt;/li&gt;
&lt;li&gt;Write unit test for complete cloud architectures&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Apply DevOps at the right level
&lt;/h1&gt;

&lt;p&gt;Use any cloud service and compile to multiple cloud providers and provisioning engines, with full control over how your infrastructure is configured and deployed&lt;br&gt;
‍&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cloud-agnostic SDK for maximum portability&lt;/li&gt;
&lt;li&gt;Customizable infrastructure through plugins&lt;/li&gt;
&lt;li&gt;Supports any provider in the Terraform ecosystem&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Designed for humans
&lt;/h1&gt;

&lt;p&gt;Easy to learn and interoperates with existing stacks and tools&lt;br&gt;
‍&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Syntax inspired by modern application development languages like TypeScript, JavaScript, Swift, and more&lt;/li&gt;
&lt;li&gt;Statically-typed and simple language with powerful IDE tooling&lt;/li&gt;
&lt;li&gt;Interoperates with npm modules, CDK constructs and Terraform providers&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  devops #winglang
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>Query DB SELECT * FROM &lt;table&gt;</title>
      <dc:creator>anhphan</dc:creator>
      <pubDate>Wed, 24 Apr 2024 08:02:52 +0000</pubDate>
      <link>https://dev.to/anhphan2024/query-db-select-from-2mk1</link>
      <guid>https://dev.to/anhphan2024/query-db-select-from-2mk1</guid>
      <description>&lt;p&gt;SELECT * FROM &lt;/p&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;; Everyone knows it's been not good, but now I can read the whole bunch of consequences and it's interesting so I'll share it with you guys

&lt;ul&gt;
&lt;li&gt;Increased network traffic&lt;/li&gt;
&lt;li&gt;Increased CPU usage on client side&lt;/li&gt;
&lt;li&gt;Some query plan optimizations not possible&lt;/li&gt;
&lt;li&gt;Server-side memory usage&lt;/li&gt;
&lt;li&gt;Increased CPU usage on server side&lt;/li&gt;
&lt;li&gt;Hard parsing/optimization takes more time&lt;/li&gt;
&lt;li&gt;Cached cursors take more memory in shared pool - LOB Fetching
#database.&lt;/li&gt;
&lt;/ul&gt;


&lt;/table&gt;&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Prometheus Server</title>
      <dc:creator>anhphan</dc:creator>
      <pubDate>Tue, 23 Apr 2024 09:34:36 +0000</pubDate>
      <link>https://dev.to/anhphan2024/prometheus-server-4p93</link>
      <guid>https://dev.to/anhphan2024/prometheus-server-4p93</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk81gmhlnqy3ejvkdouqn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk81gmhlnqy3ejvkdouqn.png" alt="Image description" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Prometheus server is the core component responsible for scraping, storing, and querying metrics data. &lt;/li&gt;
&lt;li&gt;The Prometheus server is designed for reliability and scalability, allowing it to handle large volumes of metrics data from numerous targets. 
Here’s a breakdown of its functionalities:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Data Scraping:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Prometheus server regularly scrapes metrics data from configured targets.&lt;/li&gt;
&lt;li&gt;It supports various protocols like HTTP, HTTPS, and SNMP for scraping metrics endpoints&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Prometheus Configuration File:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Prometheus configuration file is where you define the targets to scrape, the time intervals for scraping, and other configuration settings. &lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Prometheus configuration file is written in YAML format and defines various aspects of Prometheus’ behavior.&lt;br&gt;
&lt;strong&gt;Global Configuration:&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The global configuration section contains settings that apply globally to Prometheus.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This includes parameters like the scrape interval, which determines how often Prometheus scrapes metrics from targets.&lt;br&gt;
&lt;strong&gt;scrape_interval&lt;/strong&gt;: Defines the interval at which Prometheus scrapes metrics data from targets.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;evaluation_interval&lt;/strong&gt;: Specifies the interval at which Prometheus evaluates alerting rules.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scrape configuration defines the targets that Prometheus should scrape for metrics data. &lt;/li&gt;
&lt;li&gt;Each scrape configuration specifies a job name and a list of targets to scrape. These targets could be specific endpoints or services
&lt;strong&gt;job_name:&lt;/strong&gt; Identifies a logical group of targets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;static_configs:&lt;/strong&gt; Defines static targets to scrape, such as specific IP addresses and ports&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Promethues- Architecture</title>
      <dc:creator>anhphan</dc:creator>
      <pubDate>Mon, 22 Apr 2024 04:30:03 +0000</pubDate>
      <link>https://dev.to/anhphan2024/prom-architecture-1f47</link>
      <guid>https://dev.to/anhphan2024/prom-architecture-1f47</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F24yc4c4717qz76e2nbf2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F24yc4c4717qz76e2nbf2.png" alt="Image description" width="800" height="422"&gt;&lt;/a&gt;&lt;br&gt;
Prometheus gathers metrics from your applications and infrastructure. These metrics represent various aspects of your systems’ performance, such as CPU usage, memory consumption, request latency, and more. Prometheus collects these metrics over time, allowing you to understand trends, identify anomalies, and troubleshoot issues.&lt;br&gt;
Key Components of Prometheus Architecture&lt;br&gt;
Prometheus Server: The core component responsible for data collection, storage, querying, and alerting.&lt;br&gt;
Time Series Database (TSDB): Stores time-series data efficiently, enabling fast querying and analysis of metrics.&lt;br&gt;
Data Model: Defines how metrics are organized using metric names, labels, and values.&lt;br&gt;
Exporters: These are tools that expose metrics from third-party systems as Prometheus metrics. Since Prometheus can only scrape metrics in its&lt;br&gt;
Service Discovery: services are identified which are need to scraped.&lt;br&gt;
Alert Manager: Handles alerts sent by the Prometheus server. It is responsible for deduplicating, grouping, and routing them to the correct receiver such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.&lt;br&gt;
Pushgateway: A middleware component that accepts metrics from jobs that cannot be scraped. This is typical for short-lived jobs or batch jobs that don’t expose an HTTP endpoint long enough for Prometheus to scrape. Metrics are pushed to the Pushgateway, and then Prometheus scrapes the Pushgateway to collect these metrics.&lt;br&gt;
Targets: Any system or service that exposes metrics via an HTTP endpoint. This could be applications, infrastructure components, or external services.&lt;br&gt;
Client Libraries: Libraries for instrumenting applications and services to expose their own metrics in a Prometheus-compatible format.&lt;br&gt;
PromQL: The query language used to query and analyze metrics stored in Prometheus.&lt;br&gt;
Visualization Tools: Various tools and dashboards can be used to visualize the metrics collected by Prometheus, such as Grafana.&lt;/p&gt;

&lt;h1&gt;
  
  
  promethues
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
