Please Login with your Salesforce ID to post, promote or comment.
Salesforce IdeaExchange
FAQs | Terms of Use8282 Ideas; Promoted 177418 Times; 17086 Comments.
- Suggest a New Product Concept
- Promote Ideas That You Want to See Developed
- Discuss With Product Managers and Other Users
- See What We Are Planning To Deliver
Integration Comments
| Integration Ideas
|
Web Services API Comments
| Web Services API Ideas
|
Force.com Platform Comments
| Force.com Platform Ideas
SalesForce needs better integration with Ruby on Rails
The current ActiveSalesForce Gem does not allow Ruby to make a good connection with SalesForce in the same manner as the pyax library does for Python and this is a huge problem for Ruby on Rails developers. (See also https://launchpad.net/pyax/)
With pyax I am able to process SOQL Statements through SalesForce very quickly (faster than 240 ms per query) however Ruby on Rails is not able to achieve this same level of performance.
Maybe someone needs to port the SalesForce Beatbox to Ruby (http://code.google.com/p/salesforce-beatbox/)
|
agluewvrs Jul 9 |
I'm not a developer but I know that ruby on rails is sweet so whatever makes it work faster/better/stronger with SFDC is good. All hail developers! :) |
|
dchasman Jul 12 |
I have been working on building out an actual team for the ASF open source project (I have been the only developer since creating ASF purely as a labor of love 2 years ago) and one of the things we are focusing on right now is improving performance. ASF depends on a library called RForce for its basic SOAP stack and performance profiling has identified that library as an area that we have been able to demonstrate almost a 20X improvement in throughput by switching from the current REXML parser to an expat-based one. Look for this and a number of other enhancements coming soon! Once we get performance where we want it to be with the current implementation we are planning to leverage a number of important salesforce.com api enhancements (e.g. api joins) and concepts like namespaces that just plain did not even exist when ASF was first developed. Finally, expect to see ASF become better integrated with the Rails stack and reach greater parity with its RDBMS backed cousins in areas such as migrations and test fixtures. |
|
dchasman Jul 12 |
... also I believe that the closest apples-to-apples feature/performance comparison would be between pyax (pyax is certainly much more structure and complete) and rforce - these 2 libraries both act as a direct mapping to the salesforce api but ASF is integrating into a complex Model/View/Controller framework which introduces its own additional overhead. If you're not using the MVC bits of Rails then both it and ASF by extension are adding quite a bit of bulk to your solution. With that said I do expect that with the performance improvements we're testing out now (remember we're seeing around 20 times the throughput on the api client side!) with the next version of rforce that we should see very similar performance characteristics between pyax and rforce. This should translate to a nice overall performance improvement for ASF. There is still some additional low hanging fruit in ASF itself - some of which we'll start picking off very soon. |
|
ian_dees Jul 12 |
Doug is right on target. Integrating the community speed updates for RForce (using a C-based XML parser instead of the built-in Ruby one) will give ActiveSalesforce a big boost. (I'm the original author of RForce.) |
|
AlexCRMmanager Jul 14 |
If any Ruby/Ruby on Rails developers out there want to be involved with the ActiveSalesforce project, please join us at: http://github.com/luigi/activerecord-activesalesforce-adapter/ http://groups.google.com/group/activesalesforce We will be posting updates and information frequently in both of those venues as ActiveSalesforce is improved and expanded! |
Please log in to post a comment
recently promoted by:
- bradcurrier
- JasonRogers
- ddeveloper
- AlexCRMmanager
- ian_dees
- dchasman
- agluewvrs
- rhorn04182008