Implementing In-memory Caches in Haskell
Вставка
- Опубліковано 10 лют 2025
- by Jasper Van Der Jeugt
www.meetup.com...
Caches come in all sorts of shapes and sizes. They appear in lots of layers, from low-level backend services, to fetched assets in the frontend, and anywhere in between. Especially in larger organizations, they are often extremely application-specific, which results in programmers throwing something together in a bunch of places.
In this talk, I'll talk about in-memory caching in Haskell. We will focus on the psqueues library, and we will talk about some of the interesting algorithms powering it. Then, we'll see how we can use this data structure to build a number of custom caches, from simple ones we can use in pure code to fast concurrent ones.
There should be something in this talk for everyone, both beginners and people who have a bit more experience with Haskell.
Bio:
Jasper Van der Jeugt is a Principal Engineer at Fugue, Inc. He loves Haskell and works on detection and automatic remediation of cloud infrastructure issues. Before that, he worked at e-learning and finance startups and applied Haskell to those domains.
He is a prolific open source contributor and authors a number of Haskell libraries and applications, ranging from web programming and high-performance libraries to presentation software and code prettifiers. He also organizes Haskell community events such as Summer of Haskell and ZuriHac. - Наука та технологія