P
Prisma•2mo ago
brandon

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
Prisma AI Help
Prisma AI Help•2mo ago
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!
Nurul
Nurul•2mo ago
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
brandon
brandonOP•2mo ago
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?
Nurul
Nurul•2mo ago
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

Did you find this page helpful?