-1

Lets assume I am using Flask and MongoDB and host everthing on AWS and I am building a Twitter clone. I have one small instance for front-end, one large instance for back-end and one database instance.

So can someone please explain the idea to have 'separate' module on two different servers?

Thanks in advance

Afeez Aziz
  • 1,337
  • 2
  • 12
  • 26
  • 1
    The question/the problem is? Should we split your code without knowing it? –  Sep 06 '12 at 11:57
  • The [documentation](http://flask.pocoo.org/docs/patterns/packages/) offers some hints. – Burhan Khalid Sep 06 '12 at 12:07
  • 1
    What i meant is that i am trying to figure out how an application being spread out on multiple servers. @esaelPsnoroMoN Please do not be so condescending. I am a noob and trying to learn. – Afeez Aziz Sep 06 '12 at 12:13

1 Answers1

2

You can have a look at this project on github: https://github.com/givp/Flask-MongoDB-Project

This similar SO question: How to organize a relatively large Flask application?

And this wiki page: https://github.com/mitsuhiko/flask/wiki/Large-app-how-to

Community
  • 1
  • 1
Gianfranco P.
  • 10,049
  • 6
  • 51
  • 68