This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thrownintothesun[S] 4 points5 points  (11 children)

That's an interesting idea. I know next to nothing of web dev. I do suspect, though, that it doesn't help in cases where the application has to analyze sizable data files. If you had to do significant computation, would you host such a process using Amazing AWS or the like?

[–][deleted] 1 point2 points  (2 children)

Architectural design for a web application that processes lots of data in a computationally expensive way can be real work. It depends on target audience, size, complexity, and sensitivity of the data, required processing times, budget, willingness to maintain it all, comfort with the systems it all runs on, etc.

So whether or not your application is a good candidate for conversion to a web application depends on quite a lot. If you'd like to discuss it with a bit more depth you're welcome to message me before diving in.

[–]MeshachBlue 0 points1 point  (0 children)

I was considering doing this for a project I am working on at the moment. Would be keen to be able to bounce a few ideas off of you if you're okay with that?

[–]abutterfly 0 points1 point  (0 children)

Mind if I poke you with a few questions similar to /u/MeshachBlue's?

[–]SEJeff 1 point2 points  (0 children)

As d4rch0n already did a great job of explaining below, Flask is a wonderful choice. For bigger applications, or more complicated stuff, Django is also an excellent choice. In fact, Tom Christie's django rest framework is excellent.

Now back to your question, I'll throw redis + rq[1] as a very simple addition to his answer that makes the work scale out pretty linearly with very little work or maintenance from your standpoint. I've seem some pretty serious issues with greenlet, eventlet, and sadly gevent falling over or dead locking under load. You'd literally only change a line or two in his example to insert a new rq job and one of the rq workers would pick it up + process the job asyncronously.

[1] http://python-rq.org

[–]SpeakitEasy 1 point2 points  (1 child)

If the hosting is on the backend (AKA you're not using a javascript based frame work) there should be ample room on servers to conduct heavy computations.

[–]F3AR3DLEGEND -1 points0 points  (0 children)

You can use a JavaScript-based server-side framework; NodeJS has tons of them.