hello group I have built cloudflare worker with hono. I would like to add authentication Bearer Auth with usage, for example user can hit only 100k/monthly endpoint. Whats the best way to do that? Should I go with KV or Durable objects to store API Keys + usage? Or is there better way to do that?
KV is eventually consistent and can only be written to the same key 1 time per second. DO is strongly consistent and can have hundreds to thousands of hits a second
Or something purely written on JS and not a wrapper on top of something like C++ which is basically what Argon2 is. Not sure what Bcrypt uses but that is what is used by Lucua Auth @Puliczek
Say I want to have a DO that polls an endpoint for new data. I then want to have a worker that allows the user to stream events using SSE, getting a new event every time the DO finds new data. What's the simplest way to connect those two things together? Do I need to have the worker consume a websocket from the DO in order to get updates?
I was looking on the Cloudflare api documentation and I couldn’t find what I was thinking of. When you view the dashboard and click on your worker and you can see the total amount of requests, errors sub requests etc, is it possible to get this info through a request? (Pls ping if you answer)
The GraphQL Analytics API provides data regarding HTTP requests passing through Cloudflare’s network, as well as data from specific products, such as …
A good amount of Cloudflare features are internal workers too: https://blog.cloudflare.com/building-cloudflare-on-cloudflare Like Zaraz, Cloudflare Challenges, Waiting Room, Image Resizing, Images, Mirage, Rocket Loader, etc. All Cloudflare Pages requests go through a worker too
Hello anyone can you please help me I forgot my email which I have used for cloudflare, my domain purchased from godaddy and in name server I have cloudflare name servers, so I want to know my cloudflare email, can you please guide me how to get email