Ruby on Rails Thursday, April 28, 2011

Hi Ken,

On Thu, Apr 28, 2011 at 9:39 AM, egervari <ken.egervari@gmail.com> wrote:
> I have a program I'd like to write and I'd like to get off of Java and
> start using something more productive. I have played around with
> Rails, and I think I could the same app in a fraction of the time.

Welcome! I think you wouldn't have to look far to find any number of
ex-Java developers on this list who could provide you with personal
experience supporting your thinking. ;-)

> There's one part of the app though that I am not if Rails/Ruby would
> be a good fit... so I'd like to get some expert advice on this one
> portion.
>
> There's one part of the application that needs to check a thesaurus
> about 100 or 200 times per request. There might be a lot of these
> requests. There is also a grammar checker that is going to be used
> (although I need to find one that works with Ruby).
>
> I can imagine that these are some very expensive requests. In the java
> world, I can simply put the thesaurus and grammar checker (with rules)
> entirely in memory as Java beans in a spring container. When the app
> starts up, we initialize these two services and they just stay in
> memory, waiting for requests.

I, too, will recommend a hybrid approach, though I suggest looking at
an IMDB approach to the shared thesaurus. Here's a link to one
approach that looks ready-made for integration with a RoR app.
http://www.themomorohoax.com/2009/03/15/activerecord-sqlite-in-memory-db-without-rails

HTH,
Bill

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment