Skip to content

Commit 3bcfbcc

Browse files
committed
Add new podcasts
1 parent b3ee7ec commit 3bcfbcc

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: RDBMS Background Jobs
3+
summary: Run Background Jobs and Scheduled Tasks in PostgreSQL, SQL Server or MySQL
4+
tags: [db,ormlite,jobs]
5+
author: Demis Bellot
6+
url: https://media.servicestack.com/podcasts/rdbms_jobs.mp3
7+
media: {size:13145337,duration:936.071837,format:mp3}
8+
---
9+
10+
This episode introduces the new **DatabaseJobFeature**, which ports ServiceStack's **Background Jobs**
11+
functionality from SQLite to industrial-strength relational database management systems (RDBMS) like
12+
**PostgreSQL**, **SQL Server**, and **MySQL**.
13+
14+
This feature allows developers to run background jobs and schedule tasks within their existing .NET 8+
15+
applications, providing durability and a management UI for monitoring. A key element is replicating
16+
SQLite's monthly data archival strategy by using **monthly partitioned SQL tables** for completed and
17+
failed job history, with **PostgreSQL** offering native partitioning support.
18+
19+
The functionality supports queuing existing **APIs** or custom **Commands** and offers extensive options
20+
for controlling job execution, including serialization via named workers, dependency management, and
21+
authenticated user contexts, while also supporting **recurring tasks** via TimeSpan or CRON expressions.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: In Depth Interactive API Analytics for PostgreSQL, SQL Server & MySQL
3+
summary: Comprehensive and Interactive RDBMS API Analytics in Admin UI, deep insights into API usage, performance, users, API Keys & IPs
4+
tags: [analytics,admin-ui,apis,postgresql,sqlserver,mysql]
5+
author: Demis Bellot
6+
url: https://media.servicestack.com/podcasts/rdbms_analytics.mp3
7+
media: {size:14480259,duration:983.510204,format:mp3}
8+
---
9+
10+
This episode details a significant update to ServiceStack's **API Analytics features**, restoring parity for
11+
**PostgreSQL, SQL Server, and MySQL** through the new `DbRequestLogger`, which replaces the previous SQLite-only
12+
request logging system. This new implementation enables a comprehensive and interactive Admin UI for
13+
**monitoring API usage, performance, and security insights**.
14+
15+
Key functionalities include visual dashboards that track overall system metrics like
16+
**response times and request volume** across various dimensions, as well as the ability to drill down into
17+
**individual analytics** for specific APIs, authenticated Users, API Keys, and source IP Addresses.
18+
19+
The system is designed for **high-volume logging** by batching inserts to reduce network latency, and it
20+
specifically leverages **PostgreSQL's native table partitioning** for efficient data management.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Protect same APIs with API Keys or Identity Auth
3+
summary: Learn how to create ServiceStack APIs that can be protected with API Keys or Identity Auth
4+
tags: [apikeys,identity-auth,auth]
5+
author: Demis Bellot
6+
url: https://media.servicestack.com/podcasts/apikey_auth_apis.mp3
7+
media: {size:10636765,duration:719.203265,format:mp3}
8+
---
9+
10+
This episode covers two distinct authentication paradigms for modern APIs: **Identity Auth** and
11+
**API Keys**, designed to serve different client types and use cases. **Identity Auth** is primarily
12+
intended for scenarios involving a human user with interactive workflows, requiring credentials and
13+
establishing user sessions with roles and permissions. Conversely, **API Keys** are built for non-interactive
14+
**machine-to-machine** communication or user agents, offering simpler token-based authentication,
15+
superior performance, and fine-grained access control through scopes.
16+
17+
Maintaining two separate APIs to support both models is cumbersome, and covers how ServiceStack's new
18+
API Keys Identity Auth feature allows developers to protect a single API with **both** Identity Auth and
19+
API Keys simultaneously.
20+
21+
This unified approach simplifies maintenance while enabling users to access protected APIs using an API Key
22+
attached to their Identity Auth Cookie.

0 commit comments

Comments
 (0)