Hacker News new | ask | show | jobs
by ccouzens 1507 days ago
I've got a Fastly compute@edge service. My state is relatively small (less than a MB of JSON) and only changes every few hours. So I compile the state into the binary and deploy that.

I can share a blog post about this if there is interest.

It gives us very good performance (p95 under 1ms) as the function doesn't need to call an external service.

1 comments

would love to hear more about how you're doing this, been poking at the idea but haven't seen a running example documented
https://medium.com/p/302f83a362a3

There's a heading "This is how we made it fast" about 1/3 of the way down if you'd like to skip the introduction and background.