-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
548 lines (548 loc) · 17.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Build concurrent and multi-stage data ingestion and data processing pipelines with Elixir."
/>
<title>Broadway</title>
<!-- Load assets -->
<link href="/style.css" rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;900&display=swap"
rel="stylesheet"
/>
<!-- Load icons in deferred way, as they are not critical -->
<link
href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css"
rel="stylesheet"
media="print"
onload="this.media='all'"
/>
<noscript>
<link
href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css"
rel="stylesheet"
/>
</noscript>
<!-- Setup analytics -->
<script defer data-domain="elixir-broadway.org" src="https://plausible.io/js/plausible.js"></script>
</head>
<body class="bg-background-900 text-gray-300 flex flex-col items-center">
<!-- Background box -->
<div class="w-full px-4 bg-background-900 flex flex-col items-center">
<!-- Links -->
<nav class="py-10 flex space-x-6 sm:space-x-12 sm:text-lg font-medium">
<a href="#features">Features</a>
<a href="#learn">Learn</a>
<a href="#cases">Cases</a>
<a
href="https://github.com/dashbitco/broadway"
class="flex space-x-2 items-center"
>
<span>Source</span>
<i class="ri-external-link-line text-base"></i>
</a>
</nav>
<!-- Intro -->
<header class="mt-16 mb-8 flex flex-col space-y-10 items-center">
<img
src="/images/broadway.svg"
alt="Broadway"
height="160"
width="560"
/>
<p class="max-w-[610px] text-xl text-center">
Build concurrent and multi-stage data ingestion and data processing
pipelines with Elixir.
</p>
<a
href="https://github.com/dashbitco/broadway"
class="
py-4
px-8
flex
space-x-2
items-center
rounded-lg
bg-broadway-700
leading-none
text-gray-800
font-medium
"
>
<i class="ri-github-fill text-lg leading-none"></i>
<span>Check our repo</span>
</a>
</header>
<!-- Features -->
<section
id="features"
class="
pb-10
pt-24
lg:pb-24
max-w-[960px]
flex flex-col
space-y-12
items-center
"
>
<h2
class="
flex
space-x-2
items-center
text-4xl text-gray-50
font-semibold
"
>
<span>Features you will</span>
<i class="ri-heart-fill"></i>
</h2>
<!-- Features grid -->
<div
class="
px-4
grid grid-cols-1
gap-y-12
md:grid-cols-2
md:gap-y-20 md:gap-x-36
"
>
<!-- Feature card -->
<div class="flex flex-col">
<img
src="/images/data_pipelines.svg"
alt=""
height="60"
width="60"
class="mb-4"
/>
<h3 class="mb-2 text-gray-50 text-lg font-semibold">
Concurrency and Batching
</h3>
<p>
Broadway is an open source library with concurrent data ingestion
and processing. Outgoing data is also concurrent and can be
batched.
</p>
</div>
<!-- Feature card -->
<div class="flex flex-col">
<img
src="/images/supervision_tree.svg"
alt=""
height="60"
width="60"
class="mb-4"
/>
<h3 class="mb-2 text-gray-50 text-lg font-semibold">Robust</h3>
<p>
Broadway relies on the Erlang VM and supervision trees to provide
a robust failure model and graceful shutdowns.
</p>
</div>
<!-- Feature card -->
<div class="flex flex-col">
<img
src="/images/cloud.svg"
alt=""
height="60"
width="60"
class="mb-4"
/>
<h3 class="mb-2 text-gray-50 text-lg font-semibold">
Integrations
</h3>
<p>
Broadway includes integration for RabbitMQ, Amazon SQS, Google
PubSub, and Apache Kafka. You can also
<a
class="border-b-2 border-gray-200"
href="https://hexdocs.pm/broadway/custom-producers.html"
>hook your own</a
>
or use any of the community packages.
</p>
</div>
<!-- Feature card -->
<div class="flex flex-col">
<img
src="/images/back_pressure.svg"
alt=""
height="60"
width="60"
class="mb-4"
/>
<h3 class="mb-2 text-gray-50 text-lg font-semibold">
Back pressure
</h3>
<p>
Broadway builds on GenStage to provide back pressure and avoid
overloads, ensuring you only ingest data the system can handle.
See how
<a
class="border-b-2 border-gray-200"
href="https://blog.discord.com/how-discord-handles-push-request-bursts-of-over-a-million-per-minute-with-elixirs-genstage-8f899f0221b4"
>Discord</a
>
and
<a
class="border-b-2 border-gray-200"
href="https://elixir-lang.org/blog/2020/10/27/delivering-social-change-with-elixir-at-change.org/"
>Change.org</a
>
use GenStage at scale.
</p>
</div>
<!-- Feature card -->
<div class="flex flex-col">
<img
src="/images/rate_limiting.svg"
alt=""
height="60"
width="60"
class="mb-4"
/>
<h3 class="mb-2 text-gray-50 text-lg font-semibold">
Rate limiting
</h3>
<p>
A built-in rate limiter controls how to ingest data. This is
useful when external factors dictate how fast your pipeline should
run.
</p>
</div>
<!-- Feature card -->
<div class="flex flex-col">
<img
src="/images/metrics.svg"
alt=""
height="60"
width="60"
class="mb-4"
/>
<h3 class="mb-2 text-gray-50 text-lg font-semibold">Dashboard</h3>
<p>
The
<a
class="border-b-2 border-gray-200"
href="https://github.com/dashbitco/broadway_dashboard/"
>Broadway Dashboard</a
>
allows you to inspect your pipelines, see system parameters, and
find bottlenecks.
</p>
</div>
</div>
</section>
</div>
<!-- Background box -->
<div class="w-full px-4 bg-background-800 flex flex-col items-center">
<!-- Resources -->
<section
id="learn"
class="
py-10
lg:py-24
max-w-[1440px]
flex flex-col
space-y-12
items-center
"
>
<h2 class="relative">
<span class="text-8xl text-background-700 font-black">LEARN</span>
<span
class="
absolute
left-1/2
top-1/2
transform
-translate-x-1/2 -translate-y-1/2
whitespace-nowrap
text-3xl text-gray-50
font-semibold
"
>
Our resources
</span>
</h2>
<!-- Resources grid -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Resource card -->
<div
class="
p-10
flex flex-col
bg-background-900
rounded-2xl
border-2 border-background-600
"
>
<div class="h-[100px] mb-4 flex items-end">
<img src="/images/hex.png" alt="hex" height="90" width="90" />
</div>
<h3 class="mb-2 text-gray-50 text-xl font-semibold">Get started</h3>
<p class="gray-400">
Read our getting started guides or dive into Broadway's extensive
API reference and architecture.
</p>
<div class="flex-grow"></div>
<a
href="https://hexdocs.pm/broadway"
class="
mt-5
flex
space-x-2
items-center
text-lg text-broadway-700
font-medium
"
>
<span>See docs</span>
<i class="ri-external-link-fill text-lg leading-none"></i>
</a>
</div>
<!-- Resource card -->
<div
class="
p-10
flex flex-col
bg-background-900
rounded-2xl
border-2 border-background-600
"
>
<div class="min-h-[100px] mb-4 flex items-end">
<i class="ri-github-fill text-8xl leading-none"></i>
</div>
<h3 class="mb-2 text-gray-50 text-xl font-semibold">
Run the example
</h3>
<p class="gray-400">
Clone and run our example repository. It features a bike sharing
pipeline that reads from RabbitMQ and writes to PostgreSQL.
</p>
<div class="flex-grow"></div>
<a
href="https://github.com/dashbitco/broadway_bike_sharing_rabbitmq_example"
class="
mt-5
flex
space-x-2
items-center
text-lg text-broadway-700
font-medium
"
>
<span>See example repo</span>
<i class="ri-external-link-fill text-lg leading-none"></i>
</a>
</div>
<!-- Resource card -->
<div
class="
p-10
flex flex-col
bg-background-900
rounded-2xl
border-2 border-background-600
"
>
<div class="h-[100px] mb-4"></div>
<h3 class="mb-2 text-gray-50 text-xl font-semibold relative">
Get the book
<img
src="/images/book.png"
alt="Concurrent Data Processing in Elixir book"
height="190"
width="160"
class="
absolute
-right-6
bottom-8
md:right-0
md:bottom-0
border border-gray-300
"
/>
</h3>
<p class="gray-400">
Learn different ways of writing concurrent code in Elixir,
covering tools like GenStage and Broadway.
</p>
<div class="flex-grow"></div>
<a
href="https://pragprog.com/titles/sgdpelixir/concurrent-data-processing-in-elixir"
class="
mt-5
flex
space-x-2
items-center
text-lg text-broadway-700
font-medium
"
>
<span>Buy now</span>
<i class="ri-external-link-fill text-lg leading-none"></i>
</a>
</div>
</div>
</section>
</div>
<!-- Background box -->
<div class="px-4 lg:pr-0 w-full bg-background-900">
<!-- Case studies -->
<section
id="cases"
class="
py-10
lg:py-24
flex flex-col
lg:flex-row
align-between
items-center
w-full
"
>
<!-- Left (heading and description) -->
<div class="lg:w-7/12 flex justify-end">
<div
class="
max-w-[840px]
lg:pr-16
flex flex-col
items-center
lg:items-start
"
>
<h2
class="
text-3xl
lg:text-4xl
text-gray-50
font-light
leading-tight
lg:leading-tight
text-center
lg:text-left
"
>
Learn how companies use Broadway in production from the Elixir
website:
</h2>
<ul
class="mt-10 flex flex-col space-y-2 text-lg lg:text-xl font-thin"
>
<li class="flex space-x-1 items-center">
<i class="ri-arrow-right-line leading-none"></i>
<a
href="https://elixir-lang.org/blog/2020/10/27/delivering-social-change-with-elixir-at-change.org"
class="border-b-2 border-gray-200 text-gray-300"
>
Delivering Social Change with Elixir at Change.org
</a>
</li>
<li class="flex space-x-1 items-center">
<i class="ri-arrow-right-line leading-none"></i>
<a
href="https://elixir-lang.org/blog/2021/01/13/orchestrating-computer-vision-with-elixir-at-v7"
class="border-b-2 border-gray-200 text-gray-300"
>
Orchestrating computer vision with Elixir at V7
</a>
</li>
<li class="flex space-x-1 items-center">
<i class="ri-arrow-right-line leading-none"></i>
<a
href="https://elixir-lang.org/blog/2021/02/03/social-messaging-with-elixir-at-community"
class="border-b-2 border-gray-200 text-gray-300"
>
Social messaging with Elixir at Community
</a>
</li>
<li class="flex space-x-1 items-center">
<i class="ri-arrow-right-line leading-none"></i>
<a
href="https://elixir-lang.org/blog/2023/03/09/embedded-and-cloud-elixir-at-sparkmeter/"
class="border-b-2 border-gray-200 text-gray-300"
>
Embedded and cloud Elixir for grid-management at Sparkmeter
</a>
</li>
<li class="flex space-x-1 items-center">
<i class="ri-arrow-right-line leading-none"></i>
<a
href="https://elixir-lang.org/blog/2024/03/05/veeps-elixir-case/"
class="border-b-2 border-gray-200 text-gray-300"
>
Scaling streaming to hundreds of thousands of concurrent viewers at Veeps
</a>
</li>
</ul>
</div>
</div>
<!-- Right (website screenshot) -->
<div class="mt-10 lg:mt-0 lg:w-5/12 flex justify-end">
<!--
Note: on large screens we show clipped webpage glued to the right,
while on small screens we show the whole browser window in a separate line.
-->
<img
src="/images/elixir_website_clipped.png"
alt="elixir website"
height="580"
width="632"
class="rounded-l-xl hidden lg:block"
/>
<img
src="/images/elixir_website.png"
alt="elixir website"
height="580"
width="632"
class="rounded-lg block lg:hidden"
/>
</div>
</section>
</div>
<!-- Footer -->
<footer
class="
py-12
w-full
flex flex-col
items-center
space-y-3
border-t-2 border-gray-800
"
>
<div class="flex space-x-4">
<img src="/images/dashbit.svg" alt="Dashbit" height="30" width="30" />
<img src="/images/elixir.svg" alt="Elixir" height="30" width="30" />
</div>
<div class="flex flex-col items-center text-lg">
<span>
Made by
<a
href="https://dashbit.co"
class="border-b-2 border-gray-200 font-semibold"
>Dashbit</a
>
</span>
<span>
for the
<a
href="https://elixir-lang.org"
class="border-b-2 border-gray-200 font-semibold"
>Elixir Programming Language</a
>
</span>
</div>
</footer>
</body>
</html>