https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • e

    edward

    04/05/2023, 8:38 AM
    Hey, a perhaps stupid question, but is it possible to have the "normal" cloudflare proxy in front of a worker, so that caching and such can be handled that instead of being implemented in the worker?
  • h

    HardAtWork

    04/05/2023, 8:39 AM
    No
  • h

    HardAtWork

    04/05/2023, 8:39 AM
    Or at least not on a single zone/account
  • e

    edward

    04/05/2023, 8:42 AM
    Thanks šŸ‘
  • d

    dave

    04/05/2023, 1:38 PM
    One "workaround" is to have your Worker listen on a wildcard route with a random string as the subdomain
  • d

    dave

    04/05/2023, 1:39 PM
    if you do that plus have no robots headers set, you'll have very few scanners cluttering your logs
  • d

    dave

    04/05/2023, 1:43 PM
    Why are Workers limited to only 6 simultaneous outgoing requests?
  • d

    dave

    04/05/2023, 1:44 PM
    I have a cool S3 endpoint auto-picker (based on "real" latency), but it's a bummer that I can only test 6 endpoints at once.
  • d

    dave

    04/05/2023, 1:44 PM
    64 connections would be perfect (~32 for uploading a test file, and the same for downloading)
  • h

    HardAtWork

    04/05/2023, 1:56 PM
    Expensive You could probably ask your CSM to up the concurrent request limit, if you are willing to pay
  • h

    HardAtWork

    04/05/2023, 1:56 PM
    Or use DurableObjects
  • d

    dave

    04/05/2023, 1:57 PM
    pay with like money?
  • h

    HardAtWork

    04/05/2023, 1:58 PM
    With your soul /s but yes, money
  • d

    dave

    04/05/2023, 2:00 PM
    are my odds close to zero if I don't pay?
  • h

    HardAtWork

    04/05/2023, 2:02 PM
    If you have a CSM, no. If you don’t, probably yes
  • h

    HardAtWork

    04/05/2023, 2:03 PM
    But again, you can use DOs
  • h

    HardAtWork

    04/05/2023, 2:03 PM
    Should be able to get 64 connections like that
  • s

    SeriousMax3

    04/05/2023, 2:10 PM
    Hello, I'm looking forward to being included in the private beta testing of tsp workers so that I can start developing the code already. I understand that you have many requests, but is it possible to include me in this testing? The application for testing the function was sent on March 31
  • d

    dave

    04/05/2023, 2:12 PM
    Aren't DOs still limited to 6 requests?
  • h

    HardAtWork

    04/05/2023, 2:12 PM
    Yes, but you can spawn multiple in parallel
  • d

    dave

    04/05/2023, 2:16 PM
    hmm my concern is that in itself will cause latency.
  • h

    HardAtWork

    04/05/2023, 2:17 PM
    I don’t think there is much else you can do? Maybe a service binding?
  • x

    xinny

    04/05/2023, 2:40 PM
    If an IP blocked users in WAF sends a request to workers, will that request be counted as 1 used request?
  • c

    Chaika

    04/05/2023, 2:42 PM
    WAF (and IP Access Rules) run before Workers, so it wouldn't count, the worker wouldn't be executed
  • c

    Chaika

    04/05/2023, 2:43 PM
    You can see on the right hand side of some pages like WAF (if you have enough screen space), the traffic sequence
  • g

    GmHs

    04/05/2023, 4:09 PM
    Hi Can I use D1 or KV as remote database for myapp outside cloudflare?
  • c

    chientrm

    04/05/2023, 4:10 PM
    write api for them using plain worker or adapt from other frameworks.
  • g

    GmHs

    04/05/2023, 4:32 PM
    > write api for them using plain worker or adapt from other frameworks. @chientrm If I have for example Laravel app, can I use d1 or kv as database for my app?
  • c

    chientrm

    04/05/2023, 4:34 PM
    nope 😐
  • c

    chientrm

    04/05/2023, 4:35 PM
    you can use wrangler to write module worker or find a framework that allow using cf worker resources like D1.
1...237823792380...2509Latest