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

  • SEARCH
  • Home
  • 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 7684653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:04:37+00:00 2026-05-31T19:04:37+00:00

my projects deals with a client / server structure where the clients provide status

  • 0

my projects deals with a client / server structure where the clients provide status information via a soap interface in a periodically way. every request (1 per minuete) contains a complex stucture of stat us data.

status information is used by many views and instead fetching the information each time from database i store the data in a sychronized list.

are there better caching techniques in grails? are sychronized lists a good solution?

  • 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-31T19:04:38+00:00Added an answer on May 31, 2026 at 7:04 pm

    This seems more like a generalized question so I’ll provide some generalized thoughts form my own experience.

    Are there better caching techniques in grails? are sychronized lists a good solution?

    There may be several layers of cache depending on what your dealing with. I don’t believe bare-bones grails itself caches anything with regard to your question however; there are configurable options and plugins that allow you to cache everything from queries, domain classes, service calls, page fragment, images, css and just about everything else. Not to mention your database and other layers may have their own cache options.

    Having said that I would avoid using your own caching techniques unless your dealing with a very specific issue where you know you can perform better than a more generic approach like a second level cache (ie EHCache).

    If you do roll your own cache you’ll want to be aware of everything else that might be caching the same content as well. Caching a cached object form a cached query is a tough one to debug.

    If performance is your concern you should always do some bench marking before you change anything. To truly get the best performance out of anything you’ll need to understand how it works. Grails, hibernate and spring work together on performance and this isn’t anything I can put in few sentences but there are plugins that can help you understand what is going on beyond the scenes like JavaMelody.

    Lastly, if you already built something that works and everyone’s happy don’t break it. 🙂

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

Sidebar

Related Questions

I'm trying to use svn 1.6 with my Xcode projects on lion. The server
I'm looking for a good, high-level python ftp client/server library. I'm working on a
As a freelance developer I deal with clients mostly by contacting them via email/im.
I've done a lot of small projects on the side lately where the client
I read what-payment-structure-do-you-use-for-small-projects and I wonder how you guys are dealing with bug vs.
I have a solution that contains a good deal of projects, I would like
I've worked on a couple of projects where we spent a great deal of
So here's the deal. I've got my solution which has a few projects in
Every software development professional (and especially project managers) has to deal with a never
Projects have many tasks and a task has a custom RESTful action called 'approve'.

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.