c++ - Handling many connection by Python -
i've client/server application. client app coded on c++. on linux have server program. server handle thousands of users , millions of requests , thousands of users 24/7 connected server , many of data written memory (not required)
first of all, looked real studio
. offer linux targetted builds. it's language basic. discover python 3
stable , friendly.
also discover python has server_forever()
method , if gives error during connection, python won't close process, instead, continued accept next connections. flexible.
but mentioned before, handle thousands of users @ same time , millions of requests. such application, should trust python? can python handle such requests?
you may assume program coded very-well , take care of handler.
should use realstudio machine code or c++?
similar question here has different direction.
for me, using python, real studio or c++ isn't problem. liked python. not sure if should go scripted
python language or using direct machine code.
what suggestion?
based on elaborations in comments, should okay python, , since sounds if python preferred option, i'd go that.
python language prototyping, since terse syntax, native container types, , comprehensive built-in library lets put reasonably complex programs in small amount of time compared many other languages.
there's no substitute practical testing though, i'd recommend building small prototype of server , stress-test see how copes sort of loads you're expecting in production.
Comments
Post a Comment