Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6684883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:59:29+00:00 2026-05-26T04:59:29+00:00

I would like to know whether Redbean ORM can be used for performance oriented

  • 0

I would like to know whether Redbean ORM can be used for performance oriented scenarios like social networking web apps or no and is it stable even if thousands of data are pulled by multiple users at same time. Also I’d like to know whether Redbean consumes more memory space.

Can anyone offer a comparison study of Doctrine-Propel-Redbean?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:59:30+00:00Added an answer on May 26, 2026 at 4:59 am

    @tereško if tis possible, can you give the pros and cons of orm with respect to pure sql according to your experience and also i will google the topic at same time. – Jaison Justus

    Well .. explaining this in 600 characters would be hard.

    One thing I must clarify: this is about ORMs in PHP, though i am pretty sure it applies to some Ruby ORMs too and maybe others.

    In brief, you should avoid them, but if you have to use an ORM, then you will be better of with Doctrine 2.x , it’s the lesser evil. (Implements something similar to DataMapper instead of ActiveRecord).

    Case against ORMs

    The main reason why some developers like to use ORMs is also the worst thing about them: it is easy to do simple thing in ORM, with very minor performance costs. This is perfectly fine.

    1. Exponential complexity

    The problem originates in people to same tool for everything. If all you have is a hammer (..) type of issue. This results in creating a technical debt.

    At first it is easy to write new DB related code. And maybe, because you have a large project, management in first weeks (because later it would case additional issues – read The Mythical Man-Month, if interested in details) decides to hire more people. And you end up preferring people with ORM skills over general SQL.

    But, as project progresses, you will begin to use ORM for solving increasingly complex problems. You will start to hack around some limitations and eventually you may end up with problems which just cannot be solved even with all the ORM hacks you know … and now you do not have the SQL experts, because you did not hire them.

    Additionally most of popular ORMs are implementing ActiveRecord, which means that your application’s business logic is directly coupled to ORM. And adding new features will take more and more time because of that coupling. And for the same reason, it is extremely hard to write good unit-tests for them.

    2. Performance

    I already mentioned that even simple uses of ORM (working with single table, no JOIN) have some performance costs. It is due to the fact that they use wildcard * for selecting data. When you need just the list of article IDs and titles, there is no point on fetching the content.

    ORMs are really bad at working with multiple tables, when you need data based on multiple conditions. Consider the problem:

    Database contains 4 tables: Projects, Presentations, Slides and Bulletpoints.

    • Projects have many Presentations
    • Presentations have many Slides
    • Slides have many Bulletpoitns

    And you need to find content from all the Bulletpoints in the Slides tagged as “important” from 4 latest Presentations related to the Projects with ids 2, 4 and 8.

    This is a simple JOIN to write in pure SQL, but in any ORM implementation, that i have seen, this will result in 3-level nested loop, with queries at every level.


    P.S. there are other reasons and side-effects, but they are relatively minor .. cannot remember any other important issues right now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HI, I would like to know whether particpating in social networking sites and placing
I would like to know whether there is a jQuery function which can check
i would like to know whether i can schedule the timer again after i
I would like to know whether it is possible to force LWP::UserAgent to accept
I have a asp.net page, and would like to know whether script1 is already
Accuracy Vs. Precision What I would like to know is whether I should use
I would like to know if I can open 2 different diagrams using MS
I would like to know whether this is the correct way of hiding visible
I would like to know whether WinInet or WinHttp will get webpage contents quickly
I would like to know whether the usage of Attributes in .Net, specifically C#,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.