Compatibility with workers
Hey, is it possible to code a telegram bot using cloudflare workers and prisma postgres - accelerate? using bun as a runtime
I'm struggling to do that and I'm starting to have compatibility doubt
Thanks
4 Replies
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into
#ask-ai
for a quick spin!Hey Brandon 👋
Can you please let us know the error you are getting?
Does the telegram bot need to maintain a persistent websocket connection? If yes, Cloudflare workers might not be a good fit
Hello thanks for answering
I'm not getting any kind of errors, about the bot it needs to be online 24/24 and have the lowest latency - it's for blockchain interaction and distributed systems
Do you think that the tech stack isn"t valid for this kind of usage?
If your bot needs to be available 24 hours a day, I would recommend using a long running server instead of serverless functions like Cloudflare workers, AWS Lambda functions etc