JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-3785

Cache queues/topics looked up from JNDI

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.1.0
  • Fix Version/s: 2.2.8 (EE only), 3.1.2, 3.2.0
  • Component/s: Transport: JMS
  • Labels:
    None
  • User impact:
    Medium
  • Effort points:
    1
  • Affects Docs:
    Yes
  • Similar Issues:
    None

Description

The current implementation looks up a queue/topic from JNDI every time a message is being dispatched or received from it. We could cache the result of JNDI lookups and expose some JMX functionality to purge that cache

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. MULE-5507 Problems when using JMS with LDAP

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Improvement - An improvement or enhancement to an existing feature or task. MULE-3384 No way to look up queue/topic via JNDI for Mule 2.0

  • Blocker - Blocks development and/or testing work, production could not run.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Andrew Perepelytsya added a comment - 06/Oct/08 12:29 PM

Spring's jndi lookup factories already provide caching.

Show
Andrew Perepelytsya added a comment - 06/Oct/08 12:29 PM Spring's jndi lookup factories already provide caching.
Hide
Permalink
Dirk Olmes added a comment - 07/Oct/08 02:50 AM

Spring's JNDI stuff doesn't have retry functionality, however. And we cannot use Spring in core because it has to work spring-less.

Show
Dirk Olmes added a comment - 07/Oct/08 02:50 AM Spring's JNDI stuff doesn't have retry functionality, however. And we cannot use Spring in core because it has to work spring-less.
Hide
Permalink
Andrew Perepelytsya added a comment - 23/Oct/08 05:45 PM

On the other hand, I'm yet to be convinced about the benefit of such caching. Need those performance numbers from profiler, otherwise it's more troublesome than beneficial.

Show
Andrew Perepelytsya added a comment - 23/Oct/08 05:45 PM On the other hand, I'm yet to be convinced about the benefit of such caching. Need those performance numbers from profiler, otherwise it's more troublesome than beneficial.
Hide
Permalink
Ross Mason added a comment - 15/Nov/08 11:42 AM

I think caching would make a difference since depending on the JNDI directory we may be making a network hit for every message

Show
Ross Mason added a comment - 15/Nov/08 11:42 AM I think caching would make a difference since depending on the JNDI directory we may be making a network hit for every message
Hide
Permalink
Andrew Perepelytsya added a comment - 27/Jan/09 12:16 PM

Just FYI, when we did profile Mule for very intensive operations with WMQ at a customer, the LDAP destinations lookup hit was negligent, down to a point where it could be ignored.

Show
Andrew Perepelytsya added a comment - 27/Jan/09 12:16 PM Just FYI, when we did profile Mule for very intensive operations with WMQ at a customer, the LDAP destinations lookup hit was negligent, down to a point where it could be ignored.
Hide
Permalink
Angelo Bresci added a comment - 22/Apr/09 02:26 PM

That's very good to know. Can you provide specific statistics? What were the average times, and across how many samples?

Thanks!

Show
Angelo Bresci added a comment - 22/Apr/09 02:26 PM That's very good to know. Can you provide specific statistics? What were the average times, and across how many samples? Thanks!
Hide
Permalink
Andrew Perepelytsya added a comment - 27/Apr/09 10:16 AM

Don't remember exact numbers (after all, that's why it was negligent), but if e.g. the slowest operation was 150ms, the jndi lookup was like 4ms.

Show
Andrew Perepelytsya added a comment - 27/Apr/09 10:16 AM Don't remember exact numbers (after all, that's why it was negligent), but if e.g. the slowest operation was 150ms, the jndi lookup was like 4ms.

People

  • Assignee:
    Pablo Kraan
    Reporter:
    Dirk Olmes
Vote (0)
Watch (0)

Dates

  • Created:
    06/Oct/08 11:56 AM
    Updated:
    15/Aug/11 10:14 AM
    Resolved:
    15/Aug/11 10:14 AM

Time Tracking

Estimated:
1d
Original Estimate - 1 day
Remaining:
1d
Remaining Estimate - 1 day
Logged:
Not Specified
Time Spent - Not Specified

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.