Should a new schema be created for each request? #464
              
                
                  
                  
                    Answered
                  
                  by
                    oliemansm
                  
              
          
                  
                    
                      sitepark-veltrup
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I am using GraphQL servlets for the first time and have a question to understand. In this example is shown how to build a servlet. About  If I understand it correctly you can see here how for each request the schema and the configuration is recreated. Is this the recommended way? It feels like it is an unnecessary overhead to re-parse the schema for each request. Thanks in advance | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            oliemansm
          
      
      
        Aug 5, 2022 
      
    
    Replies: 1 comment 1 reply
-
| That's a very basic and simplified example. That's not necessarily the recommended way. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        sitepark-veltrup
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
That's a very basic and simplified example. That's not necessarily the recommended way.