Python web-framework+db with the widest scalability?

Discussion in 'Python' started by Alec Taylor, May 12, 2012.

  1. Alec Taylor

    Alec Taylor Guest

    I am building a project requiring high performance and scalability, entailing:

    • Role-based authentication with API-key licensing to access data of specific users
    • API exposed with REST (XML, JSON), XMLRPC, JSONRPC and SOAP
    • "Easily" configurable getters and setters to create APIs accessing the same data but with input/output in different schemas

    A conservative estimate of the number of tables—often whose queries require joins—is: 20.

    Which database type—e.g.: NoSQL or DBMS—key-value data store or object-relational database—e.g.: Redis or PostgreSQL—and web-framework—e.g. Django, Web2Py or Flask—would you recommend?

    Thanks for all suggestions,

    Alec Taylor
    Alec Taylor, May 12, 2012
    #1
    1. Advertising

  2. Alec Taylor

    Guest

    Hi,

    From my experience while NoSQL databases are very fast and scalable, there is lack of _good_ support for popular frameworks. I've try with django and mongoengine, but results was poor. In my company we're building now large api-driven application with django and postgresql as a base. Django has two great api engines - piston and tastypie. Consider looking to nosql eg. mongodb as caching engine and session storage. Django is mature and stable framework, it has some limitations but there are good and documented use cases for doing almost everything You may need. Look also at server layer - popular apache and cgi-like solutions has very poor performance. Maybe You have use-cases to develop with messages queues like celery.

    W dniu sobota, 12 maja 2012 10:32:09 UTC+2 użytkownik Alec Taylor napisał:
    > I am building a project requiring high performance and scalability, entailing:
    >
    > • Role-based authentication with API-key licensing to access dataof specific users
    > • API exposed with REST (XML, JSON), XMLRPC, JSONRPC and SOAP
    > • "Easily" configurable getters and setters to create APIs accessing the same data but with input/output in different schemas
    >
    > A conservative estimate of the number of tables—often whose queries require joins—is: 20.
    >
    > Which database type—e.g.: NoSQL or DBMS—key-value data store or object-relational database—e.g.: Redis or PostgreSQL—and web-framework—e.g. Django, Web2Py or Flask—would yourecommend?
    >
    > Thanks for all suggestions,
    >
    > Alec Taylor
    , May 12, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wenning Qiu
    Replies:
    7
    Views:
    518
  2. Jeff Epler
    Replies:
    3
    Views:
    330
    Afanasiy
    Jul 10, 2003
  3. Simon Wittber (Maptek)

    RE: Embedding Python, threading and scalability

    Simon Wittber (Maptek), Jul 11, 2003, in forum: Python
    Replies:
    7
    Views:
    358
  4. Ron Lemire

    Web Service scalability?

    Ron Lemire, Oct 4, 2003, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    113
    Chris Botha
    Oct 5, 2003
  5. Jack Wright

    Perform Scalability test of Web Services

    Jack Wright, Apr 10, 2005, in forum: ASP .Net Web Services
    Replies:
    3
    Views:
    111
    Tomas Restrepo \(MVP\)
    Apr 14, 2005
Loading...

Share This Page