© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
4 replies
F0rce

Logging Service Best Practice (Service Workers)

Hello everyone, I want to build something with workers and I am not sure if it works out, thats why im asking POGGIES

Basically I have some workers and I want to add some oberservability to it. I would like to use Service Bindings for that. Now here's the question I have. I have the following in mind.

Request is made to Worker One (availible online). It does it normal job does some additional "pre-parsing" for the logger (saving some request headers / response headers).
The request where the original reqeust is made to does a subrequest (through a Service Binding) to the logger worker. Due to limitation of our log provider (axiom) I would not be able to ingest every request when it happens.

How would I have to build the logger service, that it throttles the requests made ? or is there a better solution to what I'm thinking. I'm open for all sorts of "help".

What would the best practices be for that sort of case. KV ? Durable Objects ? A cron that iterates the KV keys... etc.

Thanks blob_wave
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

best practice for composing workers?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Custom Routes - Best Practice for Workers as Microservices
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Workers not logging objects
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Best practice for local development with multiple workers using RPC bindings?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago