Crisp

Crisp๋Š” Cloudflare์˜ ๋ถ€ํ•˜ ๋ถ„์‚ฐ์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ณ ๊ฐ ๊ด€๊ณ„ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๊ธ€๋กœ๋ฒŒ ์„ฑ๋Šฅ์„ ๊ฐœ์„ ํ•ฉ๋‹ˆ๋‹ค.

Crisp is a SaaS based customer relationship application, providing customers with features such as a chat box, email replies, and an operator dashboard to quickly reply to customer queries. Crisp targets the unpenetrated markets of Eastern Europe, Asia, and the Middle East, where a customer relationship solution doesnโ€™t exist or customers are in need of replacing outdated and expensive legacy technology.

Crispโ€™s Challenge: Ensure Global Performance While Maintaining Local Infrastructure

Crisp๋Š” ํ™•์žฅ ๊ณผ์ •์—์„œ ๊ณ ๊ฐ์—๊ฒŒ ๊ณ„์†ํ•˜์—ฌ ๊ณ ์„ฑ๋Šฅ ํ”Œ๋žซํผ์„ ์ œ๊ณตํ•˜๋ฉด์„œ ์œ ๋Ÿฝ ๊ธฐ๋ฐ˜ ์ธํ”„๋ผ๋ฅผ ์œ ์ง€ํ•˜์—ฌ ์ถ”๊ฐ€ ์˜ค๋ฒ„ํ—ค๋“œ๋ฅผ ์ตœ์†Œํ™”ํ•˜๋ ค ํ–ˆ์Šต๋‹ˆ๋‹ค. Crisp์˜ CTO Valรฉrian Saliou๋Š” ์„ค๋ช…ํ–ˆ์Šต๋‹ˆ๋‹ค. โ€œ์ฑ„ํŒ… ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋™์  ์ฝ˜ํ…์ธ ๊ฐ€ ์‚ฌ์šฉ์ž์™€ ์œ ๋Ÿฝ์˜ ์„œ๋ฒ„ ์‚ฌ์ด๋ฅผ ์˜ค๊ฐ”๊ธฐ ๋•Œ๋ฌธ์—, ์ฒ˜์Œ์— ์•„์‹œ์•„์˜ ๋Œ€๊ธฐ ์‹œ๊ฐ„์— ๋งŽ์€ ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ์ฒซ๋‚ ๋ถ€ํ„ฐ Cloudflare์˜ CDN์„ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค. ๋ช‡ ์ดˆ ๋งŒ์— ์ •์  ์ž์‚ฐ ์ œ๊ณต์„ ๊ฐœ์„ ํ•˜๋Š” ๋ฐ ์ฆ‰์‹œ ๋„์›€์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์œ ๋Ÿฝ ์ธํ”„๋ผ๋ฅผ ์œ ์ง€ํ•  ์ˆ˜ ์žˆ๋Š” ์†”๋ฃจ์…˜์„ ํ†ตํ•ด ๋™์  ์ฝ˜๏ฟฝ๏ฟฝ๏ฟฝ์ธ  ์ œ๊ณต์„ ์ตœ์ ํ™”ํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์—ฌ์ „ํžˆ ํ•„์š”ํ–ˆ์Šต๋‹ˆ๋‹ค.โ€

crisp-avg-load-time

Crispโ€™s Solution: A Cloud-Based, Global Load Balancer

When Crisp saw Cloudflareโ€™s Load Balancing Early Access offering, they opted into the program to see if they could leverage it to help with the latency they were seeing with dynamic content. Cloudflareโ€™s Global Load Balancing routes Crispโ€™s customers to the origin server closest to them, which not only shortens the distance content needs to travel, but also allows for cryptographic termination closer to the end userโ€”ensuring minimal latency for the end user. The results were better than Crisp couldโ€™ve hopedโ€” โ€œWhen we rolled out Cloudflare Load Balancing,โ€ Saliou explained โ€œto route traffic across our atlas of websocket servers (tunneled into our core infrastructure through a VPN), we immediately got messages from customers in Asia and Oceania thanking us for the improvement.โ€ With Load Balancing, Crisp saw latency times of their dynamic content drop an additional 2-3 seconds . Plus, with Health Checks and Failover built into Cloudflare Load Balancing, Crispโ€™s customers enjoy continual unfettered performance through Crispโ€™s ability to monitor the health of their websocket servers and automatically shift traffic to healthy servers when a server is experiencing poor performance.

