© 2026 Hedgehog Software, LLC

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

How to make a worker call itself and verify that the call came from that same worker

Hello!
Sometimes I have to run quite big functions that take longer than 10 ms of CPU time. That's why I was wondering if it's possible for a worker to call itself to "split" the request in a few smaller request (that would fix the CPU time issue right?).

I guess it is possible with service bindings (can I bind a worker to itself?) but is it possible to make sure that the request came from the same worker? I wouldn't want someone to find the URL and be able to call the parts of the functions...
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

How to call a Worker from another Worker (403)
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Can a worker (with a router) call itself?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Can an external http client make an RPC call to a Worker?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
how to get the worker duration in a tail worker
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago