java - shall I use Spring framework for a performance-critical proxy application? -
i've created servlet (tomcat) application has these functions:
- it performs http basic authentication. connects user , role database.
- it works "security facade" geodata servers behind
- it forwards requests after doing authorization tests
- in case response contains xml data, performs manipulation (changing urls, deleteting xml-elements or changing it's content). i'm using stax task.
- it logs information response database.
it's there need connecting user database , extend capabilities of authorization components.
the size of response data reaches form 10 kb 500 mb.
i'm new spring. shall introduce spring framework in application?
edit: perhaps, question better: there framework (spring example) causes minimal performance loss?
edit 2: community "programmers" better place question?
before re-writing code first thing should analyze why require spring framework? problem facing in current architecture?
just because size of response data stokes shouldn't reason re-write code. can better design existing code scale application.
on flipside primary upside of writing code in spring cut down boiler plate code instance don't have explicitly write code creating jdbc connection database every & rather use spring jdbc template. spring facilitates features convention on configuration require write less code.
also framework written keeping in mind performance optimization issues spring in reducing latency of app.
Comments
Post a Comment