You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2026/03/21 06:08:22 UTC

(pinot-site) 02/02: feat: add Use Cases page and navigation link

This is an automated email from the ASF dual-hosted git repository.

xiangfu pushed a commit to branch feature/use-cases-page
in repository https://gitbox.apache.org/repos/asf/pinot-site.git

commit 89de700911932c92b401bb51ac72646fbfe3bc23
Author: Xiang Fu <fx...@gmail.com>
AuthorDate: Fri Mar 20 23:05:51 2026 -0700

    feat: add Use Cases page and navigation link
    
    - Create new Use Cases page at /app/use-cases/page.tsx
    - Add UseCases and UseCase components for card-based layout
    - Create useCasesData.ts with 6 key use cases:
      * Real-Time Dashboards
      * User-Facing Analytics
      * Anomaly Detection
      * Ad-Hoc OLAP Queries
      * Event Analytics
      * Personalization & Recommendations
    - Add SVG icons for each use case in vine color scheme
    - Update headerNavLinks to include 'Use Cases' after 'Docs'
    - Styling follows existing design patterns with Tailwind CSS
    - Cards feature icons, descriptions, bullet points, and learn more links
---
 app/use-cases/page.tsx                             | 26 +++++++
 components/UseCase.tsx                             | 39 ++++++++++
 components/UseCases.tsx                            | 26 +++++++
 data/headerNavLinks.ts                             |  3 +-
 data/useCasesData.ts                               | 91 ++++++++++++++++++++++
 public/static/images/use-cases/analytics.svg       |  8 ++
 public/static/images/use-cases/anomaly.svg         | 11 +++
 public/static/images/use-cases/dashboards.svg      | 10 +++
 public/static/images/use-cases/events.svg          | 12 +++
 public/static/images/use-cases/olap.svg            | 17 ++++
 public/static/images/use-cases/personalization.svg | 11 +++
 11 files changed, 253 insertions(+), 1 deletion(-)

diff --git a/app/use-cases/page.tsx b/app/use-cases/page.tsx
new file mode 100644
index 00000000..15614f5c
--- /dev/null
+++ b/app/use-cases/page.tsx
@@ -0,0 +1,26 @@
+import UseCases from '@/components/UseCases';
+import { genPageMetadata } from '../seo';
+
+export const metadata = genPageMetadata({
+    title: 'Use Cases',
+    description: 'Explore how Apache Pinot powers real-time analytics across various use cases'
+});
+
+const UseCasesPage = () => {
+    return (
+        <section>
+            <header className="p-8 text-center md:p-0 md:pt-16">
+                <h1 className="mb-6 text-3xl font-bold md:text-5xl">
+                    Apache Pinot Use Cases
+                </h1>
+                <p className="mx-auto max-w-2xl text-lg text-gray-600 md:mb-12">
+                    Discover how teams at leading companies use Apache Pinot to power
+                    real-time analytics, dashboards, and intelligent applications at scale.
+                </p>
+            </header>
+            <UseCases />
+        </section>
+    );
+};
+
+export default UseCasesPage;
diff --git a/components/UseCase.tsx b/components/UseCase.tsx
new file mode 100644
index 00000000..526ab663
--- /dev/null
+++ b/components/UseCase.tsx
@@ -0,0 +1,39 @@
+import Image from 'next/image';
+import Link from 'next/link';
+import { UseCase as UseCaseType } from '@/data/useCasesData';
+
+interface UseCaseProps extends UseCaseType {}
+
+const UseCase: React.FC<UseCaseProps> = ({
+    icon,
+    title,
+    description,
+    details,
+    learnMoreLink
+}) => {
+    return (
+        <div className="flex flex-col rounded-lg border border-gray-200 bg-white p-6 shadow-sm hover:shadow-md transition-shadow">
+            <div className="mb-4 flex h-16 w-16 items-center justify-center rounded-md bg-vine-50">
+                <Image src={icon} alt={title} width={40} height={40} />
+            </div>
+            <h3 className="mb-3 text-xl font-semibold text-gray-900">{title}</h3>
+            <p className="mb-4 text-base text-gray-600">{description}</p>
+            <ul className="mb-6 flex-grow space-y-2">
+                {details.map((detail, idx) => (
+                    <li key={idx} className="flex items-start text-sm text-gray-600">
+                        <span className="mr-2 text-vine-100">•</span>
+                        <span>{detail}</span>
+                    </li>
+                ))}
+            </ul>
+            <Link
+                href={learnMoreLink}
+                className="inline-flex text-base font-semibold text-vine-100 hover:text-vine-200 transition-colors"
+            >
+                Learn more →
+            </Link>
+        </div>
+    );
+};
+
+export default UseCase;
diff --git a/components/UseCases.tsx b/components/UseCases.tsx
new file mode 100644
index 00000000..699cb407
--- /dev/null
+++ b/components/UseCases.tsx
@@ -0,0 +1,26 @@
+import UseCase from './UseCase';
+import useCasesData from '@/data/useCasesData';
+
+const UseCases: React.FC = () => {
+    return (
+        <section className="px-6 py-14 md:mx-auto md:max-w-screen-outerLiveArea md:px-[6.75rem] md:py-[6.5rem]">
+            <div className="mx-auto max-w-7xl">
+                <h2 className="mb-4 text-center text-3xl font-bold md:text-4xl">
+                    Use Cases Powered by Apache Pinot
+                </h2>
+                <p className="mb-12 text-center text-lg text-gray-600 md:mb-16">
+                    From real-time dashboards to personalized recommendations, Pinot powers
+                    modern applications that need fast, scalable analytics on petabyte-scale
+                    data.
+                </p>
+                <div className="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
+                    {useCasesData.map((useCase) => (
+                        <UseCase key={useCase.id} {...useCase} />
+                    ))}
+                </div>
+            </div>
+        </section>
+    );
+};
+
+export default UseCases;
diff --git a/data/headerNavLinks.ts b/data/headerNavLinks.ts
index b75af7a1..e526a10d 100644
--- a/data/headerNavLinks.ts
+++ b/data/headerNavLinks.ts
@@ -1,8 +1,9 @@
 const headerNavLinks = [
     { href: '/', title: 'Home' },
     { href: 'https://docs.pinot.apache.org', title: 'Docs' },
+    { href: '/use-cases/', title: 'Use Cases' },
     { href: '/download/', title: 'Download' },
-    { href: '/powered-by/', title: 'Who Uses Pinot' },
+    { href: '/powered-by/', title: 'Powered by' },
     { href: '/blog/', title: 'Blog' },
     { href: '/#join-community', title: 'Community' }
 ];
