Giter Club home page Giter Club logo

linkin's Introduction

LinkIn

Ridiculously scaled social networking.

This is a project for Cloud and Data Management course at RIT. The idea is to place this application on Amazon Web Services and scale it so that it can handle a lot of requests. We'll be using techniques like sharding and master slave replication to horizontally scale the database. Then, to scale the application, all that is necessary is to create independent instances. Of course we're pre-optimizing for usage that will probably never exist, so don't take this as a serious implementation of social networking, but rather a test to see what is possible when scaling web applications.

This branch is just a plain old rails application with nothing special. Check out the master-slave and sharded branches for all the interesting scaling stuff.

linkin's People

Contributors

blatyo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chandni

linkin's Issues

ActiveRecord::ConnectionNotEstablished in User sessionsController#new

Hi, can you help me with this issue?
rails 2.3.8
db_charmer v1.6.12
authlogic v2.1.6

ActiveRecord::ConnectionNotEstablished in User sessionsController#new
You have to switch connection on your model before using it!

/home/woto/work/LinkIn/vendor/plugins/db-charmer/lib/db_charmer/stub_connection.rb:20:in method_missing' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1799:inadd_limit!'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1721:in construct_finder_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1578:infind_every'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1535:in find_initial' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:616:infind'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1910:in find_by_id' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1915:insend'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1915:in method_missing' /usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/scopes.rb:95:insend'
/usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/scopes.rb:95:in search_for_record' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:2178:inwith_scope'
/usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/scopes.rb:94:in send' /usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/scopes.rb:94:insearch_for_record'
/usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/cookies.rb:108:in persist_by_cookie' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:178:insend'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:178:in evaluate_method' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:166:incall'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:93:in run' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:92:ineach'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:92:in send' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:92:inrun'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:276:in run_callbacks' /usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/callbacks.rb:90:inpersist'
/usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/persistence.rb:55:in persisting?' /usr/lib/ruby/gems/1.8/gems/authlogic-2.1.6/lib/authlogic/session/persistence.rb:39:infind'
/home/woto/work/LinkIn/app/controllers/application_controller.rb:15:in current_user_session' /home/woto/work/LinkIn/app/controllers/application_controller.rb:20:incurrent_user'
/home/woto/work/LinkIn/app/controllers/application_controller.rb:33:in `require_no_user'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.