infinispan-spring-boot | Infinispan Spring Boot starter | Model View Controller library

 by   infinispan Java Version: 2.2.3.Final License: Apache-2.0

kandi X-RAY | infinispan-spring-boot Summary

kandi X-RAY | infinispan-spring-boot Summary

infinispan-spring-boot is a Java library typically used in Architecture, Model View Controller, Spring Boot, Spring, Hibernate applications. infinispan-spring-boot has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

From Infinispan 12, the Infinispan Spring-Boot starter is shipped with
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              infinispan-spring-boot has a low active ecosystem.
              It has 58 star(s) with 43 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 49 have been closed. On average issues are closed in 67 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of infinispan-spring-boot is 2.2.3.Final

            kandi-Quality Quality

              infinispan-spring-boot has no bugs reported.

            kandi-Security Security

              infinispan-spring-boot has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              infinispan-spring-boot is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              infinispan-spring-boot releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed infinispan-spring-boot and discovered the below as its top functions. This is intended to give you an instant insight into infinispan-spring-boot implemented functionality, and help decide if they suit your requirements.
            • The default cache manager
            • Gets config xml
            • Gets the cluster name
            • Bind metrics
            • Creates the averages
            • Computes the memory usage
            • The remote cache manager bean
            • Gets the client properties
            • Binds metrics to the API
            • Sets the metrics
            • Checks if cache type is defined
            • The number of hits in the cache
            • Returns the eviction count
            • Exclude the remote cache manager mbean
            • Gets the miss count
            • Set the cluster properties
            • Returns the number of stores
            • Returns the number of elements in the cache
            • The eviction count
            • Returns the number of hits in the cache
            • The size of the cache
            • Gets the meter binder
            • Returns the size of this cache
            • Gets the configuration builder
            • Gets the meter binder for the given cache and tags
            • Sets the SASL properties
            Get all kandi verified functions for this library.

            infinispan-spring-boot Key Features

            No Key Features are available at this moment for infinispan-spring-boot.

            infinispan-spring-boot Examples and Code Snippets

            No Code Snippets are available at this moment for infinispan-spring-boot.

            Community Discussions

            Trending Discussions on infinispan-spring-boot

            QUESTION

            Recommended Infinispan cache mode for Spring Session
            Asked 2021-Feb-16 at 23:09

            My app uses Infinispan's Spring Session implementation via the Infinispan Spring Boot Starter. I am using the embedded mode via InfinispanEmbeddedHttpSessionConfiguration. The Spring Session integration documentation is pretty sparse, and it doesn't mention anything about the recommended cache mode for the session cache.

            I have been using the DIST_SYNC mode, but I notice occasional ConcurrentModificationException errors in the log. Is there a more appropriate cache mode, or could this be a bug?

            I am using Spring Boot 2.2.10, Infinispan 9.4.20 and Spring Session 2.2.0. The app runs under JDK 11.

            Edit

            The exception I observe in the logs is below. I've put xxx. in place of my company's package names for our filters.

            The exception occurs when the same session is reused in quick succession, in particular when our external security vendor runs weekly scans on our app. The exception does not occur every week. When it does occur, it leads to an eventual OutOfMemory error on the node that did not get the ConcurrentModificationException. The heap is full of TrianglePerCacheInboundInvocationHander$1 objects.

            I have tried to reproduce the error in our development environment by running concurrent requests for 3 days, but to no avail.

            I've looked at the Infinispan Spring Session code, and I see that each request gets its own instance of MapSession, materialised from the serialised data stored in Infinispan. I don't see how multiple concurrent requests for the same session could cause the ConcurrentModificationException, and I'm not aware of anywhere in my app that would allow concurrent access to a MapSession instance from multiple threads.

            ...

            ANSWER

            Answered 2021-Feb-16 at 09:59

            Using the DIST_SYNC mode for sessions should be fine.

            If a ConcurrentModificationException is thrown while serializing a session attribute, then it's a sign that the application is modifying an attribute value after inserting it in the session, and it should not do that.

            If a ConcurrentModificationException happens while serializing the session itself, then it's likely a bug in the Infinispan Spring Session integration. Same if the ConcurrentModificationException is not related to serialization at all. I suggest posting the full stack trace in your question, or registering an account for the Infinispan Zulip Chat and posting the exception there.

            As a final note, Infinispan 9.4.20 is pretty old, and an eventual bug fix is probably going to land only in Infinispan 12.x.

            Source https://stackoverflow.com/questions/66058151

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install infinispan-spring-boot

            You can download it from GitHub, Maven.
            You can use infinispan-spring-boot like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the infinispan-spring-boot component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            Code Examples and Tutorials:: +.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/infinispan/infinispan-spring-boot.git

          • CLI

            gh repo clone infinispan/infinispan-spring-boot

          • sshUrl

            git@github.com:infinispan/infinispan-spring-boot.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link