diff --git a/data/useCasesData.ts b/data/useCasesData.ts
new file mode 100644
index 00000000..c328ae04
--- /dev/null
+++ b/data/useCasesData.ts
@@ -0,0 +1,91 @@
+export interface UseCase {
+    id: string;
+    icon: string;
+    title: string;
+    description: string;
+    details: string[];
+    learnMoreLink: string;
+}
+
+const useCasesData: UseCase[] = [
+    {
+        id: 'real-time-dashboards',
+        icon: '/static/images/use-cases/dashboards.svg',
+        title: 'Real-Time Dashboards',
+        description:
+            'Power internal and external dashboards with sub-second query latency on fresh data. Serve dynamic, interactive visualizations to teams and customers.',
+        details: [
+            'Sub-second query latency for interactive dashboard updates',
+            'Fresh data ingested in real-time from streaming sources',
+            'Support for complex aggregations and filters'
+        ],
+        learnMoreLink: 'https://docs.pinot.apache.org/basics/getting-started'
+    },
+    {
+        id: 'user-facing-analytics',
+        icon: '/static/images/use-cases/analytics.svg',
+        title: 'User-Facing Analytics',
+        description:
+            'Embed analytics directly in your product, serving hundreds of thousands of concurrent queries. Enable your users to explore data in real-time.',
+        details: [
+            'Handle hundreds of thousands of concurrent queries per second',
+            'Horizontally scalable architecture for growing demand',
+            'Built-in multitenancy for product isolation'
+        ],
+        learnMoreLink: 'https://docs.pinot.apache.org/basics/architecture'
+    },
+    {
+        id: 'anomaly-detection',
+        icon: '/static/images/use-cases/anomaly.svg',
+        title: 'Anomaly Detection',
+        description:
+            'Detect anomalies in real-time across metrics from streaming sources like Kafka. Build proactive alerting systems and catch issues as they happen.',
+        details: [
+            'Ingest data in real-time from Kafka, Pulsar, and Kinesis',
+            'Query freshly ingested data immediately for anomaly detection',
+            'High-concurrency support for continuous monitoring systems'
+        ],
+        learnMoreLink: 'https://docs.pinot.apache.org/basics/data-ingestion'
+    },
+    {
+        id: 'adhoc-olap',
+        icon: '/static/images/use-cases/olap.svg',
+        title: 'Ad-Hoc OLAP Queries',
+        description:
+            'Run flexible, exploratory analytical queries on petabyte-scale datasets. Support data exploration and business intelligence workloads.',
+        details: [
+            'Query petabyte-scale datasets with millisecond latencies',
+            'SQL interface for flexible analytical queries',
+            'Rich indexing options for optimized query performance'
+        ],
+        learnMoreLink: 'https://docs.pinot.apache.org/basics/indexing'
+    },
+    {
+        id: 'event-analytics',
+        icon: '/static/images/use-cases/events.svg',
+        title: 'Event Analytics',
+        description:
+            'Analyze clickstreams, app events, and IoT data in real time. Understand user behavior and system performance with immediate insights.',
+        details: [
+            'Batch and streaming ingestion from diverse sources',
+            'Efficient storage and querying of high-volume events',
+            'Support for time-series analysis and windowing'
+        ],
+        learnMoreLink: 'https://docs.pinot.apache.org/basics/getting-started'
+    },
+    {
+        id: 'personalization',
+        icon: '/static/images/use-cases/personalization.svg',
+        title: 'Personalization & Recommendations',
+        description:
+            'Power real-time recommendation engines with millisecond lookup times. Deliver personalized experiences based on fresh user behavior data.',
+        details: [
+            'Millisecond-latency lookups for real-time personalization',
+            'Support for complex joins between user and behavioral data',
+            'Upserts for real-time profile updates'
+        ],
+        learnMoreLink: 'https://docs.pinot.apache.org/basics/getting-started'
+    }
+];
+
+export default useCasesData;
diff --git a/public/static/images/use-cases/analytics.svg b/public/static/images/use-cases/analytics.svg
new file mode 100644
index 00000000..8790244a
--- /dev/null
+++ b/public/static/images/use-cases/analytics.svg
@@ -0,0 +1,8 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
+  <rect width="80" height="80" rx="12" fill="#E8F4F8"/>
+  <rect x="16" y="60" width="8" height="8" rx="1" fill="#1F8A8A"/>
+  <rect x="28" y="48" width="8" height="20" rx="1" fill="#5BB3B3"/>
+  <rect x="40" y="36" width="8" height="32" rx="1" fill="#3A9B9B"/>
+  <rect x="52" y="24" width="8" height="44" rx="1" fill="#5BB3B3"/>
+  <path d="M 14 62 L 62 12" stroke="#1F8A8A" stroke-width="2" stroke-linecap="round"/>
+</svg>
diff --git a/public/static/images/use-cases/anomaly.svg b/public/static/images/use-cases/anomaly.svg
new file mode 100644
index 00000000..6fa24184
--- /dev/null
+++ b/public/static/images/use-cases/anomaly.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
+  <rect width="80" height="80" rx="12" fill="#E8F4F8"/>
+  <path d="M 16 48 Q 28 32 40 42 T 64 38" stroke="#3A9B9B" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
+  <circle cx="40" cy="42" r="3" fill="#1F8A8A"/>
+  <circle cx="28" cy="32" r="3" fill="#1F8A8A"/>
+  <circle cx="64" cy="38" r="3" fill="#FF6B6B"/>
+  <path d="M 64 38 L 68 48 L 60 48 Z" fill="#FF6B6B"/>
+  <rect x="16" y="56" width="48" height="2" rx="1" fill="#5BB3B3" opacity="0.5"/>
+  <line x1="16" y1="64" x2="24" y2="64" stroke="#1F8A8A" stroke-width="1.5" stroke-linecap="round"/>
+  <line x1="28" y1="64" x2="36" y2="64" stroke="#FF6B6B" stroke-width="1.5" stroke-linecap="round"/>
+</svg>
diff --git a/public/static/images/use-cases/dashboards.svg b/public/static/images/use-cases/dashboards.svg
new file mode 100644
index 00000000..db724ffa
--- /dev/null
+++ b/public/static/images/use-cases/dashboards.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
+  <rect width="80" height="80" rx="12" fill="#E8F4F8"/>
+  <rect x="12" y="12" width="56" height="8" rx="2" fill="#1F8A8A"/>
+  <rect x="12" y="24" width="12" height="12" rx="2" fill="#5BB3B3"/>
+  <rect x="28" y="24" width="12" height="12" rx="2" fill="#5BB3B3"/>
+  <rect x="44" y="24" width="12" height="12" rx="2" fill="#5BB3B3"/>
+  <rect x="12" y="40" width="44" height="8" rx="2" fill="#5BB3B3"/>
+  <rect x="12" y="52" width="12" height="8" rx="2" fill="#5BB3B3"/>
+  <rect x="28" y="52" width="28" height="8" rx="2" fill="#5BB3B3"/>
+</svg>
diff --git a/public/static/images/use-cases/events.svg b/public/static/images/use-cases/events.svg
new file mode 100644
index 00000000..1f0ac974
--- /dev/null
+++ b/public/static/images/use-cases/events.svg
@@ -0,0 +1,12 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
+  <rect width="80" height="80" rx="12" fill="#E8F4F8"/>
+  <rect x="14" y="16" width="10" height="48" rx="2" fill="#1F8A8A"/>
+  <rect x="28" y="24" width="10" height="40" rx="2" fill="#3A9B9B"/>
+  <rect x="42" y="28" width="10" height="36" rx="2" fill="#5BB3B3"/>
+  <rect x="56" y="20" width="10" height="44" rx="2" fill="#3A9B9B"/>
+  <circle cx="19" cy="12" r="3" fill="#1F8A8A"/>
+  <circle cx="33" cy="12" r="3" fill="#3A9B9B"/>
+  <circle cx="47" cy="12" r="3" fill="#5BB3B3"/>
+  <circle cx="61" cy="12" r="3" fill="#3A9B9B"/>
+  <path d="M 14 68 L 66 68" stroke="#5BB3B3" stroke-width="1.5" stroke-linecap="round"/>
+</svg>
diff --git a/public/static/images/use-cases/olap.svg b/public/static/images/use-cases/olap.svg
new file mode 100644
index 00000000..3b95c8c4
--- /dev/null
+++ b/public/static/images/use-cases/olap.svg
@@ -0,0 +1,17 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
+  <rect width="80" height="80" rx="12" fill="#E8F4F8"/>
+  <g>
+    <circle cx="25" cy="30" r="8" fill="#1F8A8A"/>
+    <circle cx="40" cy="20" r="8" fill="#3A9B9B"/>
+    <circle cx="55" cy="30" r="8" fill="#5BB3B3"/>
+    <circle cx="32" cy="48" r="8" fill="#5BB3B3"/>
+    <circle cx="48" cy="48" r="8" fill="#3A9B9B"/>
+    <circle cx="40" cy="62" r="8" fill="#1F8A8A"/>
+  </g>
+  <g stroke="#5BB3B3" stroke-width="1.5" fill="none">
+    <line x1="29" y1="35" x2="36" y2="44"/>
+    <line x1="40" y1="28" x2="40" y2="40"/>
+    <line x1="51" y1="35" x2="44" y2="44"/>
+    <line x1="40" y1="56" x2="40" y2="56"/>
+  </g>
+</svg>
diff --git a/public/static/images/use-cases/personalization.svg b/public/static/images/use-cases/personalization.svg
new file mode 100644
index 00000000..11aff805
--- /dev/null
+++ b/public/static/images/use-cases/personalization.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
+  <rect width="80" height="80" rx="12" fill="#E8F4F8"/>
+  <circle cx="25" cy="28" r="7" fill="#1F8A8A"/>
+  <path d="M 18 38 Q 18 35 25 35 Q 32 35 32 38 L 32 44 Q 32 46 30 46 L 20 46 Q 18 46 18 44 Z" fill="#3A9B9B"/>
+  <circle cx="55" cy="28" r="7" fill="#3A9B9B"/>
+  <path d="M 48 38 Q 48 35 55 35 Q 62 35 62 38 L 62 44 Q 62 46 60 46 L 50 46 Q 48 46 48 44 Z" fill="#5BB3B3"/>
+  <circle cx="40" cy="52" r="7" fill="#5BB3B3"/>
+  <path d="M 33 62 Q 33 59 40 59 Q 47 59 47 62 L 47 68 Q 47 70 45 70 L 35 70 Q 33 70 33 68 Z" fill="#1F8A8A"/>
+  <path d="M 25 46 L 35 52" stroke="#5BB3B3" stroke-width="1.5" stroke-linecap="round"/>
+  <path d="M 55 46 L 45 52" stroke="#5BB3B3" stroke-width="1.5" stroke-linecap="round"/>
+</svg>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org