Questions tagged [twisted]
Event-driven networking engine written in Python.
5 questions
10
votes
1
answer
850
views
Decoding custom packets with Python using Twisted
This server require fast decoding of packets from clients, as I am expecting 5000 concurrent clients that is sending packets possibly every second. This is a game server (5000 players walking send ...
5
votes
1
answer
167
views
Basic web app that returns a JSON of information
My web application can take URL-encoded strings and return a JSON that contains information, like API calls.
My main concerns are with security. I need a cheap and easy (but secure) way to do certain ...
5
votes
1
answer
206
views
Twisted Internationalization
I'm not particularly Python savy and recently wrote a LocalizationEngine for Twisted.
The strategy I implemented was to make a ...
4
votes
1
answer
2k
views
File-serving Twisted resource
I've just written this Twisted resource base class for serving files. It's part of a larger application, this is just for serving its images, JavaScript files, etc.
Is it okay? I wonder if checking ...
3
votes
1
answer
6k
views
Simple REST API server
This is a chunk of code I wrote for a job interview at some point - it is a remote key-value storage REST API supporting CRUD operations.
Maybe anyone has some feedback on this? It would be very ...