Performance comparaison betwen ff4j and togglz












0














We're working on a project , and we want to use some toggling feature tool like ff4j or togglz but we have a real constraints about performances, i mean we really need a tool with the less time of execution , i've checked a little bit ff4j and togglz but i don't know what is best for this solution, or may be if you know some other tools.



Context of project: its a netflix microservices architecture, so we have eureka,ribbon,zuul and microservices.



otherwise , if you have another solution , may be develop a sidecar please give me some ideas.



thank you in advance :)










share|improve this question



























    0














    We're working on a project , and we want to use some toggling feature tool like ff4j or togglz but we have a real constraints about performances, i mean we really need a tool with the less time of execution , i've checked a little bit ff4j and togglz but i don't know what is best for this solution, or may be if you know some other tools.



    Context of project: its a netflix microservices architecture, so we have eureka,ribbon,zuul and microservices.



    otherwise , if you have another solution , may be develop a sidecar please give me some ideas.



    thank you in advance :)










    share|improve this question

























      0












      0








      0







      We're working on a project , and we want to use some toggling feature tool like ff4j or togglz but we have a real constraints about performances, i mean we really need a tool with the less time of execution , i've checked a little bit ff4j and togglz but i don't know what is best for this solution, or may be if you know some other tools.



      Context of project: its a netflix microservices architecture, so we have eureka,ribbon,zuul and microservices.



      otherwise , if you have another solution , may be develop a sidecar please give me some ideas.



      thank you in advance :)










      share|improve this question













      We're working on a project , and we want to use some toggling feature tool like ff4j or togglz but we have a real constraints about performances, i mean we really need a tool with the less time of execution , i've checked a little bit ff4j and togglz but i don't know what is best for this solution, or may be if you know some other tools.



      Context of project: its a netflix microservices architecture, so we have eureka,ribbon,zuul and microservices.



      otherwise , if you have another solution , may be develop a sidecar please give me some ideas.



      thank you in advance :)







      performance toggle togglz ff4j






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 at 20:27









      user3851186

      12




      12
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Disclaimer : I created FF4j, as such I won't give you answer relative to performance comparison. I will provide architecture design principles.



          Microservices means distributed architecture so you will have to store the state of your features in a common persistence storage (DB).



          The cost of feature toggle framework won't be time to evaluate the feature state predicate (it is a simple condition) it will be the time to access the data from the persistence storage.



          FF4j provides support for both REDIS and CONSUL:




          • Redis seems a good candidate as very fast for put/get and distribute.

          • Consul is also a good idea in distributed microservice : it provides a key-value store.

          • Eureka may does the same, I don't know, ff4j does not have store for it yet.


          If you have to store your features in a slower DB such as SQL-Like then you might consider to use caching. FF4j provides some cacheProxy to handle such use cases.



          Other Considerations :




          • Put the administration console only in a backend application not on each microservices (security + performance overhead)

          • Feature Toggle can do more with Configuration Management and monitoring.


          You may want to have a look at this 15min talk exactly on that subject. LIVE DEMO starting at 7:10



          and related github repository for sample with Spring-Cloud






          share|improve this answer





















          • Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
            – user3851186
            Nov 25 at 17:29











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53437651%2fperformance-comparaison-betwen-ff4j-and-togglz%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Disclaimer : I created FF4j, as such I won't give you answer relative to performance comparison. I will provide architecture design principles.



          Microservices means distributed architecture so you will have to store the state of your features in a common persistence storage (DB).



          The cost of feature toggle framework won't be time to evaluate the feature state predicate (it is a simple condition) it will be the time to access the data from the persistence storage.



          FF4j provides support for both REDIS and CONSUL:




          • Redis seems a good candidate as very fast for put/get and distribute.

          • Consul is also a good idea in distributed microservice : it provides a key-value store.

          • Eureka may does the same, I don't know, ff4j does not have store for it yet.


          If you have to store your features in a slower DB such as SQL-Like then you might consider to use caching. FF4j provides some cacheProxy to handle such use cases.



          Other Considerations :




          • Put the administration console only in a backend application not on each microservices (security + performance overhead)

          • Feature Toggle can do more with Configuration Management and monitoring.


          You may want to have a look at this 15min talk exactly on that subject. LIVE DEMO starting at 7:10



          and related github repository for sample with Spring-Cloud






          share|improve this answer





















          • Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
            – user3851186
            Nov 25 at 17:29
















          0














          Disclaimer : I created FF4j, as such I won't give you answer relative to performance comparison. I will provide architecture design principles.



          Microservices means distributed architecture so you will have to store the state of your features in a common persistence storage (DB).



          The cost of feature toggle framework won't be time to evaluate the feature state predicate (it is a simple condition) it will be the time to access the data from the persistence storage.



          FF4j provides support for both REDIS and CONSUL:




          • Redis seems a good candidate as very fast for put/get and distribute.

          • Consul is also a good idea in distributed microservice : it provides a key-value store.

          • Eureka may does the same, I don't know, ff4j does not have store for it yet.


          If you have to store your features in a slower DB such as SQL-Like then you might consider to use caching. FF4j provides some cacheProxy to handle such use cases.



          Other Considerations :




          • Put the administration console only in a backend application not on each microservices (security + performance overhead)

          • Feature Toggle can do more with Configuration Management and monitoring.


          You may want to have a look at this 15min talk exactly on that subject. LIVE DEMO starting at 7:10



          and related github repository for sample with Spring-Cloud






          share|improve this answer





















          • Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
            – user3851186
            Nov 25 at 17:29














          0












          0








          0






          Disclaimer : I created FF4j, as such I won't give you answer relative to performance comparison. I will provide architecture design principles.



          Microservices means distributed architecture so you will have to store the state of your features in a common persistence storage (DB).



          The cost of feature toggle framework won't be time to evaluate the feature state predicate (it is a simple condition) it will be the time to access the data from the persistence storage.



          FF4j provides support for both REDIS and CONSUL:




          • Redis seems a good candidate as very fast for put/get and distribute.

          • Consul is also a good idea in distributed microservice : it provides a key-value store.

          • Eureka may does the same, I don't know, ff4j does not have store for it yet.


          If you have to store your features in a slower DB such as SQL-Like then you might consider to use caching. FF4j provides some cacheProxy to handle such use cases.



          Other Considerations :




          • Put the administration console only in a backend application not on each microservices (security + performance overhead)

          • Feature Toggle can do more with Configuration Management and monitoring.


          You may want to have a look at this 15min talk exactly on that subject. LIVE DEMO starting at 7:10



          and related github repository for sample with Spring-Cloud






          share|improve this answer












          Disclaimer : I created FF4j, as such I won't give you answer relative to performance comparison. I will provide architecture design principles.



          Microservices means distributed architecture so you will have to store the state of your features in a common persistence storage (DB).



          The cost of feature toggle framework won't be time to evaluate the feature state predicate (it is a simple condition) it will be the time to access the data from the persistence storage.



          FF4j provides support for both REDIS and CONSUL:




          • Redis seems a good candidate as very fast for put/get and distribute.

          • Consul is also a good idea in distributed microservice : it provides a key-value store.

          • Eureka may does the same, I don't know, ff4j does not have store for it yet.


          If you have to store your features in a slower DB such as SQL-Like then you might consider to use caching. FF4j provides some cacheProxy to handle such use cases.



          Other Considerations :




          • Put the administration console only in a backend application not on each microservices (security + performance overhead)

          • Feature Toggle can do more with Configuration Management and monitoring.


          You may want to have a look at this 15min talk exactly on that subject. LIVE DEMO starting at 7:10



          and related github repository for sample with Spring-Cloud







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 23 at 13:52









          clunven

          1064




          1064












          • Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
            – user3851186
            Nov 25 at 17:29


















          • Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
            – user3851186
            Nov 25 at 17:29
















          Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
          – user3851186
          Nov 25 at 17:29




          Thank you for your answer , but we're already working with caching service , the question is more related to the time that the request is taking to be created ( the tcp/ip request) , can't we do something about it ?
          – user3851186
          Nov 25 at 17:29


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53437651%2fperformance-comparaison-betwen-ff4j-and-togglz%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Contact image not getting when fetch all contact list from iPhone by CNContact

          count number of partitions of a set with n elements into k subsets

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks