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

    Erisa | Support Engineer

    11/16/2021, 10:12 PM
    oh wait for incoming i do see why not
  • w

    William | Chaos Management

    11/16/2021, 10:13 PM
    ssh server on workers
  • w

    Walshy | Pages

    11/16/2021, 10:13 PM
    Request time, cache API hit rate and read time also still to come
  • w

    Walshy | Pages

    11/16/2021, 10:13 PM
    But pretty cool
  • e

    Erisa | Support Engineer

    11/16/2021, 10:13 PM
    but any sane service will accept alternate ports anyway so if incoming to worker is only predefined ports then thats okay
  • e

    Erisa | Support Engineer

    11/16/2021, 10:13 PM
    👀
  • w

    William | Chaos Management

    11/16/2021, 10:14 PM
    so i could make an ssh server on workers
  • w

    William | Chaos Management

    11/16/2021, 10:14 PM
    hahhahahahahhahahahahha
  • e

    Erisa | Support Engineer

    11/16/2021, 10:15 PM
    if you wanted to implement the entire ssh protocol, yes
  • e

    Erisa | Support Engineer

    11/16/2021, 10:15 PM
    not sure where youre going to send the inputs though
  • w

    William | Chaos Management

    11/16/2021, 10:15 PM
    or i could find a npm module that does that for me and adapt it to use the sockets api
  • e

    Erisa | Support Engineer

    11/16/2021, 10:16 PM
    yeah
  • e

    Erisa | Support Engineer

    11/16/2021, 10:16 PM
    you cant eval anything on workers though so unless you just want to send back a meme or something there isnt much you can do
  • e

    Erisa | Support Engineer

    11/16/2021, 10:16 PM
    though i guess you could bridge sftp/scp to KV if you wanted
  • w

    William | Chaos Management

    11/16/2021, 10:17 PM
    cant i make it run javascript code in the worker and return that
  • e

    Erisa | Support Engineer

    11/16/2021, 10:18 PM
    no because you cant eval in workers
  • w

    William | Chaos Management

    11/16/2021, 10:18 PM
    oh right
  • w

    William | Chaos Management

    11/16/2021, 10:18 PM
    so id need to find a way to do what eval does but without eval
  • e

    Erwin

    11/16/2021, 10:19 PM
    Also.. don't want to be the bearer of sad news, but socket workers are not really around the corner just yet.. 🙂
  • e

    Erisa | Support Engineer

    11/16/2021, 10:19 PM
    youd have to program in specific functions, and at that point youre making your own weird language
  • w

    William | Chaos Management

    11/16/2021, 10:19 PM
    at that point just make commands that do what you want
  • e

    Erisa | Support Engineer

    11/16/2021, 10:20 PM
    well yeah thats what i mean i think
  • e

    Erisa | Support Engineer

    11/16/2021, 10:20 PM
    its okay, we know, just discussing silly possibilities
  • e

    Erwin

    11/16/2021, 10:21 PM
    Oh, I love myself some silly ideas.. just didn't want people to be disappointed that they won't get Socket Workers for Christmas 🙂
  • w

    William | Chaos Management

    11/16/2021, 10:21 PM
    I'm sure someone is gonna try to make this
  • t

    threepointone

    11/16/2021, 10:22 PM
    well the answer is clear
  • t

    threepointone

    11/16/2021, 10:22 PM
    I need to ship a js runtime inside a worker
  • t

    threepointone

    11/16/2021, 10:22 PM
    so I can eval javascript in my javascript
  • w

    William | Chaos Management

    11/16/2021, 10:22 PM
    node js in a worker can eval
  • w

    William | Chaos Management

    11/16/2021, 10:22 PM
    yes
1...91011...4267Latest