Skip to content

Commit 31948b9

Browse files
author
Dominique Chuo
committed
clarifies redis
1 parent c4f8816 commit 31948b9

File tree

2 files changed

+63
-63
lines changed

2 files changed

+63
-63
lines changed

src/pages/landing/sections/faq.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const faqs = [
99
},
1010
{
1111
question: 'How is ReifyDB different from PostgreSQL or Redis?',
12-
answer: 'PostgreSQL is disk-first: durable and query-rich, but slow for real-time state. Redis is memory-first: fast, but no transactions across keys and no derived state. ReifyDB gives you in-memory speed with full ACID transactions, plus incremental materialized views and programmable logic that runs inside the database.',
12+
answer: 'PostgreSQL is disk-first: durable and query-rich, but slow for real-time state. Redis is memory-first: fast, but transactions lack rollbacks and there is no derived state. ReifyDB gives you in-memory speed with full ACID transactions, plus incremental materialized views and programmable logic that runs inside the database.',
1313
},
1414
{
1515
question: 'Is ReifyDB production ready?',
Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,75 @@
1-
import { ArrowRight } from 'lucide-react';
1+
import {ArrowRight} from 'lucide-react';
22

33
const replacements = [
4-
{
5-
before: 'PostgreSQL + Redis',
6-
after: 'Single Transactional Store',
7-
description: 'No more cache invalidation headaches or consistency gaps between your database and cache layer.',
8-
beforeColor: 'bg-red-50 border-red-200 text-red-700',
9-
afterColor: 'bg-green-50 border-green-200 text-green-700',
10-
},
11-
{
12-
before: 'Batch Materialized Views',
13-
after: 'Incremental Derived State',
14-
description: 'Views update as data changes, not on a schedule. No polling, no refresh jobs, no stale data.',
15-
beforeColor: 'bg-red-50 border-red-200 text-red-700',
16-
afterColor: 'bg-green-50 border-green-200 text-green-700',
17-
},
18-
{
19-
before: 'Scattered Service Logic',
20-
after: 'Programmable Transitions',
21-
description: 'State logic lives in the database, not scattered across microservices, workers, and cron jobs.',
22-
beforeColor: 'bg-red-50 border-red-200 text-red-700',
23-
afterColor: 'bg-green-50 border-green-200 text-green-700',
24-
},
25-
{
26-
before: 'Redis + Kafka + Custom Code',
27-
after: 'Native State Primitives',
28-
description: 'Counters, queues, ring buffers, histograms—all in one engine with unified transactional guarantees.',
29-
beforeColor: 'bg-red-50 border-red-200 text-red-700',
30-
afterColor: 'bg-green-50 border-green-200 text-green-700',
31-
},
4+
{
5+
before: 'PostgreSQL + Redis',
6+
after: 'Single Transactional Store',
7+
description: 'No more cache invalidation headaches or consistency gaps between your database and cache layer.',
8+
beforeColor: 'bg-red-50 border-red-200 text-red-700',
9+
afterColor: 'bg-green-50 border-green-200 text-green-700',
10+
},
11+
{
12+
before: 'Batch Materialized Views',
13+
after: 'Incremental Derived State',
14+
description: 'Views update as data changes, not on a schedule. No polling, no refresh jobs, no stale data.',
15+
beforeColor: 'bg-red-50 border-red-200 text-red-700',
16+
afterColor: 'bg-green-50 border-green-200 text-green-700',
17+
},
18+
{
19+
before: 'Scattered Service Logic',
20+
after: 'Programmable Transitions',
21+
description: 'State logic lives in the database, not scattered across microservices, workers, and cron jobs.',
22+
beforeColor: 'bg-red-50 border-red-200 text-red-700',
23+
afterColor: 'bg-green-50 border-green-200 text-green-700',
24+
},
25+
{
26+
before: 'Redis + Kafka + Custom Code',
27+
after: 'Native State Primitives',
28+
description: 'Counters, queues, ring buffers, histograms—all in one engine with unified transactional guarantees.',
29+
beforeColor: 'bg-red-50 border-red-200 text-red-700',
30+
afterColor: 'bg-green-50 border-green-200 text-green-700',
31+
},
3232
];
3333

3434
export function ReplacesSection() {
35-
return (
36-
<section id="replaces" className="py-16 sm:py-24 bg-bg-tertiary">
37-
<div className="mx-auto max-w-6xl px-6 md:px-8">
38-
{/* Section Header */}
39-
<div className="text-center mb-12 sm:mb-16">
40-
<h2 className="text-3xl sm:text-4xl font-black tracking-tight mb-4">
41-
What ReifyDB Replaces
42-
</h2>
43-
<p className="max-w-2xl mx-auto text-text-secondary text-lg">
44-
Modern applications manage state across multiple systems. ReifyDB centralizes it all.
45-
</p>
46-
</div>
35+
return (
36+
<section id="replaces" className="py-16 sm:py-24 bg-bg-tertiary">
37+
<div className="mx-auto max-w-6xl px-6 md:px-8">
38+
{/* Section Header */}
39+
<div className="text-center mb-12 sm:mb-16">
40+
<h2 className="text-3xl sm:text-4xl font-black tracking-tight mb-4">
41+
What ReifyDB Replaces
42+
</h2>
43+
<p className="max-w-2xl mx-auto text-text-secondary text-lg">
44+
Modern applications manage state across multiple systems. ReifyDB centralizes it all.
45+
</p>
46+
</div>
4747

48-
{/* Replacements Grid */}
49-
<div className="grid gap-6 md:grid-cols-2">
50-
{replacements.map((item) => (
51-
<div
52-
key={item.before}
53-
className="bg-white border-2 border-border-default rounded-lg p-6 shadow-minimal"
54-
>
55-
{/* Before -> After */}
56-
<div className="flex items-center gap-3 mb-4">
48+
{/* Replacements Grid */}
49+
<div className="grid gap-6 md:grid-cols-2">
50+
{replacements.map((item) => (
51+
<div
52+
key={item.before}
53+
className="bg-white border-2 border-border-default rounded-lg p-6 shadow-minimal"
54+
>
55+
{/* Before -> After */}
56+
<div className="flex items-center gap-3 mb-4">
5757
<span className={`px-3 py-1 rounded-full text-xs font-bold border ${item.beforeColor}`}>
5858
{item.before}
5959
</span>
60-
<ArrowRight className="h-4 w-4 text-text-muted" />
61-
<span className={`px-3 py-1 rounded-full text-xs font-bold border ${item.afterColor}`}>
60+
<ArrowRight className="h-4 w-4 text-text-muted"/>
61+
<span className={`px-3 py-1 rounded-full text-xs font-bold border ${item.afterColor}`}>
6262
{item.after}
6363
</span>
64-
</div>
65-
{/* Description */}
66-
<p className="text-text-muted text-sm leading-relaxed">
67-
{item.description}
68-
</p>
64+
</div>
65+
{/* Description */}
66+
<p className="text-text-muted text-sm leading-relaxed">
67+
{item.description}
68+
</p>
69+
</div>
70+
))}
71+
</div>
6972
</div>
70-
))}
71-
</div>
72-
</div>
73-
</section>
74-
);
73+
</section>
74+
);
7575
}

0 commit comments

Comments
 (0)