Crisp๋Š” API๋ฅผ ๊ณต๊ฐœ ๋ฐฐํฌํ•  ๋•Œ๋„ Cloudflare์˜ Page Rules ๋ฐ DDoS ๋ฐฉ์–ด ํšจ๊ณผ๋ฅผ ๋ˆ„๋ ธ์Šต๋‹ˆ๋‹ค. Saliou๋Š” โ€œCache Everything์œผ๋กœ ๊ธฐ๋ณธ ์„ค์ •ํ•˜์—ฌ ๋Œ€์—ญํญ์„ ์ค„์ธ ํ›„ Page Rules๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ API์— ๋Œ€ํ•œ ์˜ˆ์™ธ์™€ ํŠน์ • ์„œ๋น„์Šค์— ๋Œ€ํ•ด ๋‹ค์–‘ํ•œ TTL์„ ์ง€์ •ํ–ˆ์Šต๋‹ˆ๋‹คโ€๋ผ๊ณ  ์„ค๋ช…ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋”๋ถˆ์–ด Crisp๋Š” Cloudflare์˜ DDoS ๋ฐฉ์–ด๋กœ API๋„ ๋ณดํ˜ธํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. Saliou๋Š” โ€œํ˜„์žฌ๊นŒ์ง€ I'm Under Attack ๋ชจ๋“œ๋กœ, API๋ฅผ ์ฐจ๋‹จํ•˜๋ ค๋Š” ๋‘ ๋ฒˆ์˜ ๊ณต๊ฒฉ์„ ์ฐจ๋‹จํ–ˆ๊ณ  ์ „ํ˜€ ์„œ๋น„์Šค ์žฅ์• ๊ฐ€ ์—†์—ˆ์Šต๋‹ˆ๋‹คโ€๋ผ๊ณ  ๋งํ–ˆ์Šต๋‹ˆ๋‹ค.

Saliou๋Š” โ€œ์˜์‚ฌ ๊ฒฐ์ •์— ์ค‘์š”ํ•œ ์š”์†Œ์ธ ๋น„์šฉ์„ ๊ณ ๋ คํ•˜์ง€ ์•Š์•˜์ง€๋งŒ Cloudflare๋Š” ์„œ๋น„์Šค, ์˜จ๋ณด๋”ฉ, ์‚ฌ์šฉ ํŽธ๋ฆฌ์„ฑ ๋ฉด์—์„œ ๊ฒฝ์Ÿ์‚ฌ๋ฅผ ์—ฌ์ „ํžˆ ์•ž์ง€๋ฅด๊ณ  ์žˆ์Šต๋‹ˆ๋‹คโ€๋ผ๊ณ  ๊ฒฐ๋ก  ์ง€์—ˆ์Šต๋‹ˆ๋‹ค.

๊ด€๋ จ ์‚ฌ๋ก€ ์—ฐ๊ตฌ
์ฃผ์š” ๊ฒฐ๊ณผ

Global Load Balancing๋Š” ๊ตญ์ œ ๊ณ ๊ฐ์˜ ๋Œ€๊ธฐ ์‹œ๊ฐ„์„ 2~3์ดˆ ๋‹จ์ถ•ํ•จ

I'm Under Attack ๋ชจ๋“œ๋Š” ์–ด๋– ํ•œ ์„œ๋น„์Šค๋„ ์ค‘๋‹จํ•˜์ง€ ์•Š๊ณ  DDoS ๊ณต๊ฒฉ์„ ์™„ํ™”ํ•จ

๋กœ์ปฌ ์ธํ”„๋ผ๋ฅผ ์œ ์ง€ํ•˜๋ฉด์„œ๋„ ํ•ฉ๋ฆฌ์ ์ธ ๋น„์šฉ์œผ๋กœ ์ „ ์„ธ๊ณ„์ ์œผ๋กœ ํ™•์žฅํ•จ

โ€œCloudflare๋กœ Crisp์˜ ์„œ๋น„์Šค ํ’ˆ์งˆ์„ ๊ทน๋Œ€ํ™”ํ•˜๊ณ  ์„œ๋น„์Šค ์‘๋‹ต ์‹œ๊ฐ„์€ ์ตœ์†Œํ™”ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋•๋ถ„์— ๊ณ ๊ฐ€์˜ ๋„คํŠธ์›Œํฌ ์ธํ”„๋ผ๊ฐ€ ๋Œ€์ค‘๋“ค์—๊ฒŒ ์ƒ์šฉํ™”๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด์ œ Cloudflare ์—†๋Š” ๋น„์ฆˆ๋‹ˆ์Šค๋Š” ์ƒ์ƒ๋„ ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.โ€

Valรฉrian Saliou
CTO